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
llama vision inference fix (#3270)
DoubleMathewb969975ba50e
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex debf43c1a9a..cce6554d521 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -206,7 +206,7 @@ def unsloth_base_fast_generate(# Fix generation_config# Use hybrid if sliding window seen, otherwise try staticcache_implementation = getattr(self.config, "cache_implementation", None)- if getattr(self, "_supports_static_cache", True):+ if getattr(self, "_supports_static_cache", getattr(self, "_can_compile_fullgraph", True)):if os.environ.get("UNSLOTH_DISABLE_STATIC_GENERATION", "0") == "0":cache_implementation = "static"else: