From 8cbfdd5aaca1fc5d54e5f959e24894422d03c62d Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 16 Jan 2025 01:10:40 -0800 Subject: [PATCH] Update _utils.py --- unsloth/models/_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py index ed575a8b4d..82b9b67054 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("###########") print(exec_code) return init_name, function pass