You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to calculate the acceptance length and acceptance rate. So, I ran evaluation/gen_ea_alpha_llama2chat.py. However, an error occurred in the forward process of model/ea_model.py. Currently, the returned variables are outputs, orig, and hidden_states, but utils_alpha.py's initialize_tree requires 5 variables: tree_logits, output, logits, hidden_state, and sample_token. Is that part still not fully implemented? Then, how can I obtain tree_logits?
The text was updated successfully, but these errors were encountered:
I encountered the same issue here. Specifically, there are two points of confusion for me:
1.As YunSeoHwan mentioned, the function “initialize_tree” in utils_alpha.py returns 5 arguments, whereas the “forward” function in ea_model.py outputs only 3 arguments.
2.I noticed that the authors removed the “logits_processor” argument from the “forward” function in ea_model.py in the EAGLE-2 version, compared to the code branch of EAGLE-1. Could the authors please explain why this argument was deleted? I see that “logits_processor” is still being passed into the function call in evaluation/gen_ea_alpha_vicuna.py.
Hi, thanks for your great work!
I am trying to calculate the acceptance length and acceptance rate. So, I ran
evaluation/gen_ea_alpha_llama2chat.py
. However, an error occurred in the forward process of model/ea_model.py. Currently, the returned variables are outputs, orig, and hidden_states, but utils_alpha.py's initialize_tree requires 5 variables: tree_logits, output, logits, hidden_state, and sample_token. Is that part still not fully implemented? Then, how can I obtain tree_logits?The text was updated successfully, but these errors were encountered: