Skip to content

Commit 9abf28f

Browse files
committed
Update vision.py
1 parent f718fc4 commit 9abf28f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unsloth/models/vision.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,7 @@ def post_patch_model(
948948

949949
if type(float32_mixed_precision) is bool:
950950
# Respect whatever it was set before
951+
pass
951952
else:
952953
float32_mixed_precision = True
953954
if _get_dtype(dtype_from_config(model.config)) == torch.bfloat16 and full_finetuning:

0 commit comments

Comments
 (0)