Update llama.py
This commit is contained in:
parent
1505235f0f
commit
c669175796
1 changed files with 1 additions and 0 deletions
|
|
@ -725,6 +725,7 @@ def LlamaModel_fast_forward(
|
|||
past_key_values_length,
|
||||
sliding_window = getattr(self.config, "sliding_window", None),
|
||||
)
|
||||
# Must NOT convert to bool - weirdly this causes stuff to error out!
|
||||
# if attention_mask is not None:
|
||||
# attention_mask = attention_mask.to(torch.bool)
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue