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

Preserve CHLO ops through serialization #2668

Open
GleasonK opened this issue Dec 12, 2024 · 0 comments
Open

Preserve CHLO ops through serialization #2668

GleasonK opened this issue Dec 12, 2024 · 0 comments
Assignees

Comments

@GleasonK
Copy link
Member

Request description

This is indirectly a feature request to preserve chlo ops from jax.export since there are some ops that simplify pattern matching (i.e. chlo.erf / erfc).

One possible way to implement this would be to wrap CHLO ops as a composite, and convert known composites back to CHLO upon deserialization. We could tag certain CHLO ops with an MLIR trait like SerializeAsComposite, and all ops that have this trait will be converted to/from a composite.

cc @vamsimanchala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant