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
Blocks of GPU activity are interleaved and overlapping with blocks of host (CPU) activity. Is this good or normal? Does it suggest that a lot of computation is still being done on CPU instead of on the GPU? Performance-wise, isn't it better to have a single block of GPU activity? If so, what's wrong and how can it be fixed?
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 changed the following onnx2xla.py example code to generate a trace for one inference after a warmup of inference runs:
https://github.com/google/jax/blob/ba557d5e1beb480851117a003ebf76c0ed2249e0/examples/onnx2xla.py
Blocks of GPU activity are interleaved and overlapping with blocks of host (CPU) activity. Is this good or normal? Does it suggest that a lot of computation is still being done on CPU instead of on the GPU? Performance-wise, isn't it better to have a single block of GPU activity? If so, what's wrong and how can it be fixed?
onnx2xla-perfetto_trace.json.gz
Beta Was this translation helpful? Give feedback.
All reactions