Update llama.py
This commit is contained in:
parent
cf0fae9a55
commit
e500b785f7
1 changed files with 4 additions and 3 deletions
|
|
@ -680,9 +680,10 @@ def LlamaModel_fast_forward_inference(
|
|||
decoder_layer.self_attn,
|
||||
hidden_states,
|
||||
past_key_values[idx],
|
||||
temp_QA,
|
||||
temp_KV,
|
||||
RH_Q,
|
||||
dp_prefill = False,
|
||||
temp_QA = temp_QA,
|
||||
temp_KV = temp_KV,
|
||||
RH_Q = RH_Q,
|
||||
)
|
||||
hidden_states += residual
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue