meta-pytorch / meta-pytorch/data

Tracker for Debuggability Improvement

Open
#284 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.3k
Forks
179
Avg merge
6d 1h
Merged PRs (30d)
2

Description

🚀 Key Features

This is a tracker issue for the improvement for debuggability.

  • #299
graph TD;
DP1-->DP2;
DP2-->DP3;
DP2-->DP4;
DP3-->DP5;
DP4-->DP6;
DP5-->DP6;
DP6-->output;

can be printed out as the following

>>> print_graph(traverse(dp6))
DP1 -> DP2 -> DP3 -> DP5
         \             \
         DP4 --------> DP6 ->
Nice to Haves

This section is tracking potential features that we may want

  • Handling mixed usage of IterDataPipe, MapDataPipe, torcharrow DataFrame
    • Are users able to clearly differentiate these when they are using a mixture of these classes?
  • Connect profiling result with graph
    • Different colors for nodes based on their performance (similar to TensorBoard)
Motivation, pitch

This would help our users and developers to easily understand what's going on with the pipeline.
Feel free to post more request for debuggability.

Alternatives

No response

Additional context

No response

cc: @NivekT @VitalyFedyunin

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

This is a broad tracker rather than a single implementation task; review the unchecked back-tracing items and the existing print_graph(traverse(dp6)) example first. The only named code location is torch/utils/data/_typing.py#L340, with related work in #210 and pull request #75618. Done criteria are not defined because the remaining ideas require separate scope and decisions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.