-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Remove deprecated trainer flag Trainer.distributed_backend
in favor of Trainer.accelerator
#9246
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 trainer flag Trainer.distributed_backend
in favor of Trainer.accelerator
#9246
Conversation
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 ! @Tshimanga You are missing some and you have failing tests due to this :)
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 @Tshimanga! But Failing tests. Also, at the moment accelerator
flag supports Accelerators as well as Training Type plugins. We wish to decouple it, we would be taking a step back with the changes in this PR.
To read more about it, you could refer to #9053
@tchaton @kaushikb11 Reading over the conversation in #9053 it sounds like there's a lack of consensus for a pretty impactful redesign of accelerators and training type plugins. I can resolve the failures in this PR, but it feels like the refactor should come first to do this right. I think the deprecation of Thoughts? |
Hey @Tshimanga, Yes, we are still debating and the proposal from #9053 is definitely a big BC. If you have any suggestion, feel free to add to the conversation. But let's pause this depreciation until resolution. Thanks for your hard work ! Best, |
@tchaton should I move the deprecation test to 1.6 in the meantime? |
Hey @Tshimanga, We still have a bit of time, let's see if we consensus is reached :) Still 4-5 weeks left before 1.5. Best, |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you need further help see our docs: https://pytorch-lightning.readthedocs.io/en/latest/generated/CONTRIBUTING.html#pull-request or ask the assistance of a core contributor here or on Slack. Thank you for your contributions. |
This pull request is going to be closed. Please feel free to reopen it create a new from the actual master. |
…StatsMonitor` (Lightning-AI#9924) Co-authored-by: Carlos Mocholí <[email protected]> Co-authored-by: Nicki Skafte Detlefsen <[email protected]> Co-authored-by: Rohit Gupta <[email protected]>
Co-authored-by: tchaton <[email protected]>
Co-authored-by: Adrian Wälchli <[email protected]> Co-authored-by: thomas chaton <[email protected]>
… `DeviceStatsMonitor` callback (Lightning-AI#9921) Co-authored-by: Kaushik B <[email protected]> Co-authored-by: Rohit Gupta <[email protected]>
Co-authored-by: tchaton <[email protected]>
…rategies (Lightning-AI#9931) Co-authored-by: Carlos Mocholí <[email protected]>
…AI#9963) Co-authored-by: ronif <[email protected]> Co-authored-by: Adrian Wälchli <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Carlos Mocholí <[email protected]> Co-authored-by: thomas chaton <[email protected]> Co-authored-by: edenlightning <[email protected]>
Co-authored-by: thomas chaton <[email protected]>
* fix * update tests * chlog * skip windows
Co-authored-by: Carlos Mocholí <[email protected]>
I somewhere messed up the with git here.. closing this one .. will open another |
What does this PR do?
Removes deprecated
Trainer.distributed_backend
flag as scheduled for 1.5Before 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?
Make sure you had fun coding 🙃