-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Remove deprecated property is_slurm_managing_tasks
from accelerator connector
#10353
Remove deprecated property is_slurm_managing_tasks
from accelerator connector
#10353
Conversation
Question for the maintainers: 🧐🧐🧐 Should I remove the following as well ?? |
_slurm_managing_tasks
from accelerator connectoris_slurm_managing_tasks
from accelerator connector
Just to clarify @awaelchli, I should remove the tests as well right ?? AFAIK they're the reason for the failing tests. |
for more information, see https://pre-commit.ci
Yes @SauravMaheshkar |
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.
Great!
Would you like to do a next PR for the method configure_slurm_ddp
?
Thanks for the clarification, more than happy to take |
Taking up |
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.
LGTM !
… connector (Lightning-AI#10353) * Remove deprecated property _slurm_managing_tasks from accelerator connector * Update CHANGELOG * Update Changelog * Removed is_slurm_managing_tasks from AcceleratorConnector * resolve merge conflict * add back accidentally removed lines * remove test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: Adrian Wälchli <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
is_slurm_managing_tasks was removed from AcceleratorConnector in Lightning 1.6.0, Lightning-AI/pytorch-lightning#10353; checking if `SLURM_STEP_NUM_TASKS` matches trainer.world_size instead. Signed-off-by: Iztok Lebar Bajec <[email protected]>
What does this PR do?
Fixes a part of #10312
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Yesss !! ☕️