Skip to content

Add C++ unit tests for cadence::quantized_conv2d_nhwc (#18479)#18479

Open
hsharma35 wants to merge 1 commit intopytorch:mainfrom
hsharma35:export-D96507563
Open

Add C++ unit tests for cadence::quantized_conv2d_nhwc (#18479)#18479
hsharma35 wants to merge 1 commit intopytorch:mainfrom
hsharma35:export-D96507563

Conversation

@hsharma35
Copy link
Contributor

@hsharma35 hsharma35 commented Mar 24, 2026

Summary:

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 24, 2026

🔗 Helpful Links

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

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

❌ 1 New Failure, 2 Unrelated Failures

As of commit 80b3f22 with merge base d25119f (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@meta-codesync
Copy link
Contributor

meta-codesync bot commented Mar 24, 2026

@hsharma35 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96507563.

@meta-cla meta-cla 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 Mar 24, 2026
@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@meta-codesync meta-codesync bot changed the title Add C++ unit tests for cadence::quantized_conv2d_nhwc Add C++ unit tests for cadence::quantized_conv2d_nhwc (#18479) Mar 24, 2026
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Mar 24, 2026
Summary:

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Mar 25, 2026
Summary:
Pull Request resolved: pytorch#18479

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
@hsharma35 hsharma35 force-pushed the export-D96507563 branch 2 times, most recently from 70b6bd6 to 7f776c6 Compare March 25, 2026 16:57
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Mar 25, 2026
Summary:

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Mar 25, 2026
Summary:

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Mar 25, 2026
Summary:

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Mar 25, 2026
Summary:
Pull Request resolved: pytorch#18479

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Mar 25, 2026
Summary:
Pull Request resolved: pytorch#18479

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Mar 25, 2026
Summary:
Pull Request resolved: pytorch#18479

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Mar 26, 2026
Summary:

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
Summary:
Pull Request resolved: pytorch#18479

Add test_op_quantized_conv2d_nhwc.cpp covering 17 test combinations from the Python test_quantized_conv2d_nhwc_out. Tests cover Conv2d (4D NHWC) and Conv1d (3D NLC) variants including basic, stride, padding, and depthwise cases, using kernel registry dispatch.

Reviewed By: RahulC7

Differential Revision: D96507563
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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants