-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat: Add no_ssh and slurm multinode launcher options for deepspeed #3329
base: main
Are you sure you want to change the base?
Conversation
bbd4d7f
to
5f76bba
Compare
5f76bba
to
44721ac
Compare
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.
Thanks for the addition! Makes sense, but let's make sure to update all of the documentation around that param :) (including CLI hints + in the docs)
…nsure that deepspeed 0.14.5 version is used for nossh
I couldn't actually see any documentation referring specifically to this parameter, so I have added a small section to the DeepSpeed docs. I also took the opportunity to add slurm to the list of constants for multinode launchers, which should work as it uses the same parameters (https://github.com/microsoft/DeepSpeed/blob/master/deepspeed/launcher/multinode_runner.py#L338). |
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.
That's exactly where I was hoping you'd update 🤗 Nice work!
As far as I can see that is a GitHub actions error not an issue with my PR. |
What does this PR do?
Allows the use of the no_ssh option in DeepSpeed (https://www.deepspeed.ai/getting-started/#launching-without-passwordless-ssh) which is helpful in restricted network environments / HPC clusters to use srun/mpirun instead of setting up passwordless SSH.
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@muellerzr