Skip to content

[ONNX] Support quantized::conv1d_relu#85997

Closed
titaiwangms wants to merge 4 commits intogh/AllenTiTaiWang/9/basefrom
gh/AllenTiTaiWang/9/head
Closed

[ONNX] Support quantized::conv1d_relu#85997
titaiwangms wants to merge 4 commits intogh/AllenTiTaiWang/9/basefrom
gh/AllenTiTaiWang/9/head

Conversation

@titaiwangms
Copy link
Copy Markdown
Collaborator

@titaiwangms titaiwangms commented Sep 30, 2022

Stack from ghstack (oldest at bottom):

According to #38248, quantized::conv1d_relu shares packing parameters with Conv2D (kspatialDim is also 2), and needs a different unpacking way. Therefore, a new QuantizedParamsType=Conv1D is used to differentiate the two, and has to extract 1D information from 2D packed parameters.

Fix #84694

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Sep 30, 2022

🔗 Helpful Links

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

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

✅ No Failures, 1 Pending

As of commit c341dfb:
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot Bot added the release notes: onnx torch.onnx related changes that should show up in the release notes label Sep 30, 2022
titaiwangms added a commit that referenced this pull request Sep 30, 2022
ghstack-source-id: 4db5d06
Pull Request resolved: #85997
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Sep 30, 2022
@facebook-github-bot
Copy link
Copy Markdown
Contributor

/easycla

As part of the transition to the PyTorch Foundation, this project now requires contributions be covered under the new CLA. See #85559 for additional details.

This comment will trigger a new check of this PR. If you are already covered, you will simply see a new "EasyCLA" check that passes. If you are not covered, a bot will leave a new comment with a link to sign.

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Oct 4, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.


According to #38248, quantized::conv1d_relu shares packing parameters with Conv2D (kspatialDim is also 2), and needs a different unpacking way. Therefore, a new `QuantizedParamsType=Conv1D` is used to differentiate the two, and has to extract 1D information from 2D packed parameters.

[ghstack-poisoned]
titaiwangms added a commit that referenced this pull request Oct 5, 2022
ghstack-source-id: 08f19d7
Pull Request resolved: #85997
@titaiwangms titaiwangms closed this Oct 6, 2022
@titaiwangms titaiwangms reopened this Oct 6, 2022
@titaiwangms
Copy link
Copy Markdown
Collaborator Author

@BowenBao PTAL

Copy link
Copy Markdown
Collaborator

@BowenBao BowenBao left a comment

Choose a reason for hiding this comment

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

🚢

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 25, 2022
@titaiwangms
Copy link
Copy Markdown
Collaborator Author

@pytorchbot rebase

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

@pytorchbot successfully started a rebase job. Check the current status here


According to #38248, quantized::conv1d_relu shares packing parameters with Conv2D (kspatialDim is also 2), and needs a different unpacking way. Therefore, a new `QuantizedParamsType=Conv1D` is used to differentiate the two, and has to extract 1D information from 2D packed parameters.

[ghstack-poisoned]
@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Successfully rebased gh/AllenTiTaiWang/9/orig onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via ghstack checkout https://github.com/pytorch/pytorch/pull/85997)

pytorchmergebot pushed a commit that referenced this pull request Oct 25, 2022
ghstack-source-id: ec9e7d1
Pull Request resolved: #85997
@titaiwangms
Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -g

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks on your PR pass since you used the green (-g) flag (ETA: 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@github-actions
Copy link
Copy Markdown
Contributor

Hey @AllenTiTaiWang.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

@titaiwangms titaiwangms added the topic: new features topic category label Oct 25, 2022
kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Nov 5, 2022
According to pytorch#38248, quantized::conv1d_relu shares packing parameters with Conv2D (kspatialDim is also 2), and needs a different unpacking way. Therefore, a new `QuantizedParamsType=Conv1D` is used to differentiate the two, and has to extract 1D information from 2D packed parameters.
Pull Request resolved: pytorch#85997
Approved by: https://github.com/BowenBao
kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
According to pytorch#38248, quantized::conv1d_relu shares packing parameters with Conv2D (kspatialDim is also 2), and needs a different unpacking way. Therefore, a new `QuantizedParamsType=Conv1D` is used to differentiate the two, and has to extract 1D information from 2D packed parameters.
Pull Request resolved: pytorch#85997
Approved by: https://github.com/BowenBao
@facebook-github-bot facebook-github-bot deleted the gh/AllenTiTaiWang/9/head branch June 8, 2023 14:23
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 25, 2026
According to pytorch#38248, quantized::conv1d_relu shares packing parameters with Conv2D (kspatialDim is also 2), and needs a different unpacking way. Therefore, a new `QuantizedParamsType=Conv1D` is used to differentiate the two, and has to extract 1D information from 2D packed parameters.
Pull Request resolved: pytorch#85997
Approved by: https://github.com/BowenBao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request cla signed Merged oncall: jit Add this issue/PR to JIT oncall triage queue open source release notes: onnx torch.onnx related changes that should show up in the release notes topic: new features topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ONNX] Exporting the operator quantized::conv1d_relu to ONNX opset version 13 is not supported

5 participants