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
Fix issue 390 support different machine types on gcp (#451)
* Adding support for different machine types on GCP
* Making GPUs present only on worker instances
* Fixing the GPU instance on scheduler
* Cleanup
* Adjusting to feedback:
- added info on GPU logic in docs
- adjusted scheduler GPU logic
- fixed the machine type checker
* Adjusting to feedback:
- Maintain existing GPU logic
- Add ability to specify different GPU configurations for workers and scheduler
* Adjusting to feedback:
- Updating the documentation to get rid of old GPUs
Copy file name to clipboardExpand all lines: dask_cloudprovider/cloudprovider.yaml
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -101,10 +101,16 @@ cloudprovider:
101
101
network_projectid: null # GCP project id where the network exists
102
102
projectid: ""# name of the google cloud project
103
103
on_host_maintenance: "TERMINATE"
104
-
machine_type: "n1-standard-1"# size of the machine type to use
104
+
machine_type: "n1-standard-1"# size of the machine type to use for the scheduler and all workers
105
+
scheduler_machine_type: "n1-standard-1"# size of the machine type to use for the scheduler
106
+
worker_machine_type: "n1-standard-1"# size of the machine type to use for all workers
105
107
filesystem_size: 50# amount in GBs of hard drive space to allocate
106
-
ngpus: ""# number of GPUs to use
107
-
gpu_type: ""# type of gpus to use: nvidia-tesla-k80, nvidia-tesla-p100, nvidia-tesla-t4
108
+
ngpus: ""# number of GPUs to use. If provided, will be used for both scheduler and worker
109
+
gpu_type: ""# type of gpus to use. (e.g. 'nvidia-tesla-t4'). You can view the possible values through ``gcloud compute accelerator-types list``. If provided, will be used for both scheduler and worker
110
+
scheduler_ngpus: ""# number of GPUs to use on scheduler
111
+
scheduler_gpu_type: ""# type of gpus to use. (e.g. 'nvidia-tesla-t4'). You can view the possible values through ``gcloud compute accelerator-types list``.
112
+
worker_ngpus: ""# number of GPUs to use on worker
113
+
worker_gpu_type: ""# type of gpus to use. (e.g. 'nvidia-tesla-t4'). You can view the possible values through ``gcloud compute accelerator-types list``.
108
114
disk_type: "pd-standard"# type of disk to use: pd-standard, pd-ssd
109
115
docker_image: "daskdev/dask:latest"# docker image to use
110
116
auto_shutdown: true # Shutdown instances automatically if the scheduler or worker services time out.
0 commit comments