Update mistral.py

This commit is contained in:
Daniel Han 2025-01-16 00:58:46 -08:00
commit 8ed010b4a5

View file

@ -305,6 +305,7 @@ class FastMistralModel(FastLlamaModel):
)
# Just for Mistral Nemo models!
if function is not None:
print(function)
function = patch_mistral_nemo_attention(function)
print(function)
# if True:#init_name is not None: