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 Hance1863d91f2b
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index 461feb3c7e2..d18dd4ce9fe 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -571,9 +571,6 @@ def LlamaModel_fast_forward(
if inputs_embeds is None:
inputs_embeds = self.embed_tokens(input_ids)
- # print(getattr(self.embed_tokens, "neftune_noise_alpha"))
- # print(getattr(self.embed_tokens, "_forward_hooks"))
- # print(getattr(self.embed_tokens, "_forward_pre_hooks"))
inputs_embeds = inputs_embeds.to(self.config.torch_dtype)
# Normalized from Gemma