Remove deprecated trainer flag Trainer.distributed_backend in favor of Trainer.accelerator#9246
Conversation
There was a problem hiding this comment.
LGTM ! @Tshimanga You are missing some and you have failing tests due to this :)
There was a problem hiding this comment.
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í <carlossmocholi@gmail.com> Co-authored-by: Nicki Skafte Detlefsen <skaftenicki@gmail.com> Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: tchaton <thomas@grid.ai>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com> Co-authored-by: thomas chaton <thomas@grid.ai>
… `DeviceStatsMonitor` callback (Lightning-AI#9921) Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com> Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: tchaton <thomas@grid.ai>
…rategies (Lightning-AI#9931) Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
…AI#9963) Co-authored-by: ronif <ronif@users.noreply.github.com> Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com> Co-authored-by: thomas chaton <thomas@grid.ai> Co-authored-by: edenlightning <66261195+edenlightning@users.noreply.github.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
* fix * update tests * chlog * skip windows
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
|
I somewhere messed up the with git here.. closing this one .. will open another |
What does this PR do?
Removes deprecated
Trainer.distributed_backendflag 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 🙃