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 Han8d910ecba9ce
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index c1874499025..48d1f7ec6e2 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -1409,6 +1409,8 @@ def _wrap_fast_inference(generate, device_type, dtype, model):
# Autocasted
with torch.autocast(device_type = device_type, dtype = dtype):
+ print(args)
+ print(kwargs)
output = generate(*args, **kwargs)
pass