diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py index 0036a18c4b..7ddfef6b53 100644 --- a/unsloth/models/_utils.py +++ b/unsloth/models/_utils.py @@ -847,6 +847,7 @@ def patch_linear_scaling( rotary_emb = rotary_emb[0] function = function.replace(rotary_emb, fix_rope_function, 1) function = exec_code + "\n\n" + function + print(function) return init_name, function pass