Get Started
Guide to deploy jobs on Outpost
1resources:
2 # 1x A10/A10G GPU
3 accelerators: {A10G:1, A10:1}
4
5env:
6 # set the environment variable MY_ENV_VAR to my-value
7 MY_ENV_VAR: my-value
8
9# Copy the contents of the current directory onto the remote machine
10workdir: .
11
12# Typical use: pip install -r requirements.txt
13# Invoked under the workdir (ie. can use its files)
14setup: |
15 echo "Running setup operations"
16
17file_mounts:
18 # Copy the contents of an S3 bucket to /dataset
19 /dataset:
20 source: s3://my-dataset
21 mode: COPY
22
23 # Mount an S3 bucket to /output
24 # Any files written here (eg. model checkpoints) will be uploaded back
25 # to the S3 bucket
26 /output:
27 source: s3://my-output-bucket
28 mode: MOUNT
29
30# Typical use: python train.py
31# Invoked under the workdir (ie. can use its files)
32# This will save a file called nvidia-smi-output.txt in /output,
33# which will then get written back to the s3 bucket
34run: |
35 nvidia-smi > /output/nvidia-smi-output.txt