Skip to content

Implementing custom transformations? #3749

Answered by thisiscam
thisiscam asked this question in General
Discussion options

You must be logged in to vote

I think I'm going to lay out my plan here, just so to see if the Jax team has any advice or interest in (all or part of) the plan.

I'm interested in using custom transformations for a scenario of "distributed approximate optimization" (name not determined yet). The idea is that the user first writes a non-distributed model, and my tool will:

  1. Generate an approximation to that model, with the "Taylor approximate transformation" I mentioned above

  2. Perform optimization on the approximated model but still non-distributed (standard Jax stuff, so no big deal here)

  3. Split the non-distributed function into distributed, with potentially a Jax transformation. This sort of works like pmap, but in…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
7 replies
@thisiscam
Comment options

@thisiscam
Comment options

@jekbradbury
Comment options

@thisiscam
Comment options

@jekbradbury
Comment options

Comment options

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

Comment options

You must be logged in to vote
0 replies
Answer selected by thisiscam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3749 on July 14, 2020 18:11.