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