mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-11 07:44:35 +00:00
Merge pull request #778 from Conless/fix-shape
[Fix] Shape error in KLinearMarlin
This commit is contained in:
commit
f46b3fd51c
1 changed files with 0 additions and 1 deletions
|
@ -347,7 +347,6 @@ class KLinearMarlin(KLinearBase):
|
|||
orig_shape[-1] = self.out_features
|
||||
if self.has_bias:
|
||||
x = x + self.bias
|
||||
orig_shape[-1] = self.n
|
||||
return x.reshape(orig_shape).to(orig_dtype)
|
||||
|
||||
def unload(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue