Skip to content

Targeting JAX with a domain-specific compiler #30141

Answered by jakevdp
connorjward asked this question in Q&A
Discussion options

You must be logged in to vote

This looks really interesting! We don't have any way to programmatically build an IR in a step-by-step fashion like this, but I wonder if it would be possible to do so via normal JAX operations in your context? The supported way to build an expression tree (i.e. a jaxpr) is by wrapping a function with an abstract evaluator like jax.make_jaxpr. Could you perhaps use this approach with the routine that is meant to generate the jax expression?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@connorjward
Comment options

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