-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[quant][core][gpu] Wrapped CacheKey in Conv.cpp with anonymous namespace #74543
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
Conversation
Summary: This is done to prevent ODR issues with other cudnn ops and we want to make sure that the CacheKey in Conv.cpp is only used within this file. Other cudnn ops will also define CacheKey in their files. This PR should introduce no functional changes. Test plan: In pytorch main directory, execute ``` python test/test_quantization.py TestQuantizedConv.test_qconv2d_cudnn ``` for accuracy testing and ``` python test/test_quantization.py TestQuantizedConv.test_benchmark ``` for benchmark testing. [ghstack-poisoned]
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 8640af7 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
We have recently simplified the CIFlow labels and
|
…mous namespace" Summary: This is done to prevent ODR issues with other cudnn ops and we want to make sure that the CacheKey in Conv.cpp is only used within this file. Other cudnn ops will also define CacheKey in their files. This PR should introduce no functional changes. Test plan: In pytorch main directory, execute ``` python test/test_quantization.py TestQuantizedConv.test_qconv2d_cudnn ``` for accuracy testing and ``` python test/test_quantization.py TestQuantizedConv.test_benchmark ``` for benchmark testing. [ghstack-poisoned]
…mous namespace" Summary: This is done to prevent ODR issues with other cudnn ops and we want to make sure that the CacheKey in Conv.cpp is only used within this file. Other cudnn ops will also define CacheKey in their files. This PR should introduce no functional changes. Test plan: In pytorch main directory, execute ``` python test/test_quantization.py TestQuantizedConv.test_qconv2d_cudnn ``` for accuracy testing and ``` python test/test_quantization.py TestQuantizedConv.test_benchmark ``` for benchmark testing. [ghstack-poisoned]
|
@dzdang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…mous namespace" Summary: This is done to prevent ODR issues with other cudnn ops and we want to make sure that the CacheKey in Conv.cpp is only used within this file. Other cudnn ops will also define CacheKey in their files. This PR should introduce no functional changes. Test plan: In pytorch main directory, execute ``` python test/test_quantization.py TestQuantizedConv.test_qconv2d_cudnn ``` for accuracy testing and ``` python test/test_quantization.py TestQuantizedConv.test_benchmark ``` for benchmark testing. Differential Revision: [D35066248](https://our.internmc.facebook.com/intern/diff/D35066248) [ghstack-poisoned]
|
@dzdang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ace (#74543) Summary: Pull Request resolved: #74543 This is done to prevent ODR issues with other cudnn ops and we want to make sure that the CacheKey in Conv.cpp is only used within this file. Other cudnn ops will also define CacheKey in their files. This PR should introduce no functional changes. Test Plan: In pytorch main directory, execute ``` python test/test_quantization.py TestQuantizedConv.test_qconv2d_cudnn ``` for accuracy testing and ``` python test/test_quantization.py TestQuantizedConv.test_benchmark ``` for benchmark testing. Reviewed By: jerryzh168 Differential Revision: D35066248 Pulled By: dzdang fbshipit-source-id: 35ee55a4a140a96cba969ebf1b572c35b4822af8
|
Hey @dzdang. |
…ace (#74543) Summary: Pull Request resolved: #74543 This is done to prevent ODR issues with other cudnn ops and we want to make sure that the CacheKey in Conv.cpp is only used within this file. Other cudnn ops will also define CacheKey in their files. This PR should introduce no functional changes. Test Plan: In pytorch main directory, execute ``` python test/test_quantization.py TestQuantizedConv.test_qconv2d_cudnn ``` for accuracy testing and ``` python test/test_quantization.py TestQuantizedConv.test_benchmark ``` for benchmark testing. Reviewed By: jerryzh168 Differential Revision: D35066248 Pulled By: dzdang fbshipit-source-id: 35ee55a4a140a96cba969ebf1b572c35b4822af8 (cherry picked from commit f8637b2)
Summary: This is done to prevent ODR issues with other cudnn ops and we want to make sure that the CacheKey in Conv.cpp is only used within this file. Other cudnn ops will also define CacheKey in their files. This PR should introduce no functional changes. Test plan: In pytorch main directory, execute ``` python test/test_quantization.py TestQuantizedConv.test_qconv2d_cudnn ``` for accuracy testing and ``` python test/test_quantization.py TestQuantizedConv.test_benchmark ``` for benchmark testing. ghstack-source-id: 8c61979 Pull Request resolved: pytorch/pytorch#74543
Summary: This is done to prevent ODR issues with other cudnn ops and we want to make sure that the CacheKey in Conv.cpp is only used within this file. Other cudnn ops will also define CacheKey in their files. This PR should introduce no functional changes. Test plan: In pytorch main directory, execute ``` python test/test_quantization.py TestQuantizedConv.test_qconv2d_cudnn ``` for accuracy testing and ``` python test/test_quantization.py TestQuantizedConv.test_benchmark ``` for benchmark testing. ghstack-source-id: 8c61979 Pull Request resolved: pytorch/pytorch#74543
Stack from ghstack (oldest at bottom):
Summary:
This is done to prevent ODR issues with other cudnn ops and we want to make sure
that the CacheKey in Conv.cpp is only used within this file. Other cudnn ops will
also define CacheKey in their files.
This PR should introduce no functional changes.
Test plan:
In pytorch main directory, execute
for accuracy testing and
for benchmark testing.
Differential Revision: D35066248