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

Add SparseDot op to the MHLO dialect #63500

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

copybara-service[bot]
Copy link

Add SparseDot op to the MHLO dialect

  • MHLO "sparsity" attribute represents SparsityDescriptor proto;
  • MHLO "sparse_dot" op represents HloDotInstruction with sparsity descriptor;
  • Adds transforms MHLO<->HLO;
  • The verifier calls StableHLO inferDotGeneralOp helper.

Note: only N:M structured sparsity is supported for sparse dots at this point.

- MHLO "sparsity" attribute represents SparsityDescriptor proto;
- MHLO "sparse_dot" op represents HloDotInstruction with sparsity descriptor;
- Adds transforms MHLO<->HLO;
- The verifier calls StableHLO inferDotGeneralOp helper.

Note: only N:M structured sparsity is supported for sparse dots at this point.
PiperOrigin-RevId: 616080752
@copybara-service copybara-service bot closed this Mar 15, 2024
@copybara-service copybara-service bot merged commit c793b8e into master Mar 15, 2024
1 check passed
@copybara-service copybara-service bot deleted the test_603626360 branch March 15, 2024 11:13
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

1 participant