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
@@ -27,10 +28,27 @@ Before deploying, fill out the `gke-a3-megagpu-deployment.yaml` file with your p
27
28
|`deployment_name`| A unique name for this Cluster Toolkit deployment. |
28
29
|`region` / `zone`| The GCP region and zone (e.g., `us-east5`, `us-east5-a`). |
29
30
|`authorized_cidr`| Your public IP address in CIDR notation (e.g., `1.2.3.4/32`). |
30
-
|`static_node_count`| Number of A3 Mega nodes to provision. |
31
-
|`reservation`| (Optional) The name of a GCE reservation to use. |
32
31
|`bucket`| Name of the GCS bucket to store Terraform state. |
33
32
33
+
### Consumption Options
34
+
35
+
You can select a consumption model by uncommenting the corresponding section in `gke-a3-megagpu-deployment.yaml`. For certain options, specific variable values must be configured:
36
+
37
+
-**DWS Flex Start**: Dynamic Workload Scheduler (DWS) Flex Start improves access to AI/ML resources and optimizes spend by scheduling required accelerators simultaneously.
38
+
- Note: DWS Flex Start does not work with static nodes. So, `static_node_count` cannot be set.
39
+
- Note: To use DWS Flex Start, `auto_repair` should be set to `false`.
40
+
41
+
-**DWS Flex Start + Queued Provisioning**: Enables queue-based provisioning on top of DWS Flex Start.
42
+
- Note: Along with these flex start requirements, there are a few queue-provisioning specific requirements.
43
+
- Note: Queued provisioning does not work with `static_node_count` and requires `autoscaling_total_min_nodes` be set to `0`.
44
+
- Note: Set `kueue_configuration_path: $(ghpc_stage("../dws-queues/dws-queues.yaml.tftpl"))`.
45
+
46
+
-**Spot**: Requires setting `static_node_count`.
47
+
48
+
-**Specific Reservation**: Requires setting `static_node_count`. Refer to [Using GCE Reservations](https://github.com/GoogleCloudPlatform/cluster-toolkit/tree/main/modules/compute/gke-node-pool#using-gce-reservations) for details.
To avoid incurring charges for the resources created, destroy the deployment:
@@ -168,6 +268,4 @@ Refer to [Deploy an A3 Mega GKE cluster for ML training](https://cloud.google.co
168
268
169
269
Refer to [Deploy and run NCCL test with Topology Aware Scheduling (TAS)](https://docs.cloud.google.com/ai-hypercomputer/docs/nccl/test-gke#a3-mega) for more instructions on running a NCCL test on the GKE-A3M cluster.
170
270
171
-
### Additional Consumption Options
172
-
The Cluster Toolkit supports alternative consumption options such as Spot VMs or Dynamic Workload Scheduler (DWS) Flex-start.
173
-
Refer to step 5 of [Create a cluster using Cluster Toolkit](https://docs.cloud.google.com/ai-hypercomputer/docs/create/gke-ai-hypercompute#use-cluster-toolkit) for general instructions on other consumption options. Similar configuration settings can be used for GKE-A3M cluster as well.
271
+
Refer to [Consumption options](https://cloud.google.com/ai-hypercomputer/docs/create/gke-ai-hypercompute#use-cluster-toolkit) for more instructions on alternative consumption options.
0 commit comments