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

Module View doesn't show backward pass operations #580

Open
danielsnider opened this issue Apr 8, 2022 · 3 comments
Open

Module View doesn't show backward pass operations #580

danielsnider opened this issue Apr 8, 2022 · 3 comments
Labels
bug Something isn't working plugin PyTorch Profiler TensorBoard Plugin related

Comments

@danielsnider
Copy link
Contributor

The backward pass doesn't appear in the Module View. Is there a plan to add this?

The two red arrows below mark where the backward pass should appear:
image

Here is the backward pass as seen in the Trace View:
image

This profile was generated using your sample script resnet50_profiler_api.py and with python3.10, pytorch 1.12.0.dev20220408+cu113, and Ubuntu 20.04.

Many thanks for your great work on Kineto!

@briancoutinho
Copy link
Contributor

Is this a feature request for tensorboard plugin? looks like the trace from libkineto has the information right?

@guotuofeng
Copy link
Contributor

@danielsnider, there is a bug in PyTorch profiler related to forward/backward correlation which would cause the profiler crash. We deliberately disable the forward/backward correlation in nightly build. Once the bug is fixed, the forward/backward correlation would be reeanbled again. At that time, the backward module would be shown in tb_plugin.

@aaronenyeshi aaronenyeshi added the bug Something isn't working label Nov 1, 2022
@SolenoidWGT
Copy link

Hello @guotuofeng , Is there any progress on this bug?

@aaronenyeshi aaronenyeshi added the plugin PyTorch Profiler TensorBoard Plugin related label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin PyTorch Profiler TensorBoard Plugin related
Projects
None yet
Development

No branches or pull requests

5 participants