Update llama.py
This commit is contained in:
parent
c16e95decd
commit
7b35c195c0
1 changed files with 3 additions and 0 deletions
|
|
@ -571,6 +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"))
|
||||
inputs_embeds = inputs_embeds.to(self.config.torch_dtype)
|
||||
|
||||
# Normalized from Gemma
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue