meta-pytorch / meta-pytorch/data

Functional API document auto generation

Open
#384 4 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

🚀 The feature

Currently, we rely on the inline doc for each DataPipe to indicate the functional API. Considering torchdata should have already been built when doc need to be generated, we should be able to rely on the following dictionaries to figure out the functional API with corresponding DataPipe.

Motivation, pitch

Make the doc-gen more intelligent to reduce the amount of work when contributors implement DataPipe and the extra care for reviewers/

Alternatives

No response

Additional context

WDYT @NivekT

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

Start by reviewing the IterDataPipe and MapDataPipe functional API dictionaries linked in the issue, then locate the repository's doc-generation entry point. Define how those dictionaries should map DataPipe implementations to generated documentation, and confirm that generation produces the expected functional API documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.