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 Hanf095c5d51d3b
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex d7467d820b7..e0435d1ea0c 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -118,6 +118,7 @@ def unsloth_base_fast_generate(key = NUM_LOGITS_TO_KEEP[arch]if key is not None and key not in kwargs:kwargs[key] = 1+ global PROMPT_LOOPKUPif arch not in PROMPT_LOOPKUP:PROMPT_LOOPKUP[arch] = Trueif PROMPT_LOOPKUP[arch]: