Update llama.py

This commit is contained in:
Daniel Han 2025-01-07 00:34:09 -08:00
commit fcda5ce87f

View file

@ -624,6 +624,7 @@ 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")