Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytorch profiler failed to record execution events #2996

Closed
cfangplus opened this issue Aug 9, 2024 · 2 comments
Closed

pytorch profiler failed to record execution events #2996

cfangplus opened this issue Aug 9, 2024 · 2 comments

Comments

@cfangplus
Copy link

cfangplus commented Aug 9, 2024

🚀 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

@venkatram-dev
Copy link

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

@cfangplus
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants