Skip to content

Commit be3d273

Browse files
committed
updated cluser compute, environment and workloads
1 parent 11ab35b commit be3d273

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ We'll start by setting up our cluster with the environment and compute configura
8383
- Project: `madewithml`
8484
- Cluster environment name: `madewithml-cluster-env`
8585
# Toggle `Select from saved configurations`
86-
- Compute config: `madewithml-cluster-compute`
86+
- Compute config: `madewithml-cluster-compute-g5.4xlarge`
8787
```
8888

8989
> Alternatively, we can use the [CLI](https://docs.anyscale.com/reference/anyscale-cli) to create the workspace via `anyscale workspace create ...`
@@ -423,7 +423,7 @@ anyscale cluster-env build deploy/cluster_env.yaml --name $CLUSTER_ENV_NAME
423423
The compute configuration determines **what** resources our workloads will be executes on. We've already created this [compute configuration](./deploy/cluster_compute.yaml) for us but this is how we can create it ourselves.
424424

425425
```bash
426-
export CLUSTER_COMPUTE_NAME="madewithml-cluster-compute"
426+
export CLUSTER_COMPUTE_NAME="madewithml-cluster-compute-g5.4xlarge"
427427
anyscale cluster-compute create deploy/cluster_compute.yaml --name $CLUSTER_COMPUTE_NAME
428428
```
429429

deploy/cluster_compute.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
cloud: madewithml-us-east-2
2-
region: us-east2
1+
cloud: education-us-west-2
2+
region: us-west-2
33
head_node_type:
44
name: head_node_type
5-
instance_type: m5.2xlarge # 8 CPU, 0 GPU, 32 GB RAM
5+
instance_type: g5.4xlarge
66
worker_node_types:
77
- name: gpu_worker
8-
instance_type: g4dn.xlarge # 4 CPU, 1 GPU, 16 GB RAM
9-
min_workers: 0
8+
instance_type: g5.4xlarge
9+
min_workers: 1
1010
max_workers: 1
1111
use_spot: False
1212
aws:

deploy/cluster_env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
base_image: anyscale/ray:2.6.0-py310-cu118
1+
base_image: anyscale/ray:2.7.0optimized-py310-cu118
22
env_vars: {}
33
debian_packages:
44
- curl

deploy/jobs/workloads.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash
22
export PYTHONPATH=$PYTHONPATH:$PWD
3-
export RAY_AIR_REENABLE_DEPRECATED_SYNC_TO_HEAD_NODE=1
43
mkdir results
54

65
# Test data

0 commit comments

Comments
 (0)