pmap inside jit created by lax.scan raises jit-of-pmap warning (single-process, multi-device parallelism) #15693
Unanswered
carlosgmartin
asked this question in
Q&A
Replies: 1 comment
-
I meet the problem too, can anyone help? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a program of the following form:
Outputs:
As you can see, the pmap version takes a much longer time. It also raises the warning discussed in #2926. My question is this: What is the recommended way to write a program of this form (in particular, one that uses pmap inside a scan loop) in such a way that it employs single-process, multi-device parallelism effectively? MPI message-passing seems to incur some overhead in the mpi_map version; I'd like to avoid that overhead, if possible.
Beta Was this translation helpful? Give feedback.
All reactions