Update llama.py
This commit is contained in:
parent
469ed48cf4
commit
bc87afde41
1 changed files with 0 additions and 1 deletions
|
|
@ -857,7 +857,6 @@ def LlamaModel_fast_forward(
|
|||
return module(*inputs, past_key_value, output_attentions, padding_mask = padding_mask, position_embeddings = position_embeddings)
|
||||
return custom_forward
|
||||
pass
|
||||
|
||||
layer_outputs = torch.utils.checkpoint.checkpoint(
|
||||
create_custom_forward(decoder_layer),
|
||||
hidden_states,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue