From 64ab019599e0d225501020df035fde7d8c64be69 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 13 Feb 2025 00:29:34 -0800 Subject: [PATCH] Update llama.py --- unsloth/models/llama.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py index 2d5e43ba64..0b567b023a 100644 --- a/unsloth/models/llama.py +++ b/unsloth/models/llama.py @@ -1189,7 +1189,7 @@ def PeftModelForCausalLM_fast_forward( num_logits_to_keep=0, **kwargs, ): - a = self.base_model( + return self.base_model( input_ids=input_ids, causal_mask=causal_mask, attention_mask=attention_mask, @@ -1201,7 +1201,6 @@ def PeftModelForCausalLM_fast_forward( num_logits_to_keep=num_logits_to_keep, **kwargs, ) - print(a) pass