Update llama.py
This commit is contained in:
parent
7719207b6a
commit
904ec69799
1 changed files with 2 additions and 0 deletions
|
|
@ -866,7 +866,9 @@ def LlamaModel_fast_forward(
|
|||
elif IS_COHERE:
|
||||
hidden_states = self.norm(hidden_states)
|
||||
else:
|
||||
print(0, hidden_states.dtype)
|
||||
hidden_states = fast_rms_layernorm(self.norm, hidden_states, gemma = IS_GEMMA)
|
||||
print(1, hidden_states.dtype)
|
||||
pass
|
||||
|
||||
if output_hidden_states: all_hidden_states += (hidden_states,)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue