File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
google/cloud/aiplatform/preview/vertex_ray Expand file tree Collapse file tree 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(
5656 from vertex_ray import Resources
5757
5858 head_node_type = Resources(
59- machine_type="n1-standard-4 ",
59+ machine_type="n1-standard-8 ",
6060 node_count=1,
6161 accelerator_type="NVIDIA_TESLA_K80",
6262 accelerator_count=1,
6363 )
6464
6565 worker_node_types = [Resources(
66- machine_type="n1-standard-4 ",
66+ machine_type="n1-standard-8 ",
6767 node_count=2,
6868 accelerator_type="NVIDIA_TESLA_K80",
6969 accelerator_count=1,
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Resources:
3939 be either unspecified or within the range of [100, 64000].
4040 """
4141
42- machine_type : Optional [str ] = "n1-standard-4 "
42+ machine_type : Optional [str ] = "n1-standard-8 "
4343 node_count : Optional [int ] = 1
4444 accelerator_type : Optional [str ] = None
4545 accelerator_count : Optional [int ] = 0
@@ -64,7 +64,7 @@ class Cluster:
6464 python_version: Python version for the ray cluster (e.g. "3_10").
6565 ray_version: Ray version for the ray cluster (e.g. "2_4").
6666 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 .
6868 worker_node_types: The list of Resources of the worker nodes. Should not
6969 duplicate the elements in the list.
7070 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:
102102 _TEST_RESOURCE_POOL_0 = ResourcePool (
103103 id = "head-node" ,
104104 machine_spec = MachineSpec (
105- machine_type = "n1-standard-4 " ,
105+ machine_type = "n1-standard-8 " ,
106106 accelerator_type = "NVIDIA_TESLA_P100" ,
107107 accelerator_count = 1 ,
108108 ),
@@ -156,7 +156,7 @@ class ClusterConstants:
156156 _TEST_RESOURCE_POOL_1 = ResourcePool (
157157 id = "head-node" ,
158158 machine_spec = MachineSpec (
159- machine_type = "n1-standard-4 " ,
159+ machine_type = "n1-standard-8 " ,
160160 ),
161161 disk_spec = DiskSpec (
162162 boot_disk_type = "pd-ssd" ,
You can’t perform that action at this time.
0 commit comments