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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update llama.py
Daniel Han6719a6134b05
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex a337472a3e2..795281200af 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -384,6 +384,7 @@ def LlamaAttention_fast_forward(assert(n_kv_heads * n_groups == n_heads)Q, K, V = self.apply_qkv(self, hidden_states)+ print("#######", Q, self.q_proj.lora_B.default.weight)Q = Q.view(bsz, q_len, n_heads, head_dim).transpose(1, 2)K = K.view(bsz, q_len, n_kv_heads, head_dim).transpose(1, 2)V = V.view(bsz, q_len, n_kv_heads, head_dim).transpose(1, 2)