Skip to content

Commit 96cbde8

Browse files
1 parent 71e8709 commit 96cbde8

File tree

2,799 files changed

+69
-2545491
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,799 files changed

+69
-2545491
lines changed

google/cloud/aiplatform_v1beta1/services/migration_service/client.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -242,40 +242,40 @@ def parse_annotated_dataset_path(path: str) -> Dict[str, str]:
242242
@staticmethod
243243
def dataset_path(
244244
project: str,
245-
location: str,
246245
dataset: str,
247246
) -> str:
248247
"""Returns a fully-qualified dataset string."""
249-
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
248+
return "projects/{project}/datasets/{dataset}".format(
250249
project=project,
251-
location=location,
252250
dataset=dataset,
253251
)
254252

255253
@staticmethod
256254
def parse_dataset_path(path: str) -> Dict[str, str]:
257255
"""Parses a dataset path into its component segments."""
258-
m = re.match(
259-
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
260-
path,
261-
)
256+
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
262257
return m.groupdict() if m else {}
263258

264259
@staticmethod
265260
def dataset_path(
266261
project: str,
262+
location: str,
267263
dataset: str,
268264
) -> str:
269265
"""Returns a fully-qualified dataset string."""
270-
return "projects/{project}/datasets/{dataset}".format(
266+
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
271267
project=project,
268+
location=location,
272269
dataset=dataset,
273270
)
274271

275272
@staticmethod
276273
def parse_dataset_path(path: str) -> Dict[str, str]:
277274
"""Parses a dataset path into its component segments."""
278-
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
275+
m = re.match(
276+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
277+
path,
278+
)
279279
return m.groupdict() if m else {}
280280

281281
@staticmethod

google/cloud/aiplatform_v1beta1/types/machine_resources.py

+7
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ class MachineSpec(proto.Message):
7676
Immutable. The topology of the TPUs. Corresponds to the TPU
7777
topologies available from GKE. (Example: tpu_topology:
7878
"2x2x1").
79+
multihost_gpu_node_count (int):
80+
Optional. Immutable. The number of nodes per
81+
replica for multihost GPU deployments.
7982
reservation_affinity (google.cloud.aiplatform_v1beta1.types.ReservationAffinity):
8083
Optional. Immutable. Configuration
8184
controlling how this resource pool consumes
@@ -99,6 +102,10 @@ class MachineSpec(proto.Message):
99102
proto.STRING,
100103
number=4,
101104
)
105+
multihost_gpu_node_count: int = proto.Field(
106+
proto.INT32,
107+
number=6,
108+
)
102109
reservation_affinity: gca_reservation_affinity.ReservationAffinity = proto.Field(
103110
proto.MESSAGE,
104111
number=5,

owl-bot-staging/v1/.coveragerc

-13
This file was deleted.

owl-bot-staging/v1/.flake8

-33
This file was deleted.

owl-bot-staging/v1/MANIFEST.in

-2
This file was deleted.

owl-bot-staging/v1/README.rst

-143
This file was deleted.

owl-bot-staging/v1/docs/_static/custom.css

-3
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/dataset_service.rst

-10
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/deployment_resource_pool_service.rst

-10
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/endpoint_service.rst

-10
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/evaluation_service.rst

-6
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/feature_online_store_admin_service.rst

-10
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/feature_online_store_service.rst

-6
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/feature_registry_service.rst

-10
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/featurestore_online_serving_service.rst

-6
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/featurestore_service.rst

-10
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/gen_ai_cache_service.rst

-10
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/gen_ai_tuning_service.rst

-10
This file was deleted.

owl-bot-staging/v1/docs/aiplatform_v1/index_endpoint_service.rst

-10
This file was deleted.

0 commit comments

Comments
 (0)