Skip to content

Parallelization of nested vmap #5764

Answered by shoyer
mrtupek asked this question in General
Discussion options

You must be logged in to vote

Yes, nested vmap will fully parallelize the entire operation.

vmap is a transformation that makes your code work exactly equivalently to manually rewriting your code with an extra dimension. So nesting vmap is equivalent to rewriting your code with an extra dimension, twice.

Replies: 1 comment

Comment options

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