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] Simplify QuantizePerTensor lowering #3576

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

zjgarvey
Copy link
Collaborator

@zjgarvey zjgarvey commented Jul 31, 2024

Uses arith::MaximumFOp and arith::MinimumFOp instead of comparison and select ops to improve readability of IR.

@zjgarvey zjgarvey changed the title Simplify QuantizePerTensor lowering and re-introduce QuantizedMLP test [TorchToLinalg] Simplify QuantizePerTensor lowering Jul 31, 2024
@zjgarvey zjgarvey merged commit 79ae0af into llvm:main Aug 2, 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