meta-pytorch / meta-pytorch/data
Add `pin_memory` Adapter
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.3k
- Forks
- 179
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 2
Description
🚀 The feature
Add an Adapter for pin_memory feature, similar to enable/disable shuffle.
Motivation, pitch
This allows users to enable/disable/change device of PinMemoryIterDataPipe without making changes to the DataPipe graph.
Alternatives
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing Adapter used to enable or disable shuffle, then read the PinMemoryIterDataPipe entry point. Add equivalent control for pin_memory, including changing its device, without requiring DataPipe graph changes; verify the adapter supports enable, disable, and device updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100