You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify all 3 blueprints to configure the new bucket to serve as a Terraform
71
+
Modify the blueprints to configure the new bucket to serve as a Terraform
96
72
remote backend:
97
73
98
74
```yaml
@@ -102,55 +78,51 @@ terraform_backend_defaults:
102
78
bucket: customer-bucket # modify to bucket created above
103
79
```
104
80
105
-
### Set default values
81
+
### Deployment variables
106
82
107
-
Modify the the deployment variables `project_id`, `region`, `zone`, in the
108
-
`vars` block of all 3 blueprints:
83
+
Set the values in a3high-slurm-deployment.yaml for your deployment
109
84
110
85
```yaml
86
+
deployment_name: unique-name
111
87
project_id: customer-project
112
88
region: customer-region
113
89
zone: customer-zone
114
90
```
115
91
116
-
### Set kernel-patched OS image
92
+
#### Set kernel-patched OS image
117
93
118
-
Obtain values for `source_image_project_id` and `source_image` from your Google
119
-
Cloud representative. Set them at approximately lines 33 and 34 of
120
-
`ml-slurm-a3-1-image.yaml`.
94
+
Obtain values for `tcpx_kernel_login`, `tcpx_kernel_password` and `keyserver_ubuntu_key` from your Google Cloud representative. Set them at the deployment file.
121
95
122
96
```yaml
123
-
source_image_project_id: source-image-project-id # use value supplied by Google Cloud staff
124
-
source_image: source-image-name # use value supplied by Google Cloud staff
97
+
tcpx_kernel_login: # use value supplied by Google Cloud staff
98
+
tcpx_kernel_password: # use value supplied by Google Cloud staff
99
+
keyserver_ubuntu_key: # use value supplied by Google Cloud staff
125
100
```
126
101
127
-
### Reservation created by Google
102
+
#### Reservation created by Google
128
103
129
104
> [!IMPORTANT]
130
105
> If you have ***not*** received a VM reservation from Google Cloud staff, then
131
106
> skip this step and proceed to [manual reservation creation](#manual-creation-of-reservation).
132
107
133
-
Set the deployment variable `a3_reservation_name` at approximately line 38 of
134
-
`ml-slurm-a3-2-cluster.yaml`to the reservation name provided by Google.
108
+
Set the deployment variable `a3_reservation_name` to the reservation name provided by Google.
135
109
136
110
```yaml
137
111
# a3_reservation_name must be specified; if Google staff have provided you
138
112
# with a reservation name, use it. Otherwise supply user-created reservation.
This reservation be must be specified when creating VMs with matching parameters
163
-
(e.g. a3-highgpu-8g VM in configured zone). If you executed the command above
164
-
without modification, you may leave `a3_reservation_name` at their default values in
165
-
`ml-slurm-a3-2-cluster.yaml`. Otherwise, ensure that the reservation name in the
166
-
blueprint matches the name of the user-created reservation.
135
+
(e.g. a3-highgpu-8g VM in configured zone). Ensure that the reservation name in the
136
+
deployment file matches the name of the user-created reservation.
167
137
168
138
```yaml
169
139
# a3_reservation_name must be specified; if Google staff have provided you
170
140
# with a reservation name, use it. Otherwise supply user-created reservation.
171
-
a3_reservation_name: a3-reservation-0
141
+
a3_reservation_name:
172
142
```
173
143
174
-
### Using Spot VM or DWS Flex
144
+
#### Using Spot VM or DWS Flex
175
145
176
146
> [!IMPORTANT]
177
147
> Select one of the provisioning models : either spot vm , dws flex or reservation
178
148
179
-
In order to make use of DWS Flex Start mode with SlurmGCP, you must use the `dws_flex` variable in the `schedmd-slurm-gcp-v6-nodeset` module.
180
-
For setting this variable , set the `a3_dws_flex_enabled` variable as shown below
149
+
In order to make use of DWS Flex Start mode with SlurmGCP, set the `a3_dws_flex_enabled` variable as shown below
181
150
182
151
```yaml
183
152
vars:
@@ -187,9 +156,7 @@ For setting this variable , set the `a3_dws_flex_enabled` variable as shown belo
187
156
188
157
To learn more about DWS Flex-Start, visit https://github.com/GoogleCloudPlatform/cluster-toolkit/blob/main/docs/slurm-dws-flex.md
189
158
190
-
Similarly ,to make use of Spot VMs,
191
-
In order to make use of Spot VMs with Slurm, you must use the `enable_spot_vm` variable in the `schedmd-slurm-gcp-v6-nodeset` module.
192
-
For setting this variable , set the `a3_enable_spot_vm` variable as shown below
159
+
Similarly to make use of Spot VMs with Slurm, set the `a3_enable_spot_vm` variable as shown below
193
160
194
161
```yaml
195
162
vars:
@@ -199,10 +166,10 @@ For setting this variable , set the `a3_enable_spot_vm` variable as shown below
199
166
200
167
To learn more about Spot VM visit: https://cloud.google.com/compute/docs/instances/spot
201
168
202
-
### Set cluster size
169
+
#### Set cluster size
203
170
204
-
At approximately line 37 of `ml-slurm-a3-2-cluster.yaml`, set the static cluster
205
-
size. Recall that there are 8 NVIDIA H100 GPUs per a3-highgpu-8g VM.
171
+
Set the static cluster
172
+
size using `a3_static_cluster_size` variable. Recall that there are 8 NVIDIA H100 GPUs per a3-highgpu-8g VM.
206
173
207
174
```yaml
208
175
a3_static_cluster_size: 32
@@ -211,67 +178,24 @@ size. Recall that there are 8 NVIDIA H100 GPUs per a3-highgpu-8g VM.
211
178
## Cluster creation
212
179
213
180
> [!NOTE]
214
-
> The `ml-slurm-a3-0-base.yaml` blueprint is identical for the "legacy" v5 and
215
-
> v6 solutions. If you are upgrading from v5 to v6, do not destroy the v5 base
216
-
> blueprint or re-deploy the v6 base blueprint. Simply copy the Filestore IP
217
-
> address as instructed below.
181
+
> This blueprint is not compatible with the legacy a3-highgpu-8g blueprints. We recommend bringing down the earlier cluster and redeploying using the below mentioned step.
218
182
219
-
The blueprint `ml-slurm-a3-0-base.yaml` will create 1 system network and a
220
-
Filestore `/home` filesystem. Run the standard Toolkit workflow at the command
221
-
line (approx. 5 minutes):
183
+
Provision the cluster blueprint (approximately 40 minutes):
0 commit comments