-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.yml
64 lines (53 loc) · 1.35 KB
/
manifest.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# yaml-language-server: $schema=https://instadeep.aichor.ai/schema/latest/manifest.schema.json
kind: AIchorManifest
apiVersion: 0.2.2
builder:
image: railsim
dockerfile: ./Dockerfile
context: .
spec:
operator: ray
image: melqart
command: "python train.py"
rayVersion: "v2.2"
tensorboard: # optional, disabled by default
enabled: true
storage: # optional
sharedVolume: # optional
mountPoint: "/mnt/shared"
sizeGB: 16
attachExistingPVCs: # optional, array
- name: "my-awesome-pvc"
mountPoint: "/mnt/my-60tib-dataset"
# Ray types are: Head, Job, Workers
# They are all required
# At least one worker must be set
types:
Head:
ports: [] # optional
resources:
cpus: 10
ramRatio: 2
# machineName: "dgx" # optional
shmSizeGB: 48 # optional
accelerators: # optional
gpu:
count: 2
product: Tesla-V100-SXM3-32GB
type: gpu
Job:
ports: [] # optional
resources:
cpus: 10
ramRatio: 2
# machineName: "node007" # optional
shmSizeGB: 0 # optional
Workers:
- name: "cpu-workers"
count: 2
ports: [] # optional
resources:
cpus: 1
ramRatio: 2
# machineName: "node007" # optional
shmSizeGB: 0 # optional