-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Backend unit tests #4856
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
Backend unit tests #4856
Conversation
…tom wrapper logic to live within the plugin/accelerators
# Conflicts: # pytorch_lightning/trainer/connectors/precision_connector.py # pytorch_lightning/utilities/__init__.py
# Conflicts: # pytorch_lightning/utilities/__init__.py # requirements/extra.txt
Borda
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
Co-authored-by: Jirka Borovec <[email protected]>
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 !
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.
the addition of the plugins LGTM, nice work @SeanNaren ! (I only looked at the code, don't have much time to test it on my machine sorry)
The only concern I have is about the testing, which adds 3mins (11 mins on master vs. 14 mins here) and I am not sure if the addition of the sharded feature justifies this overhead. Are my observations correct?
Not sure how feasible this is here, but I would suggest to target more granular unit testing that does not involve a full expensive training loop.
What does this PR do?
Fixes # (issue)
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 🙃