modal-compute
Installation
SKILL.md
Modal Compute
Use the modal CLI for bounded research experiments that need burst GPU compute. No pod lifecycle to manage; write a decorated Python script, run it, and save raw outputs back into the research artifact folder. Do not use this skill to deploy services or unrelated batch jobs.
Setup
pip install modal
modal setup
Commands
| Command | Description |
|---|---|
modal run script.py |
Run one research experiment script on Modal |
modal run --detach script.py |
Run a long research experiment and record the returned app/run identifier |
modal shell --gpu a100 |
Open an interactive GPU shell for research environment debugging |