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 Han07228828a0a6
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex ca4e651598d..32610bbfda5 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1068,6 +1068,8 @@ def _wrap_fast_inference(generate, device_type, dtype, model):# For newer HFkwargs["cache_implementation"] = "dynamic"+ print(kwargs)+# Set pad token# old_pad_token_id = getattr(model.config, "pad_token_id", None)# old_eos_token_id = getattr(model.config, "eos_token_id", None)