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 all StableHLO ops from spec #87

Merged
merged 7 commits into from
Jun 1, 2024
Merged

Add all StableHLO ops from spec #87

merged 7 commits into from
Jun 1, 2024

Conversation

mofeing
Copy link
Collaborator

@mofeing mofeing commented Jun 1, 2024

This PR refactors HLODerivatives.td to add all the missing ops from the StableHLO spec.

One question that strikes me is whether we should add CHLO ops, since they lower to StableHLO and we could support them by running chlo-legalize-to-stablehlo pass before Enzyme.

It also adds the HLOInactiveOp class to annotate non-differentiable ops.

@mofeing
Copy link
Collaborator Author

mofeing commented Jun 1, 2024

@wsmoses seems like buildkite/enzyme-jax/pr is not allowing me to merge?
Captura de pantalla 2024-06-01 a las 17 02 43

@wsmoses wsmoses merged commit ac5c3fc into main Jun 1, 2024
5 of 6 checks passed
@wsmoses wsmoses deleted the stablehlo-ops branch June 1, 2024 15:03
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