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 vision.py

Daniel Hanf83f3f0efe3b
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index 0bae1ee10e6..a9e3573bef9 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -435,7 +435,7 @@ class FastBaseModel:
if do_forced_float32: torch_dtype = torch.bfloat16
raise_handler = RaiseUninitialized()
- print(kwargs)
+ print(kwargs, model_name)
model = auto_model.from_pretrained(
model_name,
device_map = device_map,
@@ -446,6 +446,7 @@ class FastBaseModel:
# attn_implementation = attn_implementation,
**kwargs,
)
+ print(model)
raise_handler.remove()
# Return old flag
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = old_hf_transfer