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 ElementwiseKernel
kernel globally instead of per instance
#2474
Conversation
Jenkins, test this please |
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
Jenkins CI test (for commit 6b4df36, target branch master) failed with status FAILURE. |
Can you verify that the test failures are not PR related, please? |
At least some of them seem related. I'll fix them. |
6b4df36
to
127c303
Compare
I've made a fix, but it may degrade performance. |
Measured using cupy-perf. Before this PR:
This PR:
|
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
Jenkins, test this please |
Jenkins CI test (for commit 127c303, target branch master) failed with status FAILURE. |
Jenkins, test this please |
Jenkins CI test (for commit 127c303, target branch master) failed with status FAILURE. |
I'll check the failures. |
I once was able to replicate the failure 100% of the time, but now for some reason can't replicate it at all... even in docker with chainer-test. |
@emcastillo This pull-request is marked as |
@emcastillo Can you retrigger Jenkins to check if the failure is persistent? |
Jenkins, test this please |
Jenkins CI test (for commit 127c303, target branch master) failed with status FAILURE. |
pfnCI, test this please. |
Successfully created a job for commit 127c303: |
Jenkins CI test (for commit 127c303, target branch master) succeeded! |
Let me re-run jenkins to see if the failure before reproduces |
Jenkins, test this please |
Successfully created a job for commit 127c303: |
Jenkins CI test (for commit 127c303, target branch master) succeeded! |
Lets merge, hope it wont blow up later 😅 |
Should it be backported as this is a bug? @niboshi @emcastillo |
@kmaehashi Yes, let's do it. |
Cache `ElementwiseKernel` kernel globally instead of per instance
Fixes #2469