Update llama.py
This commit is contained in:
parent
9878a74d89
commit
648fd043c9
1 changed files with 1 additions and 0 deletions
|
|
@ -1154,6 +1154,7 @@ def CausalLM_fast_forward(fast_forward_inference):
|
|||
output = (logits,) + outputs[1:]
|
||||
return (loss,) + output if loss is not None else output
|
||||
|
||||
print("========== dtype = ", logits.dtype)
|
||||
return CausalLMOutputWithPast(
|
||||
loss=loss,
|
||||
logits=logits,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue