Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[torch-quant] support module fusion #1067

Merged
merged 3 commits into from
Mar 16, 2023
Merged

Conversation

xiaowan0322
Copy link
Collaborator

No description provided.

Linear + ReLU -> LinearRelu
Conv2d + ReLU -> Conv2dRelu
"""
# TODO(wanchen.swc): refactor this code to support other fusion patterns
Copy link
Collaborator

Choose a reason for hiding this comment

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

add a todo for extracting generic pattern matching functions.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

@deeply deeply left a comment

Choose a reason for hiding this comment

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

LGTM

@xiaowan0322 xiaowan0322 merged commit 4dae4f0 into alibaba:main Mar 16, 2023
@xiaowan0322 xiaowan0322 deleted the feat/fusion branch March 16, 2023 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants