modal-projects/modal-auto-research-skills/modal-gpu-experiment
Claude Code and agent skill by modal-projects/modal-auto-research-skills
- community
Checking that the SKILL.md file is still in the repository.
Training apps, experiment patterns, and persistent storage on Modal. Write single-GPU and multi-node training jobs with volumes for data and checkpoints, secrets for W&B/HuggingFace, and fault tolerance via retries and checkpoint auto-resume. Use when you need to run training, fine-tuning, or batch experiments on Modal GPUs.
Install
npx vskill@latest install modal-projects/modal-auto-research-skills/modal-gpu-experimentSKILL.md
The same SKILL.md was published earlier as lordfarquaadthecreator/agents-skills/modal-gpu-experiment.
Modal Experiments
Run training jobs and experiments on Modal GPUs — from single-GPU fine-tuning to multi-node distributed training with RDMA. Write a proper Modal training app: bake your code into the image, mount volumes for data and checkpoints, add secrets, and set retries for fault tolerance.
For general Modal platform usage (app structure, function types, CLI, deployment), see the modal-basic-skills skill.
Quick Reference
Training App Pattern
A Modal training app is a single Python file:
Key Patterns
- `add_local_file` / `add_local_dir`: Bake code into the image. Use `copy=True` if you chain
.run_commands()after. - Volumes: Mount persistent storage for data and checkpoints. Data survives across runs.
- Secrets:
modal.Secret.from_name(...)for W&B, HuggingFace tokens, etc. - Retries + auto-resume:
modal.Retries(max_retries=N)combined with checkpoint detection for fault-tolerant training.
Persistent Storage
See ./references/volumes.md for data caching, checkpoint patterns, and volume.commit().
Multi-Node Training
For models that need more than 8 GPUs, use @modal.experimental.clustered with RDMA for up to 3,200 Gbps inter-node bandwidth:
See ./references/training.md for full examples including NCCL configuration and torchrun integration.
Compute Options
See ./references/compute.md for the full GPU table and selection guide. Quick guide:
- Training (small < 1B):
H100 - Training (1B-7B):
H100:4orH200:2 - Training (7B+):
H100:8or multi-node
References
- ./references/training.md — Full training guide (single-node, multi-node, data loading)
- ./references/volumes.md — Persistent storage patterns
- ./references/compute.md — GPU options and selection guide
See Also
- For interactive debugging before writing a training app: use the
modal-gpu-devskill - For running experiments in parallel across multiple agents: use the
sub-agentsskill
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmodal-gpu-experiment/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 7
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/modal-projects/modal-auto-research-skills/modal-gpu-experiment)