Skip to content

Interpreter-as-transformer idiom for new languages? #13673

Answered by sharadmv
femtomc asked this question in General
Discussion options

You must be logged in to vote

the way that Jaxpr as a concept arises is to support jax.jit and jax.vjp -- so the direction I've discussed above doesn't quite follow that motivation.

Jaxpr has been repurposed for use-cases beyond AD and XLA. Pallas is a lowering from Jaxpr -> Triton IR, for example.

I think although the set of JAX primitives was designed without non-XLA lowerings in mind, it's easy enough to extend the set of JAX primitives to enable alternative lowerings.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@femtomc
Comment options

@sharadmv
Comment options

Answer selected by femtomc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants