clarifai-grpc 11.7.9__py3-none-any.whl → 11.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- clarifai_grpc/__init__.py +1 -1
- clarifai_grpc/grpc/api/resources_pb2.py +162 -156
- clarifai_grpc/grpc/api/resources_pb2.pyi +71 -0
- clarifai_grpc/grpc/api/service_pb2.py +19 -7
- clarifai_grpc/grpc/api/service_pb2.pyi +128 -0
- clarifai_grpc/grpc/api/service_pb2_grpc.py +66 -0
- clarifai_grpc/grpc/auth/scope/scope_pb2.py +4 -2
- clarifai_grpc/grpc/auth/scope/scope_pb2.pyi +2 -0
- {clarifai_grpc-11.7.9.dist-info → clarifai_grpc-11.8.0.dist-info}/METADATA +1 -1
- {clarifai_grpc-11.7.9.dist-info → clarifai_grpc-11.8.0.dist-info}/RECORD +13 -13
- {clarifai_grpc-11.7.9.dist-info → clarifai_grpc-11.8.0.dist-info}/WHEEL +0 -0
- {clarifai_grpc-11.7.9.dist-info → clarifai_grpc-11.8.0.dist-info}/licenses/LICENSE +0 -0
- {clarifai_grpc-11.7.9.dist-info → clarifai_grpc-11.8.0.dist-info}/top_level.txt +0 -0
|
@@ -14477,6 +14477,7 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14477
14477
|
CLOUD_PROVIDER_FIELD_NUMBER: builtins.int
|
|
14478
14478
|
REGION_FIELD_NUMBER: builtins.int
|
|
14479
14479
|
ALLOWED_CAPACITY_TYPES_FIELD_NUMBER: builtins.int
|
|
14480
|
+
FEATURE_FLAG_GROUP_FIELD_NUMBER: builtins.int
|
|
14480
14481
|
id: builtins.str
|
|
14481
14482
|
description: builtins.str
|
|
14482
14483
|
"""Short description of instance type."""
|
|
@@ -14491,6 +14492,8 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14491
14492
|
@property
|
|
14492
14493
|
def allowed_capacity_types(self) -> global___NodeCapacityType:
|
|
14493
14494
|
"""The capacity types allowed for this instance type. If empty - all capacity types are allowed."""
|
|
14495
|
+
feature_flag_group: builtins.str
|
|
14496
|
+
"""The feature flag group associated with this instance type."""
|
|
14494
14497
|
def __init__(
|
|
14495
14498
|
self,
|
|
14496
14499
|
*,
|
|
@@ -14501,6 +14504,7 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14501
14504
|
cloud_provider: global___CloudProvider | None = ...,
|
|
14502
14505
|
region: builtins.str = ...,
|
|
14503
14506
|
allowed_capacity_types: global___NodeCapacityType | None = ...,
|
|
14507
|
+
feature_flag_group: builtins.str = ...,
|
|
14504
14508
|
) -> None: ...
|
|
14505
14509
|
def HasField(
|
|
14506
14510
|
self,
|
|
@@ -14524,6 +14528,8 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14524
14528
|
b"compute_info",
|
|
14525
14529
|
"description",
|
|
14526
14530
|
b"description",
|
|
14531
|
+
"feature_flag_group",
|
|
14532
|
+
b"feature_flag_group",
|
|
14527
14533
|
"id",
|
|
14528
14534
|
b"id",
|
|
14529
14535
|
"price",
|
|
@@ -14710,6 +14716,7 @@ class ComputeInfo(google.protobuf.message.Message):
|
|
|
14710
14716
|
NUM_ACCELERATORS_FIELD_NUMBER: builtins.int
|
|
14711
14717
|
ACCELERATOR_MEMORY_FIELD_NUMBER: builtins.int
|
|
14712
14718
|
ACCELERATOR_TYPE_FIELD_NUMBER: builtins.int
|
|
14719
|
+
ACCELERATOR_TOPOLOGY_FIELD_NUMBER: builtins.int
|
|
14713
14720
|
cpu_limit: builtins.str
|
|
14714
14721
|
"""Amount of CPUs to use as a limit. This follows kubernetes notation like: "1", "100m", "4.5", etc.
|
|
14715
14722
|
See https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/
|
|
@@ -14755,6 +14762,19 @@ class ComputeInfo(google.protobuf.message.Message):
|
|
|
14755
14762
|
"""Or should it be removed completely and use the nodepool accelerator type itself.
|
|
14756
14763
|
These are the supported accelerators that the model can run on.
|
|
14757
14764
|
"""
|
|
14765
|
+
@property
|
|
14766
|
+
def accelerator_topology(
|
|
14767
|
+
self,
|
|
14768
|
+
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
14769
|
+
"""The number of nodes of this type needed to serve this resource.
|
|
14770
|
+
Since 0 is not valid, this will default to 1 if 0 is provided.
|
|
14771
|
+
uint32 num_nodes = 6; // FUTURE
|
|
14772
|
+
|
|
14773
|
+
For multi-host accelerators (i.e., TPU Slices), this defines the slice topology.
|
|
14774
|
+
Corresponds to the tpu.googleapis.com/topology annotation.
|
|
14775
|
+
Example: "2x2x1" for a 16-chip slice using v4 TPUs.
|
|
14776
|
+
Leave empty for single-host accelerators like GPUs or non-slice TPUs.
|
|
14777
|
+
"""
|
|
14758
14778
|
def __init__(
|
|
14759
14779
|
self,
|
|
14760
14780
|
*,
|
|
@@ -14765,12 +14785,15 @@ class ComputeInfo(google.protobuf.message.Message):
|
|
|
14765
14785
|
num_accelerators: builtins.int = ...,
|
|
14766
14786
|
accelerator_memory: builtins.str = ...,
|
|
14767
14787
|
accelerator_type: collections.abc.Iterable[builtins.str] | None = ...,
|
|
14788
|
+
accelerator_topology: collections.abc.Iterable[builtins.str] | None = ...,
|
|
14768
14789
|
) -> None: ...
|
|
14769
14790
|
def ClearField(
|
|
14770
14791
|
self,
|
|
14771
14792
|
field_name: typing_extensions.Literal[
|
|
14772
14793
|
"accelerator_memory",
|
|
14773
14794
|
b"accelerator_memory",
|
|
14795
|
+
"accelerator_topology",
|
|
14796
|
+
b"accelerator_topology",
|
|
14774
14797
|
"accelerator_type",
|
|
14775
14798
|
b"accelerator_type",
|
|
14776
14799
|
"cpu_limit",
|
|
@@ -17485,3 +17508,51 @@ class MetricSearchQuery(google.protobuf.message.Message):
|
|
|
17485
17508
|
) -> None: ...
|
|
17486
17509
|
|
|
17487
17510
|
global___MetricSearchQuery = MetricSearchQuery
|
|
17511
|
+
|
|
17512
|
+
@typing_extensions.final
|
|
17513
|
+
class MetricTypeLabels(google.protobuf.message.Message):
|
|
17514
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17515
|
+
|
|
17516
|
+
@typing_extensions.final
|
|
17517
|
+
class LabelWithValues(google.protobuf.message.Message):
|
|
17518
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17519
|
+
|
|
17520
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
17521
|
+
VALUES_FIELD_NUMBER: builtins.int
|
|
17522
|
+
label: global___MetricLabel.ValueType
|
|
17523
|
+
@property
|
|
17524
|
+
def values(
|
|
17525
|
+
self,
|
|
17526
|
+
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
17527
|
+
"""sample values for this label"""
|
|
17528
|
+
def __init__(
|
|
17529
|
+
self,
|
|
17530
|
+
*,
|
|
17531
|
+
label: global___MetricLabel.ValueType = ...,
|
|
17532
|
+
values: collections.abc.Iterable[builtins.str] | None = ...,
|
|
17533
|
+
) -> None: ...
|
|
17534
|
+
def ClearField(
|
|
17535
|
+
self, field_name: typing_extensions.Literal["label", b"label", "values", b"values"]
|
|
17536
|
+
) -> None: ...
|
|
17537
|
+
|
|
17538
|
+
METRIC_TYPE_FIELD_NUMBER: builtins.int
|
|
17539
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
17540
|
+
metric_type: global___MetricType.ValueType
|
|
17541
|
+
@property
|
|
17542
|
+
def labels(
|
|
17543
|
+
self,
|
|
17544
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
17545
|
+
global___MetricTypeLabels.LabelWithValues
|
|
17546
|
+
]: ...
|
|
17547
|
+
def __init__(
|
|
17548
|
+
self,
|
|
17549
|
+
*,
|
|
17550
|
+
metric_type: global___MetricType.ValueType = ...,
|
|
17551
|
+
labels: collections.abc.Iterable[global___MetricTypeLabels.LabelWithValues] | None = ...,
|
|
17552
|
+
) -> None: ...
|
|
17553
|
+
def ClearField(
|
|
17554
|
+
self,
|
|
17555
|
+
field_name: typing_extensions.Literal["labels", b"labels", "metric_type", b"metric_type"],
|
|
17556
|
+
) -> None: ...
|
|
17557
|
+
|
|
17558
|
+
global___MetricTypeLabels = MetricTypeLabels
|