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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Fix typo
Daniel Han37365b6ba94f
diff --git a/unsloth/models/mistral.py b/unsloth/models/mistral.pyindex 7eb651cd337..9a91a8fc1f3 100644--- a/unsloth/models/mistral.py+++ b/unsloth/models/mistral.py@@ -165,7 +165,7 @@ def MistralForCausalLM_fast_forward(else:# Fix from https://github.com/Rypocausal_mask = xformers.attn_bias.BlockDiagonalCausalMask\- .from_seqlens([qlen]*bsz)\+ .from_seqlens([q_len]*bsz)\.make_local_attention(window_size = sliding_window)pass