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 Python API for serializing/deserializing portable artifacts #1301

Closed
burmako opened this issue Mar 9, 2023 · 3 comments · Fixed by #1330
Closed

Add Python API for serializing/deserializing portable artifacts #1301

burmako opened this issue Mar 9, 2023 · 3 comments · Fixed by #1330
Assignees

Comments

@burmako
Copy link
Contributor

burmako commented Mar 9, 2023

openxla/xla#1424 provides a sketch.

@yongwww
Copy link

yongwww commented Mar 13, 2023

it would be great to enable python api to work with bytecode format

@GleasonK
Copy link
Member

I'll take a closer look into python APIs in the coming days. We can get something figured out in StableHLO, I just need to put a bit of time into understanding the python api build infrastructure. But I agree, would be great to have this capability in python.

If there are any timelines or compatibility requirements you're working with let me know so we can do our best to accommodate!

GleasonK added a commit that referenced this issue Mar 22, 2023
Adds API to determine earliest forward compatible version that is able
to be targeted by serialization. Currently we offer 1 month forward
compatibility.

Closes #1301
@github-project-automation github-project-automation bot moved this from In Progress to Done in Compatibility implementation Mar 22, 2023
@GleasonK
Copy link
Member

Serialization APIs added with test point to use as example!

Still some more improvements planned that are mentioned in #1298 for programmatically getting earlier StableHLO version strings.

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

Successfully merging a pull request may close this issue.

3 participants