-
Notifications
You must be signed in to change notification settings - Fork 750
Open
Description
When running from JAX near head (https://github.com/jax-ml/jax/commits/f0ed696cfcaa54a8f6b7217d63ffc897f72eb6f3/), it seems that Xprof loses the graph viewer.
Reproducer:
# Build JAX at head
git checkout f0ed696cfcaa54a8f6b7217d63ffc897f72eb6f3
python build/build.py build --wheels=jaxlib --python_version=3.12 --verbose
pip install <build jaxlib wheel>
Now run:
import jax
from jax import numpy as jnp
@jax.jit
def foo(x, y):
return x + y
with jax.profiler.trace("/tmp/jax-trace"):
x = jnp.ones((5,))
y = jnp.arange(5)
jax.block_until_ready(foo(x, y))Now when running xprof --logdir=/tmp/jax-trace, the graph viewer is missing. If I click on a graph viewer link for a particular op in the trace, it also brings me back to the overview page.
Note that the graph viewer still seems to be present when using jaxlib==0.9.0, so this seems to be a regression introduced recently.
I'm running Xprof version 2.21.6 (this was installed by running pip install xprof)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels