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
Add Qwen 3.5 to FORCE_FLOAT32 (#4134)
Etherll65f212b9405f
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.pyindex 7bb2a24e004..b32c8303d89 100644--- a/unsloth/models/loader.py+++ b/unsloth/models/loader.py@@ -106,6 +106,7 @@ FORCE_FLOAT32 = ["gemma3text", # Gemma3TextModel (EmbeddingGemma, standalone text-only Gemma3)"gemma3n","gpt_oss",+ "qwen3_5", # Qwen3.5 RMSNorm uses (1+w) pattern like Gemma3, overflows float16]global DISABLE_COMPILE_MODEL_NAMESdiff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex 5aea4712631..28c624c213b 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -1054,6 +1054,7 @@ class FastBaseModel:do_forced_float32 = do_forced_float32,correct_dtype = correct_dtype,)+try:model, tokenizer = patch_tokenizer(model, tokenizer)except Exception as _patch_err: