Skip to content

Patch the _is_conv_node function #2223

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

Merged
merged 1 commit into from
May 22, 2025

Conversation

cccclai
Copy link
Contributor

@cccclai cccclai commented May 19, 2025

Summary:
X-link: pytorch/pytorch#153749

torch.ops.aten.conv2d.padding is also conv2d node

Reviewed By: andrewor14, jerryzh168

Differential Revision: D74898941

Copy link

pytorch-bot bot commented May 19, 2025

🔗 Helpful Links

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

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

❌ 6 New Failures

As of commit 5d7f713 with merge base adc78b7 (image):

NEW FAILURES - The following jobs have failed:

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 19, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74898941

pytorch-bot bot pushed a commit to pytorch/pytorch that referenced this pull request May 20, 2025
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
@cccclai
Copy link
Contributor Author

cccclai commented May 20, 2025

@jerryzh168 @andrewor14 can you help reviewing?

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74898941

cccclai added a commit to cccclai/ao that referenced this pull request May 20, 2025
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
@cccclai cccclai force-pushed the export-D74898941 branch from 85d6e55 to c22d3ac Compare May 20, 2025 16:26
cccclai added a commit to cccclai/ao that referenced this pull request May 22, 2025
Summary:

X-link: pytorch/pytorch#153749

torch.ops.aten.conv2d.padding is also conv2d node

Reviewed By: andrewor14, jerryzh168

Differential Revision: D74898941
@cccclai cccclai force-pushed the export-D74898941 branch from c22d3ac to 064ed11 Compare May 22, 2025 18:12
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74898941

pytorch-bot bot pushed a commit to pytorch/pytorch that referenced this pull request May 22, 2025
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
Summary:

X-link: pytorch/pytorch#153749

torch.ops.aten.conv2d.padding is also conv2d node

Reviewed By: andrewor14, jerryzh168

Differential Revision: D74898941
@cccclai cccclai force-pushed the export-D74898941 branch from 064ed11 to 5d7f713 Compare May 22, 2025 18:59
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74898941

cccclai added a commit to cccclai/pytorch that referenced this pull request May 22, 2025
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
self._test_quantizer(
TestHelperModules.ConvWithBNRelu(dim=2, relu=True, bn=True, padding="same"),
example_inputs,
BackendAQuantizer(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not annotating conv2d, does the test pass?

@facebook-github-bot facebook-github-bot merged commit 3884e29 into pytorch:main May 22, 2025
13 of 21 checks passed
@HDCharles HDCharles mentioned this pull request May 23, 2025
@jerryzh168
Copy link
Contributor

@cccclai looks like this also breaks ruff, I'll revert first

@jerryzh168
Copy link
Contributor

oh thanks @HDCharles for the fix

@HDCharles
Copy link
Contributor

we still need to revert this it caused a bunch of breakages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants