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 Han18489d1c9910
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex f0085b0f69a..4af4a4fdf0d 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -212,8 +212,7 @@ def unsloth_base_fast_generate(kwargs["generation_config"].compile_config = _compile_config if cache_implementation is not None else Noneelse:kwargs["cache_implementation"] = cache_implementation- if cache_implementation:- kwargs["compile_config"] = _compile_config+ if cache_implementation is not None: kwargs["compile_config"] = _compile_configpasstry: