tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

pytorch profiler failed to record execution events

Open cfangplus opened this issue 1 year ago • 2 comments

🚀 Describe the improvement or the new tutorial

I copy this python file here https://github.com/pytorch/tutorials/blob/main/intermediate_source/tensorboard_profiler_tutorial.py and run on my conda environment, however, it seems failed to record execution events because the log folder only create a json file and the tensorboard also failed to show the result. btw there is no error or exception thrown and my pytorch and torchvision version is ok.

Existing tutorials on this topic

No response

Additional context

No response

cc @aaronenyeshi @chaekit @jcarreiro

cfangplus avatar Aug 09 '24 08:08 cfangplus

Please install torch_tb_profiler

pip install torch_tb_profiler

https://github.com/pytorch/tutorials/blob/main/intermediate_source/tensorboard_profiler_tutorial.py#L170C7-L170C36

venkatram-dev avatar Sep 01 '24 20:09 venkatram-dev

Of course I followed the instructions and install tb. After step into the code, now I know the event file is actually json file, but the browser in my window environment still failed to show the result but browser in mac environment is successful.

cfangplus avatar Sep 13 '24 06:09 cfangplus