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

Interpreter support for quantized type #2373

Closed
sdasgup3 opened this issue Jun 3, 2024 · 1 comment · Fixed by #2388
Closed

Interpreter support for quantized type #2373

sdasgup3 opened this issue Jun 3, 2024 · 1 comment · Fixed by #2388

Comments

@sdasgup3
Copy link
Member

sdasgup3 commented Jun 3, 2024

The interpreter in its current form does not support quantized type and operations on that type.
The issue is to (1) explore the use-cases and (2) enable support for the same.

Re (2): One option could be to decompose uisng mhlo-quant-legalize-to-int the quantized type to primitive math using before doing interpreter evaluation.

@sdasgup3
Copy link
Member Author

sdasgup3 commented Jun 7, 2024

sdasgup3 added a commit that referenced this issue Jun 20, 2024
fixes #2373

The PR is rebased on top on
#2383 and cherry-pick changes
from #2384.

### Direction to reviewer

Please review the commit
4d7dc1a
**excluding** the following files
  - docs/generated/stablehlo_passes.md
  - stablehlo/transforms/Passes.td
  - stablehlo/transforms/ShapeLegalizeToStablehlo.cpp
@sdasgup3 sdasgup3 self-assigned this Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant