-
Notifications
You must be signed in to change notification settings - Fork 3.6k
rename accelerator_backend -> accelerator #6034
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6034 +/- ##
=======================================
- Coverage 93% 91% -3%
=======================================
Files 160 160
Lines 11403 11288 -115
=======================================
- Hits 10652 10229 -423
- Misses 751 1059 +308 |
justusschock
left a comment
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.
Like it. Please just add the property for backwards compatibility
SeanNaren
left a comment
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.
I love this, was one of my first confusions when dealing with lightning :)
|
@justusschock 👍 It is already there, from the accelerator refactor. |
|
@tchaton mind review? |
# Conflicts: # tests/core/test_datamodules.py # tests/models/test_hooks.py
tchaton
left a comment
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 !
What does this PR do?
Follow up to #5743
Shorter, cleaner. There is no confusion that we are using the accelerator.
It's backward compatible, we have a property that redirects accelerator_backend to accelerator :)
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
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 🙃