Update llama.py
This commit is contained in:
parent
ac99a47a45
commit
fe2bc30987
1 changed files with 1 additions and 0 deletions
|
|
@ -306,6 +306,7 @@ def LlamaDecoderLayer_fast_forward(
|
|||
bsz, q_len, hd = hidden_states.size()
|
||||
|
||||
if (past_key_value is not None and q_len == 1):
|
||||
print(1)
|
||||
# Self Attention
|
||||
residual = hidden_states
|
||||
hidden_states = fast_rms_layernorm_inference(self.input_layernorm, hidden_states)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue