modal.yaml 523 Bytes
Newer Older
chenzk's avatar
v1.0  
chenzk committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
project_name:
volumes:
  - name: axolotl-data
    mount: /workspace/data
  - name: axolotl-artifacts
    mount: /workspace/artifacts

# environment variables from local to set as secrets
secrets:
  - HF_TOKEN
  - WANDB_API_KEY

# Which branch of axolotl to use remotely
branch:

# additional custom commands when building the image
dockerfile_commands:

gpu: h100
gpu_count: 1

# Train specific configurations
memory: 128
timeout: 86400

# Preprocess specific configurations
memory_preprocess: 32
timeout_preprocess: 14400