Open dpan817 opened 11 months ago
Hi, I believe the module view is built on the older stack trace information. To enable it, you may need to collect your profiles using
from torch._C._profiler import _ExperimentalConfig
prof = torch.profiler.profile(
schedule=torch.profiler.schedule(wait=1, warmup=5, active=3, repeat=2),
on_trace_ready=torch.profiler.tensorboard_trace_handler(profiler_log),
record_shapes=True,
profile_memory=True,
with_stack=True,
with_flops=True,
with_modules=True,
experimental_config=_ExperimentalConfig(verbose=True))
Thanks, Aaron, but _ExperimentalConfig is not available in the torch until version 1.13 will try it later with torch V1.13.1
Thanks, Aaron, but _ExperimentalConfig is not available in the torch until version 1.13 will try it later with torch V1.13.1
Hi! I also encountered the same problem and the pytorch version is the same as yours. Have you solved this problem?
I tried to profile the bevfusion model with below code (with_modules=True). After run the inference and started the tensorboard, the Module view did not show in the View drop list. The Overview, Operator, GPU kernel, Trace, and Memory view worked properly.
Can anyone help figure out what is wrong?
Python, Torch, and the plugin version: