Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update _utils.py

Daniel Hand806dcaf8d3d
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index ed575a8b4d7..82b9b670546 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