-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Cache cufft plans #8344
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
Cache cufft plans #8344
Conversation
85dd24d to
fa76ac4
Compare
|
@pytorchbot retest this please |
1 similar comment
|
@pytorchbot retest this please |
aten/src/ATen/Context.h
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/_torch_docs.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/_torch_docs.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
ezyang
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'm going to approve this, but I am a little concerned about the discoverability of the caching mechanism. Should we perhaps figure out some way to turn the caching on by default, e.g., setup some sort of eviction policy in the cache?
f50c077 to
9ab9994
Compare
|
Now using an LRU cache. docs are not updated yet. I want to check that CI passes first. |
7cf1e75 to
4a4c66d
Compare
|
:D CUDA hook worked pretty well. Will update the docs soon. |
aten/src/ATen/function_wrapper.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
orionr
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.
Is the third_party/onnx change actually required for this PR?
|
@orionr reverted that change |
|
ci failure looks unrelated |
#8120
Empirical speed up when running our test 10 times is
9.57s => 7.90swith cache enabled.