From 6ef73397f2c7ba1e5e128f26ff64b5d6b5c1a7a2 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 30 Oct 2025 05:38:16 -0700 Subject: [PATCH] Update vision.py --- unsloth/models/vision.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py index dfcb9964fe..eb284a4a83 100644 --- a/unsloth/models/vision.py +++ b/unsloth/models/vision.py @@ -948,6 +948,7 @@ class FastBaseModel: if type(float32_mixed_precision) is bool: # Respect whatever it was set before + pass else: float32_mixed_precision = True if _get_dtype(dtype_from_config(model.config)) == torch.bfloat16 and full_finetuning: