-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE] Ranran hide a2a #1029
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does X, E and M stands for here?
Could you point me to the specific line? X/E should be expert, and M should be model dimension. |
Sure, I'm looking at jnp.einsum("BXM,XEM -> BXE") from hide_ff2_a2a.py |
I think this is one example for @gobbleturk's test? X seems sequence here, M is model dimension, E is MLP dimension |
This script is testing the second a2a at the end of the feed forward layer where we move from activations sharded on the expert dimension to activations sharded on the batch dimension
|
No description provided.