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: