-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add accelerator method teardown()
#11935
Add accelerator method teardown()
#11935
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.
Please also add a unit test for each of the accelerator teardown implementations
21c50a0
to
a6c493f
Compare
add tests - it doesn't seem like there's a good way to verify that cuda cache is emptied, so I'm only checking that teardown is called. |
a6c493f
to
1a60823
Compare
1a60823
to
832d1c6
Compare
3946f82
to
8d2349d
Compare
0bf33c5
to
8d2349d
Compare
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.
nit
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 ! Small comments
teardown()
teardown()
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
What does this PR do?
Addresses #11091
Does your PR introduce any breaking changes? If yes, please list them.
Before 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 🙃