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 Hanaca62cfa0122
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index acf999faffc..0ab68a3e433 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -126,8 +126,8 @@ def unsloth_base_fast_generate(
pass
pass
key = NUM_LOGITS_TO_KEEP[arch]
- if key is not None and key not in kwargs:
- kwargs[key] = 1
+ # if key is not None and key not in kwargs:
+ # kwargs[key] = 1
global PROMPT_LOOPKUP
if arch not in PROMPT_LOOPKUP:
PROMPT_LOOPKUP[arch] = True