Add C++ unit tests for cadence::quantized_conv2d_nhwc + add depthwise_nhwc operator + tests#18479
Conversation
🔗 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 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 Cancelled Job, 2 Unrelated FailuresAs of commit d5c324b with merge base de8ce55 ( CANCELLED JOB - The following job was cancelled. Please retry:
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. |
|
@hsharma35 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96507563. |
This PR needs a
|
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
41f1e95 to
5df658a
Compare
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
70b6bd6 to
7f776c6
Compare
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: 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
7f776c6 to
c1772a4
Compare
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
c1772a4 to
53149ed
Compare
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
53149ed to
8aa162e
Compare
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
8aa162e to
e280f97
Compare
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
e280f97 to
7b6e022
Compare
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
7b6e022 to
6b110b0
Compare
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
6b110b0 to
80b3f22
Compare
…_nhwc operator + tests Summary: Add C++ unit tests for cadence::quantized_conv2d_nhwc.out using the kernel registry dispatch pattern, plus introduce the cadence::quantized_conv2d_depthwise_nhwc.out operator (registration in custom_ops.yaml + arg-validation in check_op_args.h) and its corresponding C++ test. The depthwise variant is added in the same diff because the channels-last NHWC test infrastructure is shared between the two and pulling them apart would require duplicating significant kernel-dispatch boilerplate. Both ops use BoxedEvalueList<int64_t> for IntArrayRef params (stride, padding, dilation). Part of the Python -> C++ operator test migration tracked in the jarvis-operator-testing box. Reviewed By: zonglinpeng, RahulC7 Differential Revision: D96507563
80b3f22 to
d5c324b
Compare
Summary: Add C++ unit tests for cadence::quantized_conv2d_nhwc.out using the kernel registry dispatch pattern, plus introduce the cadence::quantized_conv2d_depthwise_nhwc.out operator (registration in custom_ops.yaml + arg-validation in check_op_args.h) and its corresponding C++ test. The depthwise variant is added in the same diff because the channels-last NHWC test infrastructure is shared between the two and pulling them apart would require duplicating significant kernel-dispatch boilerplate. Both ops use BoxedEvalueList<int64_t> for IntArrayRef params (stride, padding, dilation). Part of the Python -> C++ operator test migration tracked in the jarvis-operator-testing box.
Reviewed By: zonglinpeng, RahulC7
Differential Revision: D96507563