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 Handafdcbe88ced
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index 31a8802e21f..782c30fcf96 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -212,6 +212,7 @@ def unsloth_base_fast_generate(
PROMPT_LOOPKUP[arch] = False
kwargs.pop("prompt_lookup_num_tokens", None)
with torch.inference_mode(), autocaster:
+ print(args, kwargs)
output = self._old_generate(*args, **kwargs)
finally:
pass