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
Hi, I am trying to use the model parallelism feature but I found the documentation is really unclear. /doc/parallelism/README.md say that the code is in the adapter, then where exactly is the code? Or could you please answer my problem below?
Thank you very much!
For example, when the world_size and global expert num are both 8, the basic expert parallelism method is like:
fastermoe = FMoETransformerMLP(num_expert=1,
d_model=config.hidden_size,
d_hidden=config.ffn_hidden_size,
world_size=8,
top_k=2)
y = fastermoe(x)
Now I want to change it to TP=8, which means each expert is split to 8 slices. What is the easiest way to realize it? I just want to do forwarding. What about TP=4?
The text was updated successfully, but these errors were encountered:
Hi, I am trying to use the model parallelism feature but I found the documentation is really unclear. /doc/parallelism/README.md say that the code is in the adapter, then where exactly is the code? Or could you please answer my problem below?
Thank you very much!
For example, when the world_size and global expert num are both 8, the basic expert parallelism method is like:
Now I want to change it to TP=8, which means each expert is split to 8 slices. What is the easiest way to realize it? I just want to do forwarding. What about TP=4?
The text was updated successfully, but these errors were encountered: