# Data Loading

> Optimize data loading pipeline to prevent GPU starvation. Use when setting up DataLoader or data preprocessing.

- **Type:** Skill
- **Install:** `agentstack add skill-thada2402-autoresearchclaw-data-loading`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [thada2402](https://agentstack.voostack.com/s/thada2402)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [thada2402](https://github.com/thada2402)
- **Source:** https://github.com/thada2402/AutoResearchClaw/tree/main/researchclaw/skills/builtin/tooling/data-loading

## Install

```sh
agentstack add skill-thada2402-autoresearchclaw-data-loading
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## Efficient Data Loading Best Practice
1. Use num_workers = min(8, os.cpu_count()) for DataLoader
2. Enable pin_memory=True when using GPU
3. Use persistent_workers=True to avoid re-spawning
4. Pre-compute and cache transformations when possible
5. For image data: use torchvision.transforms.v2 (faster)
6. For large datasets: consider memory-mapped files or WebDataset
7. Profile with torch.utils.bottleneck to find I/O bottlenecks

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [thada2402](https://github.com/thada2402)
- **Source:** [thada2402/AutoResearchClaw](https://github.com/thada2402/AutoResearchClaw)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-thada2402-autoresearchclaw-data-loading
- Seller: https://agentstack.voostack.com/s/thada2402
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
