Skip to content

Conversation

@awaelchli
Copy link
Contributor

@awaelchli awaelchli commented Feb 17, 2021

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

  • Was this discussed/approved via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

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:

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?

Make sure you had fun coding 🙃

@codecov
Copy link

codecov bot commented Feb 17, 2021

Codecov Report

Merging #6034 (3a401d7) into master (02ac4b0) will decrease coverage by 3%.
The diff coverage is 94%.

@@           Coverage Diff           @@
##           master   #6034    +/-   ##
=======================================
- Coverage      93%     91%    -3%     
=======================================
  Files         160     160            
  Lines       11403   11288   -115     
=======================================
- Hits        10652   10229   -423     
- Misses        751    1059   +308     

@Borda Borda mentioned this pull request Feb 17, 2021
11 tasks
Copy link
Member

@justusschock justusschock left a 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

Copy link
Contributor

@SeanNaren SeanNaren left a 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 :)

@mergify mergify bot removed the has conflicts label Feb 17, 2021
@awaelchli
Copy link
Contributor Author

@justusschock 👍 It is already there, from the accelerator refactor.

@Borda Borda added the ready PRs ready to be merged label Feb 17, 2021
@Borda Borda enabled auto-merge (squash) February 18, 2021 11:02
@Borda
Copy link
Collaborator

Borda commented Feb 18, 2021

@tchaton mind review?

# Conflicts:
#	tests/core/test_datamodules.py
#	tests/models/test_hooks.py
@mergify mergify bot removed the has conflicts label Feb 18, 2021
@mergify mergify bot removed the has conflicts label Feb 18, 2021
Copy link
Contributor

@tchaton tchaton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

@Borda Borda merged commit 6cc1a06 into master Feb 18, 2021
@Borda Borda deleted the refactor/accelerator-reference branch February 18, 2021 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready PRs ready to be merged refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants