From 6dfcebb3ef66b2dfd4043a10448c7933c065ff07 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 26 Dec 2024 01:23:02 -0800 Subject: [PATCH] Update loader.py --- unsloth/models/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py index 993f50455c..d1aae95a52 100644 --- a/unsloth/models/loader.py +++ b/unsloth/models/loader.py @@ -454,7 +454,7 @@ class FastVisionModel(FastBaseVisionModel): if not was_disabled: enable_progress_bars() - if True: # with contextlib.redirect_stdout(open(os.devnull, "w")): + with contextlib.redirect_stdout(open(os.devnull, "w")): patch_loss_functions(torch_compile = False) model_types = unsloth_compile_transformers( model_name = model_name,