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 Han64136e6336c6
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex 4947bae64c0..e897145acc9 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -519,13 +519,13 @@ class FastBaseModel:f"Unsloth: Using bfloat16 full finetuning which cuts memory usage by 50%.\n"f"To enable float32 training, use `float32_mixed_precision = True` during FastLanguageModel.from_pretrained")- os.environ["UNSLOTH_BFLOAT16_MIXED_PRECISION"] = "1"else:print(f"Unsloth: Using full float32 full finetuning.\n"f"To enable bfloat16 training to reduce VRAM usage by 50% albeit with a slightly higher loss, "\"use `float32_mixed_precision = False` during FastLanguageModel.from_pretrained")+ os.environ["UNSLOTH_BFLOAT16_MIXED_PRECISION"] = "1"else:print("Unsloth: Float16 full finetuning uses more memory since we upcast weights to float32.")else: