Skip to content

Conversation

@dzdang
Copy link
Contributor

@dzdang dzdang commented Mar 22, 2022

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

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

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]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Mar 22, 2022

🔗 Helpful links

💊 CI failures summary and remediations

As 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.

Click here to manually regenerate this comment.

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 22, 2022

We have recently simplified the CIFlow labels and ciflow/macos is no longer in use.
You can use any of the following

  • ciflow/trunk (.github/workflowss/trunk.yml): all jobs we run per-commit on master
  • ciflow/periodic (.github/workflows/periodic.yml): all jobs we run periodically on master
  • ciflow/all: trunk + periodic; all jobs we run in master CI
  • ciflow/nightly (.github/workflows/nightly.yml): all jobs we run nightly
  • ciflow/binaries: all binary build and upload jobs

…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
Copy link
Contributor Author

dzdang commented Mar 23, 2022

@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 dzdang requested a review from jerryzh168 March 23, 2022 00:45
@dzdang
Copy link
Contributor Author

dzdang commented Mar 23, 2022

@dzdang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit that referenced this pull request Mar 23, 2022
…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
@github-actions
Copy link
Contributor

Hey @dzdang.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

shahofblah pushed a commit that referenced this pull request Mar 25, 2022
…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)
NesrineMHB pushed a commit to NesrineMHB/pytorch that referenced this pull request Apr 8, 2022
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
NesrineMHB pushed a commit to NesrineMHB/pytorch that referenced this pull request Apr 8, 2022
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants