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
falcon force float32 on sm<75 machines (#3026)
DoubleMathewf2ef5bd16b1f
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.pyindex 953991d41d7..8b8ec1b1a0d 100644--- a/unsloth/models/loader.py+++ b/unsloth/models/loader.py@@ -584,6 +584,11 @@ class FastModel(FastBaseModel):if transformers_version < Version("4.53.0"):raise RuntimeError("Unsloth: Gemma 3N only works on transformers >= 4.53.0" + LATEST)+ elif "falcon-h1" in lowered_model_name:+ os.environ["UNSLOTH_FORCE_CUSTOM_DTYPE"] = \+ "float16;torch.float32;torch.float16;"\+ "if name.endswith(('q_proj', 'k_proj', 'v_proj', 'o_proj', 'gate_proj', 'up_proj', 'down_proj', 'head')): module.to(torch.float16);"+ os.environ["TRITON_F32_DEFAULT"] = "ieee"else:for check_model_name in DISABLE_COMPILE_MODEL_NAMES:if check_model_name in lowered_model_name: