From 0747078bf7685577a583b78bac103b5aaa954ddc Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 21 Nov 2024 02:20:47 -0800 Subject: [PATCH] Update vision.py --- unsloth/models/vision.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py index 1cfbb29bb3..57a2153a34 100644 --- a/unsloth/models/vision.py +++ b/unsloth/models/vision.py @@ -78,8 +78,7 @@ class FastBaseVisionModel: # Return old flag os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = old_hf_transfer os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1" - - model_patcher.pre_patch() + get_statistics() # For debugging - we use a download counter to see if environments are not breaking if dtype is None: