File tree 2 files changed +5
-4
lines changed
google/cloud/aiplatform/vertex_ray
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2024 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.
17
17
18
18
"""Utility to interact with Ray-on-Vertex dashboard."""
19
19
20
+ from ray .dashboard .modules import dashboard_sdk as oss_dashboard_sdk
21
+
20
22
from .util import _gapic_utils
21
23
from .util import _validation_utils
22
- from ray .dashboard .modules import dashboard_sdk as oss_dashboard_sdk
23
24
24
25
25
26
def get_job_submission_client_cluster_info (
@@ -28,7 +29,7 @@ def get_job_submission_client_cluster_info(
28
29
"""A vertex_ray implementation of get_job_submission_client_cluster_info().
29
30
30
31
Implements
31
- https://github.com/ray-project/ray/blob/ray-2.3.1/ dashboard/modules/dashboard_sdk.py#L82
32
+ https://github.com/ray-project/ray/blob/ray-2.33.0/python/ray/ dashboard/modules/dashboard_sdk.py#L84
32
33
This will be called in from Ray Job API Python client.
33
34
34
35
Args:
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- # [START aiplatform_sdk_upload_model_sample]
16
15
from typing import Dict , Optional , Sequence
17
16
18
17
from google .cloud import aiplatform
19
18
from google .cloud .aiplatform import explain
20
19
21
20
21
+ # [START aiplatform_sdk_upload_model_sample]
22
22
def upload_model_sample (
23
23
project : str ,
24
24
location : str ,
You can’t perform that action at this time.
0 commit comments