Patch the _is_conv_node function#153749
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/153749
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 47 PendingAs of commit 725c2f6 with merge base 4277907 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D74898941 |
There was a problem hiding this comment.
| torch.ops.aten.conv1d.default, | |
| torch.ops.aten.conv2d.default, | |
| torch.ops.aten.conv2d.padding, | |
| torch.ops.aten.conv1d.default, | |
| torch.ops.aten.conv1d.padding, | |
| torch.ops.aten.conv2d.default, | |
| torch.ops.aten.conv2d.padding, |
What about conv3d?
| torch.ops.aten.conv1d.default, | |
| torch.ops.aten.conv2d.default, | |
| torch.ops.aten.conv2d.padding, | |
| torch.ops.aten.conv1d.default, | |
| torch.ops.aten.conv1d.padding, | |
| torch.ops.aten.conv2d.default, | |
| torch.ops.aten.conv2d.padding, | |
| torch.ops.aten.conv3d.default, | |
| torch.ops.aten.conv3d.padding, |
There was a problem hiding this comment.
I added conv3d in torchao/quantization/pt2e,
@cccclai might be good to abandon these changes
There was a problem hiding this comment.
Wait so this func is unused now?
There was a problem hiding this comment.
Our partner is still using pytorch but not torch ao currently, I think it's an easy fix?
There was a problem hiding this comment.
@cccclai Might as well be complete and ad all the conv types then.
|
Do we need to add any tests for the quantization ops? |
Summary: X-link: pytorch/pytorch#153749 torch.ops.aten.conv2d.padding is also conv2d node Reviewed By: andrewor14, jerryzh168 Differential Revision: D74898941
Skylion007
left a comment
There was a problem hiding this comment.
LGTM if you also fix the utility here
Summary: X-link: pytorch/ao#2223 torch.ops.aten.conv2d.padding is also conv2d node Test Plan: CI Reviewed By: andrewor14, jerryzh168 Differential Revision: D74898941
|
This pull request was exported from Phabricator. Differential Revision: D74898941 |
Does it look good now? |
|
@cccclai Yeah, just fix the trailing spaces in the lint |
Summary: Pull Request resolved: pytorch#2223 X-link: pytorch/pytorch#153749 torch.ops.aten.conv2d.padding is also conv2d node Reviewed By: andrewor14, jerryzh168 Differential Revision: D74898941
Summary: X-link: pytorch/pytorch#153749 torch.ops.aten.conv2d.padding is also conv2d node Reviewed By: andrewor14, jerryzh168 Differential Revision: D74898941
|
This pull request was exported from Phabricator. Differential Revision: D74898941 |
|
I added the test in pytorch/ao#2223. The same test doesn't work in pytorch, looks like the quant nodes disappear. |
Summary: X-link: pytorch/pytorch#153749 torch.ops.aten.conv2d.padding is also conv2d node Reviewed By: andrewor14, jerryzh168 Differential Revision: D74898941
Summary: X-link: pytorch/ao#2223 torch.ops.aten.conv2d.padding is also conv2d node Test Plan: CI Reviewed By: andrewor14, jerryzh168 Differential Revision: D74898941
|
This pull request was exported from Phabricator. Differential Revision: D74898941 |
|
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot revert -m="Diff reverted internally" -c="ghfirst" This Pull Request has been reverted by a revert inside Meta. To re-land this change, please open another pull request, assign the same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk).) |
|
@pytorchbot successfully started a revert job. Check the current status here. |
This reverts commit c985cec. Reverted #153749 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally ([comment](#153749 (comment)))
|
@cccclai your PR has been successfully reverted. |
|
Close as the PR is reverted |
|
Reland the pr in #154473 and pytorch/ao#2257 |
Summary: torch.ops.aten.conv2d.padding is also conv2d node
Differential Revision: D74898941