You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to diagnose performance issues with our simulator. I generated a profiler trace from the simulator's execution, and I can see that the GPU spends 36% of the time sitting idle:
After checking the trace log, from what I understand the inner loop of our simulator gets stuck waiting for MemcpyD2H transfers to complete:
Do you have any advice on how I can attempt to locate the source of these transfers? Shown in the screenshot is just one iteration out of several hundred that our simulator executes. The whole thing is jit'd. We don't specifically specify which device JAX should use on any of our array instantiations - and it looks the core bits of our simulation are actually running on the GPU as they appear in the trace log under the GPU device. Thank you very much for your help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently trying to diagnose performance issues with our simulator. I generated a profiler trace from the simulator's execution, and I can see that the GPU spends 36% of the time sitting idle:
After checking the trace log, from what I understand the inner loop of our simulator gets stuck waiting for MemcpyD2H transfers to complete:
Do you have any advice on how I can attempt to locate the source of these transfers? Shown in the screenshot is just one iteration out of several hundred that our simulator executes. The whole thing is jit'd. We don't specifically specify which device JAX should use on any of our array instantiations - and it looks the core bits of our simulation are actually running on the GPU as they appear in the trace log under the GPU device. Thank you very much for your help.
Beta Was this translation helpful? Give feedback.
All reactions