Skip to content

Conversation

@fufeisi
Copy link
Contributor

@fufeisi fufeisi commented Sep 22, 2022

Summary:
this is to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 22, 2022

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/85502

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit ed6bd36:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@dzdang
Copy link
Contributor

dzdang commented Sep 22, 2022

is this PR ready for review?

@fufeisi
Copy link
Contributor Author

fufeisi commented Sep 22, 2022

is this PR ready for review?

Yes.

@jerryzh168
Copy link
Contributor

We extend the relu function for quantized tensor on cuda. Now we can call torch.relu(qa) for a quantized tensor qa on cuda.

Can you use standard format for summary, e.g. #84984? i.e. include a Summary and Test Plan at least

@fufeisi
Copy link
Contributor Author

fufeisi commented Sep 23, 2022

We extend the relu function for quantized tensor on cuda. Now we can call torch.relu(qa) for a quantized tensor qa on cuda.

Can you use standard format for summary, e.g. #84984? i.e. include a Summary and Test Plan at least

Sure, I changed and will use a standard format for future PRs.

@fufeisi
Copy link
Contributor Author

fufeisi commented Sep 24, 2022

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a merge job. Check the current status here.
The merge job was triggered without a flag. This means that your change will be merged once all checks on your PR have passed (ETA: 0-4 Hours). If this is not the intended behavior, feel free to use some of the other merge options in the wiki.
Please reach out to the PyTorch DevX Team with feedback or questions!

@github-actions
Copy link
Contributor

Hey @fufeisi.
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.

@janeyx99
Copy link
Contributor

@pytorchbot revert -m "Sorry, reverting as 10.2 builds on trunk broke due to this change, see https://hud.pytorch.org/pytorch/pytorch/commit/93a53ff4d92c883d87cc7aee35af719039b481a8" -c nosignal

Running with land checks would prevent a revert like this in the future, for more details see https://github.com/pytorch/pytorch/wiki/Bot-commands.

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Please reach out to the PyTorch DevX Team with feedback or questions!

@pytorchmergebot
Copy link
Collaborator

@fufeisi your PR has been successfully reverted.

pytorchmergebot added a commit that referenced this pull request Sep 24, 2022
fufeisi added a commit that referenced this pull request Sep 28, 2022
…eLU function, relu_quantized_cuda_."

Summary:
this and #85669 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
fufeisi added a commit that referenced this pull request Sep 28, 2022
…DA ReLU function,"

Summary:
this and #85670 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
fufeisi added a commit that referenced this pull request Sep 28, 2022
…lu_quantized_cuda_."

Summary:
this and #85669 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
fufeisi added a commit that referenced this pull request Sep 28, 2022
Summary:
this and #85670 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
fufeisi added a commit that referenced this pull request Sep 28, 2022
…DA ReLU function,"

Summary:
this and #85670 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
fufeisi added a commit that referenced this pull request Sep 28, 2022
…eLU function, relu_quantized_cuda_."

Summary:
this and #85669 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
fufeisi added a commit that referenced this pull request Sep 28, 2022
…lu_quantized_cuda_."

Summary:
this and #85669 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
fufeisi added a commit that referenced this pull request Sep 28, 2022
Summary:
this and #85670 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Sep 28, 2022
…DA ReLU function,"

Summary:
this and #85670 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Sep 28, 2022
Summary:
this and #85670 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Sep 29, 2022
Summary:
this and #85670 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502.
Pull Request resolved: #85669
Approved by: https://github.com/dzdang
fufeisi added a commit that referenced this pull request Sep 29, 2022
…eLU function, relu_quantized_cuda_."

Summary:
this and #85669 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
fufeisi added a commit that referenced this pull request Sep 29, 2022
…lu_quantized_cuda_."

Summary:
this and #85669 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502. 

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Sep 30, 2022
…d_cuda_. (#85670)

Summary:
this and #85669 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502.
Pull Request resolved: #85670
Approved by: https://github.com/dzdang, https://github.com/z-a-f
mehtanirav pushed a commit that referenced this pull request Oct 4, 2022
Summary:
this is to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py
Pull Request resolved: #85502
Approved by: https://github.com/dzdang
mehtanirav pushed a commit that referenced this pull request Oct 4, 2022
mehtanirav pushed a commit that referenced this pull request Oct 4, 2022
Summary:
this and #85670 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502.
Pull Request resolved: #85669
Approved by: https://github.com/dzdang
mehtanirav pushed a commit that referenced this pull request Oct 4, 2022
…d_cuda_. (#85670)

Summary:
this and #85669 are to allow the relu function to run on a quantized tensor on cuda. That is torch.relu(qa) for a quantized tensor qa on cuda.
Test Plan:
python test/test_quantization.py

Previous PR that has been reverted: #85502.
Pull Request resolved: #85670
Approved by: https://github.com/dzdang, https://github.com/z-a-f
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.

6 participants