From a3d6b3a4bf0d06839479f6cbc28d3a42fa5136f3 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 30 Oct 2025 06:28:05 -0700 Subject: [PATCH] Update vision.py --- unsloth/models/vision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py index e897145acc..cb8909818d 100644 --- a/unsloth/models/vision.py +++ b/unsloth/models/vision.py @@ -525,7 +525,7 @@ class FastBaseModel: 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" + os.environ["UNSLOTH_BFLOAT16_MIXED_PRECISION"] = "1" else: print("Unsloth: Float16 full finetuning uses more memory since we upcast weights to float32.") else: