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

Multi-node multi-gpu training #4

Open
gxglxy opened this issue Sep 4, 2023 · 1 comment
Open

Multi-node multi-gpu training #4

gxglxy opened this issue Sep 4, 2023 · 1 comment

Comments

@gxglxy
Copy link

gxglxy commented Sep 4, 2023

Could you provide instructions on how to run experiments under the multi-node multi-gpu setting without using the submitit? For example, I have 2 nodes, each of which contains 16 gpus. How should I modify the scripts you provide to reproduce the reported results?

Thanks!

@yilunliao
Copy link
Member

Hi @gxglxy

You can take a look at here: https://github.com/atomicarchitects/equiformer_v2/blob/main/oc20/trainer/dist_setup.py#L14-L89

This is the part where we set up distributed training.
If you use MPI to launch multi-node training, you can replace --submit with --summit in *.sh.

Depending on how you launch multi-node training, you might need to use this part or this part.
They differ in how they set up environment variables.
It might be hard for me to tell what is exactly the modification you need to have given the information you have.

Best

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