Update llama.py

This commit is contained in:
Daniel Han 2025-02-12 20:29:10 -08:00
commit f8f241e2b8

View file

@ -706,7 +706,6 @@ def LlamaModel_fast_forward(
pass
# Ignore attention_mask
print(attention_mask, attention_mask.shape, attention_mask.dtype)
if attention_mask is None:
padding_mask = None
elif attention_mask is None and self.training: