pytorch / pytorch/kineto

Module View doesn't show backward pass operations

Open
#580 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug plugin
Dominant language
C++
Stars
992
Forks
270
Avg merge
2d 11h
Merged PRs (30d)
12

Description

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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the profile using tb_plugin/examples/resnet50_profiler_api.py with the reported Python, PyTorch, and Ubuntu versions, then compare Module View with Trace View. Trace where the backward-pass operations are represented and verify that they appear in Module View at the locations marked in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
data-visualization, observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.