Replies: 1 comment 1 reply
-
|
@ammar1510 I couldn't reproduce the error with 2 GPUs (the only difference I had was the second mesh, and I removed the profiler) or 8 CPUs. Do you get the error consistently or from time to time? I am also not super familiar with the multithreading with JAX, but I know that certain operations in JAX have multithreaded C++ implementations which releases Pythons GIL. I assume that when your CPU dispatches the call to If my understanding is correct, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I get a race condition when I try to run the following snippet on 2 disjoint shards.
Would help if someone can provide a mental model on thinking multi-threading setup in JAX & what kinds of pitfalls to avoid.
Beta Was this translation helpful? Give feedback.
All reactions