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.

prints

Daniel Han9d8bb08270d7
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index ac9c9a98ca6..eed61b30c00 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -1142,12 +1142,14 @@ def unsloth_compile_transformers(
pass
if disable: return
+ print(1)
model_types = get_transformers_model_type(
model_name = model_name,
token = token,
revision = revision,
trust_remote_code = trust_remote_code,
)
+ print(model_types)
for model_type in model_types:
_unsloth_compile_transformers(
model_type,
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index b33c1e19db9..9d9ac31b6e1 100644
--- a/unsloth/models/loader.py
+++ b/unsloth/models/loader.py
@@ -358,7 +358,9 @@ class FastVisionModel(FastBaseVisionModel):
patch_unsloth_smart_gradient_checkpointing()
old_model_name = model_name
+ print(model_name)
model_name = get_model_name(model_name, load_in_4bit)
+ print(model_name)
with contextlib.redirect_stdout(open(os.devnull, "w")):
patch_loss_functions(torch_compile = False)