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

[TorchToLinalg] add support for quantized group conv #3341

Merged
merged 4 commits into from
Jun 3, 2024

Conversation

zjgarvey
Copy link
Collaborator

@zjgarvey zjgarvey commented May 14, 2024

This addresses 7 of the model failures I'm seeing in the test suite. See Shark-Turbine issue #566.

Need the op linalg.conv_2d_ngchw_gfchw_q to be added upstream before merging this. See llvm-project PR #92136 .

A small additional expansion to operand quantization is included in this patch to address a model failure that occurs when unblocking the quantized group convolutions in one of these onnx models.

@zjgarvey
Copy link
Collaborator Author

When the upstream patch lands, I'll rebase, and add some tests.

Copy link
Collaborator

@vivekkhandelwal1 vivekkhandelwal1 left a comment

Choose a reason for hiding this comment

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

LGTM

@vivekkhandelwal1 vivekkhandelwal1 merged commit 8995c90 into llvm:main Jun 3, 2024
3 checks passed
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.

None yet

2 participants