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 Hanfad1ad9122c4
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index 0ab68a3e433..671734d28e2 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -146,6 +146,8 @@ def unsloth_base_fast_generate(
try: kwargs["pixel_values"] = kwargs["pixel_values"].to(dtype)
except: pass
+ print(args, kwargs)
+
# Mixed precision autocast
if os.environ.get("UNSLOTH_FORCE_FLOAT32", "0") == "1":
autocaster = torch.autocast(device_type = "cuda", dtype = dtype)