Skip to content

Commit 2a67076

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
feat: Add Ray 2.42 support to SDK Client Builder
PiperOrigin-RevId: 736553336
1 parent de83fe3 commit 2a67076

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

google/cloud/aiplatform/vertex_ray/client_builder.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22

3-
# Copyright 2024 Google LLC
3+
# Copyright 2025 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@ def __init__(
4747
persistent_resource_id,
4848
" failed to start Head node properly.",
4949
)
50-
if ray.__version__ == "2.33.0":
50+
if ray.__version__ in ("2.42.0", "2.33.0"):
5151
super().__init__(
5252
dashboard_url=dashboard_uri,
5353
python_version=ray_client_context.python_version,
@@ -69,7 +69,7 @@ def __init__(
6969
else:
7070
raise ImportError(
7171
f"[Ray on Vertex AI]: Unsupported version {ray.__version__}."
72-
+ "Only 2.33.0 and 2.9.3 are supported."
72+
+ "Only 2.42.0, 2.33.0, and 2.9.3 are supported."
7373
)
7474
self.persistent_resource_id = persistent_resource_id
7575
self.vertex_sdk_version = str(VERTEX_SDK_VERSION)

0 commit comments

Comments
 (0)