[quant] Fusion support for conv1d + ReLU#38438
Closed
supriyar wants to merge 3 commits intogh/supriyar/119/basefrom
Closed
[quant] Fusion support for conv1d + ReLU#38438supriyar wants to merge 3 commits intogh/supriyar/119/basefrom
supriyar wants to merge 3 commits intogh/supriyar/119/basefrom
Conversation
Summary: Fusion for PTQ flow in eager mode. Graph mode to follow Test Plan: python test/test_quantization.py TestFusion Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
This was referenced May 13, 2020
💊 CI failures summary and remediationsAs of commit b311110 (more details on the Dr. CI page):
ci.pytorch.org: 1 failedThis comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker. This comment has been revised 12 times. |
| (torch.nn.Conv2d, torch.nn.BatchNorm2d, torch.nn.ReLU): fuse_conv_bn_relu, | ||
| (torch.nn.Conv3d, torch.nn.BatchNorm3d): fuse_conv_bn, | ||
| (torch.nn.Conv3d, torch.nn.BatchNorm3d, torch.nn.ReLU): fuse_conv_bn_relu, | ||
| (torch.nn.Conv1d, torch.nn.ReLU): torch.nn.intrinsic.ConvReLU1d, |
Contributor
There was a problem hiding this comment.
Please also add support for Conv1d + BatchNorm1d and Conv1d+BatchNorm1d+Relu for eval, QAT support can be a TODO
raghuramank100
approved these changes
May 13, 2020
Summary: Fusion for PTQ flow in eager mode. Graph mode to follow Test Plan: python test/test_quantization.py TestFusion Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: Fusion for PTQ flow in eager mode. Graph mode to follow Test Plan: python test/test_quantization.py TestFusion Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Contributor
|
This pull request has been merged in f4605ae. |
laurentdupin
pushed a commit
to laurentdupin/pytorch
that referenced
this pull request
Apr 24, 2026
Summary: Pull Request resolved: pytorch#38438 Fusion for PTQ flow in eager mode. Graph mode to follow Test Plan: python test/test_quantization.py TestFusion Imported from OSS Differential Revision: D21575920 fbshipit-source-id: 5bac6602520f42ae3f4957d1a55e6a863daa0257
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack:
Summary:
Fusion for PTQ flow in eager mode. Graph mode to follow
Test Plan:
python test/test_quantization.py TestFusion
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D21575920