mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-06 12:40:02 +00:00
fix: wrong shape in KLinearMarlin.
This commit is contained in:
parent
4e43e8a4ee
commit
01755a60c0
1 changed files with 0 additions and 1 deletions
|
@ -347,7 +347,6 @@ class KLinearMarlin(KLinearBase):
|
||||||
orig_shape[-1] = self.out_features
|
orig_shape[-1] = self.out_features
|
||||||
if self.has_bias:
|
if self.has_bias:
|
||||||
x = x + self.bias
|
x = x + self.bias
|
||||||
orig_shape[-1] = self.n
|
|
||||||
return x.reshape(orig_shape).to(orig_dtype)
|
return x.reshape(orig_shape).to(orig_dtype)
|
||||||
|
|
||||||
def unload(self):
|
def unload(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue