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

PJRT_Plugin_Attributes returns a null pointer and therefore no stablehlo_current_version attribute #1094

Open
cerisier opened this issue Jan 24, 2025 · 1 comment

Comments

@cerisier
Copy link

This issue concerns the PJRT plugin that we (@zml) are loading directly.

Issue

The PJRT_Plugin_Attributes function returns a null pointer.

More importantly, it lacks the stablehlo_current_version attribute.

We need the version used by the PJRT plugin to target the appropriate StableHLO version when serializing to bytecode.

Since we cannot access the plugin’s StableHLO version, we default to WEEK_12 compatibility from the current StableHLO version. Unfortunately, the plugin is older than 12 weeks compared to the current StableHLO version, which breaks StableHLO’s backward compatibility conventions.

@aws-bowencc
Copy link
Contributor

Hi @cerisier , thx for raising this ticket, we will take a look and get back to you.

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

No branches or pull requests

2 participants