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 llama.py
Daniel Han62791d8f9837
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex bae6d5b80df..2524ec13123 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1386,11 +1386,7 @@ def _wrap_fast_inference(generate, device_type, dtype, model):pass# For newer HF- if SUPPORTS_LLAMA32:- # kwargs["cache_implementation"] = "hybrid"- pass- else:- kwargs["cache_implementation"] = "dynamic"+ kwargs["cache_implementation"] = "dynamic"# For num_logits_to_keepkwargs["num_logits_to_keep"] = 1