Update llama.py
This commit is contained in:
parent
6e5ad15cd7
commit
7139e57b72
1 changed files with 3 additions and 3 deletions
|
|
@ -571,9 +571,9 @@ 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"))
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue