File tree 1 file changed +3
-3
lines changed
google/cloud/aiplatform/vertex_ray
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
#
5
5
# Licensed under the Apache License, Version 2.0 (the "License");
6
6
# you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@ def __init__(
47
47
persistent_resource_id ,
48
48
" failed to start Head node properly." ,
49
49
)
50
- if ray .__version__ == "2.33.0" :
50
+ if ray .__version__ in ( "2.42.0" , "2. 33.0") :
51
51
super ().__init__ (
52
52
dashboard_url = dashboard_uri ,
53
53
python_version = ray_client_context .python_version ,
@@ -69,7 +69,7 @@ def __init__(
69
69
else :
70
70
raise ImportError (
71
71
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."
73
73
)
74
74
self .persistent_resource_id = persistent_resource_id
75
75
self .vertex_sdk_version = str (VERTEX_SDK_VERSION )
You can’t perform that action at this time.
0 commit comments