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
Update loader.py
Daniel Han6f0f05518b3c
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.pyindex e17fb58a468..5f92999f447 100644--- a/unsloth/models/loader.py+++ b/unsloth/models/loader.py@@ -202,7 +202,8 @@ class FastLanguageModel(FastLlamaModel):pass# Check if 4bit is allowed specifically for AMDif not ALLOW_BITSANDBYTES and not use_exact_model_name:- print("Unsloth: AMD currently is not stable with 4bit bitsandbytes. Disabling for now.")+ if load_in_4bit or load_in_8bit or model_name.lower().endswith("-bnb-4bit"):+ print("Unsloth: AMD currently is not stable with 4bit bitsandbytes. Disabling for now.")load_in_4bit = Falseold_model_name = model_name@@ -650,7 +651,8 @@ class FastModel(FastBaseModel):)# Check if 4bit is allowed specifically for AMDif not ALLOW_BITSANDBYTES and not use_exact_model_name:- print("Unsloth: AMD currently is not stable with 4bit bitsandbytes. Disabling for now.")+ if load_in_4bit or load_in_8bit or model_name.lower().endswith("-bnb-4bit"):+ print("Unsloth: AMD currently is not stable with 4bit bitsandbytes. Disabling for now.")load_in_4bit = Falseold_model_name = model_name