Open GleasonK opened 1 year ago
Received an additional request for a Python API to determine the current version of StableHLO. Can add alongside this API.
See https://github.com/openxla/stablehlo/issues/1319#issuecomment-1478770397 for some more details of the related brainstorming session, in addition to what's already called out in the first comment of this issue.
Some of the open questions that we dicussed recently: 1) lookupKnownVersion vs lookupPreviousVersion (main topic) 2) Should we start returning prerelease versions from getCurrentVersion? 3) Should we change compatibility.md to be based on tagged commits? 4) Should we start storing target_version in serializePortableArtifact artifacts?
Request description
Thinking something like:
This will allow users to programmatically target the earliest supported version.