Quickstart
Prerequisites
1. Start from your project
cd my-ml-project2. Describe your task in YAML
# task.yaml
# Sync this directory so your code and data are
# available on the cluster
workdir: .
resources:
infra: mithril
accelerators: B200:8
# Maximum hourly price you're willing to pay for
# the instance.
# Due to auction-based pricing, you often pay less
# than this cap.
config:
mithril:
# Equivalent to $4.00/GPU/hour on an 8x instance.
limit_price: 32.00
# Runs once when the cluster is first created
# (install deps, download data, etc.)
setup: |
pip install -r requirements.txt
# Command that executes your code — runs on the
# cluster every time you launch or exec.
run: |
nvidia-smi
python train.py3. Launch
4. Check cluster status
5. View the job queue and logs
6. SSH into the cluster
7. Iterate on your code
Scenario
Command
8. Tear down when you're done
Last updated