Fix issue with chroma when not quantizing
This commit is contained in:
1 parent
d51297bcf9
commit
b7f85928f3
1 file changed
+1
@@ -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