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 Han4ce55e62012f
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index d20e2b4b75f..7557a961201 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -1575,6 +1575,7 @@ def unsloth_fast_generate(
kwargs["pad_token_id"] = kwargs.pop("pad_token_id", model_eos_token_id)
# Mixed precision autocast
+ print(args, kwargs)
with torch.inference_mode(), torch.autocast(device_type = "cuda", dtype = dtype):
output = self._old_generate(*args, **kwargs)
pass