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 Hanf5d65f65709d
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index 475b234e173..401b8986a8c 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -936,6 +936,7 @@ def LlamaModel_fast_forward_inference(
next_decoder_cache = []
residual = torch.empty_like(X)
+ print(bsz, q_len, hd)
_XX = torch.empty((2, bsz, q_len, hd), dtype = torch.float32)
XX, XX2 = _XX[0], _XX[1]
variance = torch.empty((bsz, q_len, 1), dtype = torch.float32, device = "cuda:0")