From 6c6fc9267482d2ea4268de46fcb9490a47f56047 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Sat, 28 Dec 2024 03:29:58 -0800 Subject: [PATCH] Update loader.py --- unsloth/models/loader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py index 6aa6830b8e..113c4fbc70 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, @@ -470,8 +470,8 @@ class FastVisionModel(FastBaseVisionModel): fuse_lm_head = True, gradient_checkpointing = True, manual_replacements = True, - fast_lora_forwards = True, - fast_residual_stream = True, + fast_lora_forwards = False, + fast_residual_stream = False, accurate_accumulation = True, epilogue_fusion = True, max_autotune = False,