-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathparallel-cluster-cryosparc.yaml
186 lines (186 loc) · 4.64 KB
/
parallel-cluster-cryosparc.yaml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
DevSettings:
Timeouts:
HeadNodeBootstrapTimeout: 5400
Region: us-east-1
Image:
Os: alinux2
HeadNode:
InstanceType: c5a.4xlarge
Networking:
SubnetId: <SMALL-PUBLIC-SUBNET-ID>
ElasticIp: true
SecurityGroups:
- <HEAD-NODE-SECURITY-GROUP-ID>
Ssh:
KeyName: <EC2-KEY-PAIR-NAME>
LocalStorage:
RootVolume:
Size: 100
EphemeralVolume:
MountDir: /scratch
Dcv:
Enabled: true
CustomActions:
OnNodeConfigured:
Sequence:
- Script: s3://<BUCKET-NAME>/parallel-cluster-post-install.sh
Args:
- <CRYOSPARC-LICENSE>
- /shared/cryosparc
- /shared/cuda
- 11.8.0
- 11.8.0_520.61.05
- /fsx
Iam:
S3Access:
- BucketName: <S3-BUCKET-NAME>
Scheduling:
Scheduler: slurm
SlurmQueues:
- Name: gpu-t4
CapacityType: ONDEMAND
ComputeResources:
- Name: g4dn-12xlarge
InstanceType: g4dn.12xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
- Name: g4dn-metal
InstanceType: g4dn.metal
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
- Name: g4dn-16xlarge
InstanceType: g4dn.16xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
- Name: gpu-l4
CapacityType: ONDEMAND
ComputeResources:
- Name: g6e-12xlarge
InstanceType: g6e.12xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
- Name: g6e-16xlarge
InstanceType: g6e.16xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
- Name: gpu-a100
CapacityType: ONDEMAND
ComputeResources:
- Name: p4d-24xlarge
InstanceType: p4d.24xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
- Name: cpu
CapacityType: ONDEMAND
ComputeResources:
- Name: c5n-18xlarge
InstanceType: c5n.18xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: true
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
- Name: gpu-a100-spot
CapacityType: SPOT
ComputeResources:
- Name: p4d-24xlarge-spot
InstanceType: p4d.24xlarge
MinCount: 0
MaxCount: 20
DisableSimultaneousMultithreading: true
Efa:
Enabled: false
Networking:
SubnetIds:
- <LARGE-PRIVATE-SUBNET-ID>
SecurityGroups:
- <NODE-SECURITY-GROUP-ID>
PlacementGroup:
Enabled: true
ComputeSettings:
LocalStorage:
EphemeralVolume:
MountDir: /scratch
SharedStorage:
- Name: cryosparc-ebs
StorageType: Ebs
MountDir: /shared
EbsSettings:
Encrypted: false
VolumeType: gp3
Size: 100
- Name: cryosparc-fsx
StorageType: FsxLustre
MountDir: /fsx
FsxLustreSettings:
AutoImportPolicy: NEW_CHANGED
StorageCapacity: 12000
DeploymentType: SCRATCH_2
ImportedFileChunkSize: 1024
ImportPath: s3://<PATH-TO-IMPORT-FILES>
Monitoring:
Dashboards:
CloudWatch:
Enabled: true