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 Hand996955627c3
diff --git a/unsloth/models/mistral.py b/unsloth/models/mistral.py
index 9a97015f9b9..e52ac2cbf0f 100644
--- a/unsloth/models/mistral.py
+++ b/unsloth/models/mistral.py
@@ -306,6 +306,7 @@ class FastMistralModel(FastLlamaModel):
# Just for Mistral Nemo models!
if function is not None:
function = patch_mistral_nemo_attention(function)
+ print(function)
# if True:#init_name is not None:
exec(function, globals())
MistralAttention.__init__ = eval(init_name)