Update llama.py
This commit is contained in:
parent
8270821269
commit
9225dd6708
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ def fast_mlp_inference(self, X):
|
|||
gate = torch.nn.functional.silu(gate, inplace = True)
|
||||
gate *= up
|
||||
|
||||
X = self.down_proj(gate)
|
||||
down = self.down_proj(gate)
|
||||
# down = fast_linear_forward(self.down_proj, gate)#, out = up[:,:,:hd])
|
||||
return down
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue