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 Han77e2c4a0d7f9
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index 82b9b670546..76edb3ff019 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -800,6 +800,7 @@ def patch_linear_scaling(
f"from {model_filepath} import logger, "\
f"{model_name.title()}Attention, {model_name.title()}Config"
+ print(exec_code)
try:
function = inspect.getsource(attention_module.__init__)
except: