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 Han013a2ed95b10
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index 48d1f7ec6e2..a31a4856760 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -1372,6 +1372,8 @@ def _wrap_fast_inference(generate, device_type, dtype, model):
# Wraps inference with bfloat16 / float16
@torch.inference_mode
def _fast_generate(*args, **kwargs):
+ print(args)
+ print(kwargs)
# Set a flag for generation!
internal_model = model