Skip to content
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

tutel is slower than the naive p2p using 2DH for small scale #214

Open
DongyuXu77 opened this issue Aug 27, 2023 · 3 comments
Open

tutel is slower than the naive p2p using 2DH for small scale #214

DongyuXu77 opened this issue Aug 27, 2023 · 3 comments

Comments

@DongyuXu77
Copy link

Hello, and thank you for providing this excellent codebase. I have a question regarding our experiment, where we observed that the 2DH inter-node communication is slower compared to the naive peer-to-peer approach, despite both methods transmitting the same amount of data. This observation contradicts our initial intuition, and I'm curious about the potential reasons behind it?

@ghostplant
Copy link
Contributor

Did you run with large numbers of GPUs? In our experiment, 2DH gradually becomes faster than Linear A2A when the number of distributed A100s are at least over 256. Otherwise, 2DH is slower than Linear A2A in smaller scale.

@DongyuXu77
Copy link
Author

Oh, that's may be the reason. In our experiment, the number of experts is 32 , which is less that 256

@ghostplant
Copy link
Contributor

ghostplant commented Aug 30, 2023

Yes, 2DH is faster to serve large scales only.

@ghostplant ghostplant changed the title tutel is slower than the naive p2p tutel is slower than the naive p2p using 2DH for small scale Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants