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 vision.py
Daniel Han4d89527df6dc
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex b9cc01e5306..501ae227e0d 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -423,6 +423,10 @@ class FastBaseModel:os.environ["UNSLOTH_ENABLE_FULL_FINETUNING"] = "0"pass+ # Fix AttributeError: 'BitsAndBytesConfig' object has no attribute 'get_loading_attributes'+ if not hasattr(bnb_config, "get_loading_attributes"):+ bnb_config.get_loading_attributes = lambda *args, **kwargs: {}+# Cannot be None, since HF now checks for the configif load_in_4bit: kwargs["quantization_config"] = bnb_config