From 4eca9215a2a15d04cfc3a0dfaa825eed171a3a2f Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 23 Jul 2024 10:54:54 -0700 Subject: [PATCH] Update _utils.py --- unsloth/models/_utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py index 2b8410032f..b021e89e9d 100644 --- a/unsloth/models/_utils.py +++ b/unsloth/models/_utils.py @@ -863,11 +863,9 @@ def patch_llama_rope_scaling( "self.rotary_emb = .+?\)", function, flags = re.DOTALL | re.MULTILINE, ) - print(rotary_emb) if len(rotary_emb) == 0: return None, function rotary_emb = rotary_emb[0] function = function.replace(rotary_emb, fix_rope_function, 1) - print(function) function = exec_code + "\n\n" + function return init_name, function pass