Skip to content

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.

Update llama.py

Daniel Han07228828a0a6
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index 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 HF
kwargs["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)