From 7719207b6a6eeec8ea7dd9468b511b7ad88f0307 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 7 Jan 2025 00:34:46 -0800 Subject: [PATCH] Update llama.py --- unsloth/models/llama.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py index c5c245e0a2..0765e42892 100644 --- a/unsloth/models/llama.py +++ b/unsloth/models/llama.py @@ -624,7 +624,6 @@ def LlamaModel_fast_forward( else: raise TypeError("Unsloth: torch_dtype for models is not bfloat16, float16 or float32!") pass - print(inputs_embeds, inputs_embeds.dtype) # Normalized from Gemma IS_GEMMA = self.config.model_type.startswith("gemma") @@ -1011,7 +1010,6 @@ def CausalLM_fast_forward(fast_forward_inference): if not RETURN_LOGITS and HAS_CUT_CROSS_ENTROPY and labels is not None: - print(hidden_states, lm_head) n_items = kwargs.get("num_items_in_batch", None) or kwargs.get("n_items", None) loss = fused_linear_cross_entropy( hidden_states = hidden_states,