Última atividade 1730820237

SkyPilot-3.yaml Bruto
1resources:
2 accelerators: A100:8 # 8x NVIDIA A100 GPU
3
4num_nodes: 1 # Number of VMs to launch
5
6# Working directory (optional) containing the project codebase.
7# Its contents are synced to ~/sky_workdir/ on the cluster.
8workdir: ~/torch_examples
9
10# Commands to be run before executing the job.
11# Typical use: pip install -r requirements.txt, git clone, etc.
12setup: |
13 pip install "torch<2.2" torchvision --index-url https://download.pytorch.org/whl/cu121
14
15# Commands to run as a job.
16# Typical use: launch the main program.
17run: |
18 cd mnist
19 python main.py --epochs 1