Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update mistral.py

Daniel Han6b5bfa5147be
diff --git a/unsloth/models/mistral.py b/unsloth/models/mistral.py
index e52ac2cbf0f..4edc3b7990b 100644
--- a/unsloth/models/mistral.py
+++ b/unsloth/models/mistral.py
@@ -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: