Skip to content

Investigate conversion from StableHLO to Nx.Defn.Expr #1547

Open
@polvalente

Description

It might be possible to use Beaver to parse StableHLO modules into an Elixir data structure, and convert that into the equivalent Nx.Defn.Expr.

This should allow us to operate on PyTorch and Jax exports not only to execute them through Nx, but for grad and, in the future, sharding.

Note: the first draft for this feature can be worked in this repository, but most likely it can be generally implemented in a separate library.

Metadata

Assignees

No one assigned

    Labels

    area:nxApplies to nxkind:featureNew feature or requestnote:discussionDetails or approval are up for discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions