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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update vision.py
Daniel Hanf125d6f9ef76
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex ac4c6287e81..31733c2976b 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -120,9 +120,8 @@ def unsloth_base_fast_generate(passpasskey = NUM_LOGITS_TO_KEEP[arch]- if key is not None:- if key not in kwargs:- kwargs[key] = 1+ if key is not None and key not in kwargs:+ kwargs[key] = 1else:pass# kwargs.pop("logits_to_keep", None)