mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-01-26 16:39:47 +00:00
Fix issue with chroma when not quantizing
This commit is contained in:
@@ -403,6 +403,7 @@ class Approximator(nn.Module):
|
||||
return next(self.parameters()).device
|
||||
|
||||
def forward(self, x: Tensor) -> Tensor:
|
||||
x = x.to(self.in_proj.weight.dtype)
|
||||
x = self.in_proj(x)
|
||||
|
||||
for layer, norms in zip(self.layers, self.norms):
|
||||
|
||||
Reference in New Issue
Block a user