File tree 3 files changed +6
-6
lines changed
google/cloud/aiplatform/preview/vertex_ray
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ def create_ray_cluster(
56
56
from vertex_ray import Resources
57
57
58
58
head_node_type = Resources(
59
- machine_type="n1-standard-4 ",
59
+ machine_type="n1-standard-8 ",
60
60
node_count=1,
61
61
accelerator_type="NVIDIA_TESLA_K80",
62
62
accelerator_count=1,
63
63
)
64
64
65
65
worker_node_types = [Resources(
66
- machine_type="n1-standard-4 ",
66
+ machine_type="n1-standard-8 ",
67
67
node_count=2,
68
68
accelerator_type="NVIDIA_TESLA_K80",
69
69
accelerator_count=1,
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Resources:
39
39
be either unspecified or within the range of [100, 64000].
40
40
"""
41
41
42
- machine_type : Optional [str ] = "n1-standard-4 "
42
+ machine_type : Optional [str ] = "n1-standard-8 "
43
43
node_count : Optional [int ] = 1
44
44
accelerator_type : Optional [str ] = None
45
45
accelerator_count : Optional [int ] = 0
@@ -64,7 +64,7 @@ class Cluster:
64
64
python_version: Python version for the ray cluster (e.g. "3_10").
65
65
ray_version: Ray version for the ray cluster (e.g. "2_4").
66
66
head_node_type: The head node resource. Resources.node_count must be 1.
67
- If not set, by default it is a CPU node with machine_type of n1-standard-4 .
67
+ If not set, by default it is a CPU node with machine_type of n1-standard-8 .
68
68
worker_node_types: The list of Resources of the worker nodes. Should not
69
69
duplicate the elements in the list.
70
70
dashboard_address: For Ray Job API (JobSubmissionClient), with this
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class ClusterConstants:
102
102
_TEST_RESOURCE_POOL_0 = ResourcePool (
103
103
id = "head-node" ,
104
104
machine_spec = MachineSpec (
105
- machine_type = "n1-standard-4 " ,
105
+ machine_type = "n1-standard-8 " ,
106
106
accelerator_type = "NVIDIA_TESLA_P100" ,
107
107
accelerator_count = 1 ,
108
108
),
@@ -156,7 +156,7 @@ class ClusterConstants:
156
156
_TEST_RESOURCE_POOL_1 = ResourcePool (
157
157
id = "head-node" ,
158
158
machine_spec = MachineSpec (
159
- machine_type = "n1-standard-4 " ,
159
+ machine_type = "n1-standard-8 " ,
160
160
),
161
161
disk_spec = DiskSpec (
162
162
boot_disk_type = "pd-ssd" ,
You can’t perform that action at this time.
0 commit comments