meta-pytorch / meta-pytorch/data

[Nodes] Drop-in Replacement for DataLoader and StatefulDataLoader

Open
#1,389 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

🚀 The feature

Provide users utility functions to have drop-in replacement for the well-known torch.utils.data.DataLoader, as well as StatefulDataLoader.

Motivation, pitch

We should be able to re-construct exactly (or pretty darn close) the behaviour of torch.utils.DataLoader and torchdata.StatefulDataLoader by configuring Nodes in a certain way. We should provide these utilities for users as something practical, and as a starting point/reference implementation to get started and make tweaks as they need.

Alternatives

No response

Additional context

No response

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

The issue names no repository files or tests. Start by reviewing torch.utils.data.DataLoader and torchdata.StatefulDataLoader, then identify how Nodes could be configured to reproduce their behavior. Done means providing utility functions with behavior that is exactly, or nearly, equivalent to both loaders.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.