Skip to content

Add quantizer support for quantized_conv1d_ncl#17938

Open
mcremon-meta wants to merge 2 commits intomainfrom
export-D95279330
Open

Add quantizer support for quantized_conv1d_ncl#17938
mcremon-meta wants to merge 2 commits intomainfrom
export-D95279330

Conversation

@mcremon-meta
Copy link
Contributor

Summary:
Update quantizer patterns to route conv1d operations to quantized_conv1d_ncl instead of quantized_conv2d_nchw:

  • Conv1dPattern.replacement_op() now returns quantized_conv1d_ncl
  • Conv1dReluPattern0 and Conv1dReluPattern1 now return quantized_conv1d_ncl
  • Added fused_conv1d_relu test and _build_conv1d_relu_graph helper

Differential Revision: D95279330

Summary:
Remove typed quantized_conv1d operator variants and their implementations to start fresh. This removes:
- Type dispatch logic from type_dispatch.py
- Type dispatch tests from test_type_dispatch_passes.py
- Kernel registrations from functions.yaml and functions_hifi.yaml
- Operator definitions from ops_registrations.py
- Reference implementations from ref_implementations.py
- C++ implementations from generic and HiFi operators
- Jarvis custom op definitions and argument checks

Differential Revision: D95277804
Summary:
Update quantizer patterns to route conv1d operations to quantized_conv1d_ncl instead of quantized_conv2d_nchw:
- Conv1dPattern.replacement_op() now returns quantized_conv1d_ncl
- Conv1dReluPattern0 and Conv1dReluPattern1 now return quantized_conv1d_ncl
- Added fused_conv1d_relu test and _build_conv1d_relu_graph helper

Differential Revision: D95279330
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 5, 2026

🔗 Helpful Links

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

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

❌ 9 New Failures, 5 Unrelated Failures

As of commit 8588fb4 with merge base 2cb1ef5 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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-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 5, 2026
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Mar 5, 2026

@mcremon-meta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95279330.

@github-actions
Copy link

github-actions bot commented Mar 5, 2026

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.

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.

1 participant