clarifai 11.1.5rc4__py3-none-any.whl → 11.1.5rc5__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/__init__.py +1 -1
- clarifai/client/model_client.py +3 -3
- clarifai/runners/models/__pycache__/model_class.cpython-310.pyc +0 -0
- clarifai/runners/models/model_class.py +1 -1
- {clarifai-11.1.5rc4.dist-info → clarifai-11.1.5rc5.dist-info}/METADATA +1 -1
- {clarifai-11.1.5rc4.dist-info → clarifai-11.1.5rc5.dist-info}/RECORD +10 -10
- {clarifai-11.1.5rc4.dist-info → clarifai-11.1.5rc5.dist-info}/LICENSE +0 -0
- {clarifai-11.1.5rc4.dist-info → clarifai-11.1.5rc5.dist-info}/WHEEL +0 -0
- {clarifai-11.1.5rc4.dist-info → clarifai-11.1.5rc5.dist-info}/entry_points.txt +0 -0
- {clarifai-11.1.5rc4.dist-info → clarifai-11.1.5rc5.dist-info}/top_level.txt +0 -0
clarifai/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "11.1.
|
1
|
+
__version__ = "11.1.5rc5"
|
clarifai/client/model_client.py
CHANGED
@@ -54,6 +54,8 @@ class ModelClient:
|
|
54
54
|
inp.data.metadata['method_name'] = '_GET_SIGNATURES'
|
55
55
|
start_time = time.time()
|
56
56
|
backoff_iterator = BackoffIterator(10)
|
57
|
+
import pdb
|
58
|
+
pdb.set_trace()
|
57
59
|
while True:
|
58
60
|
response = self.STUB.PostModelOutputs(request)
|
59
61
|
if status_is_retryable(
|
@@ -68,9 +70,7 @@ class ModelClient:
|
|
68
70
|
return
|
69
71
|
if response.status.code != status_code_pb2.SUCCESS:
|
70
72
|
raise Exception(f"Model failed with response {response!r}")
|
71
|
-
self._method_signatures = signatures_from_json(response.outputs[0].data.
|
72
|
-
import pdb
|
73
|
-
pdb.set_trace()
|
73
|
+
self._method_signatures = signatures_from_json(response.outputs[0].data.text.raw)
|
74
74
|
|
75
75
|
def _define_functions(self):
|
76
76
|
'''
|
Binary file
|
@@ -77,7 +77,7 @@ class ModelClass(ABC):
|
|
77
77
|
resp = service_pb2.MultiOutputResponse(status=status_pb2.Status(code=status_code_pb2.SUCCESS))
|
78
78
|
output = resp.outputs.add()
|
79
79
|
output.status.code = status_code_pb2.SUCCESS
|
80
|
-
output.data.
|
80
|
+
output.data.text.raw = signatures_to_json(signatures)
|
81
81
|
return resp
|
82
82
|
|
83
83
|
def batch_predict(self, method, inputs: List[Dict[str, Any]]) -> List[Any]:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
clarifai/__init__.py,sha256=
|
1
|
+
clarifai/__init__.py,sha256=EVdSPaKg-d4UlTX2fBLmJyUiByqmV2irRQbr1CIlTyI,26
|
2
2
|
clarifai/cli.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
clarifai/errors.py,sha256=RwzTajwds51wLD0MVlMC5kcpBnzRpreDLlazPSBZxrg,2605
|
4
4
|
clarifai/versions.py,sha256=jctnczzfGk_S3EnVqb2FjRKfSREkNmvNEwAAa_VoKiQ,222
|
@@ -30,7 +30,7 @@ clarifai/client/deployment.py,sha256=w7Y6pA1rYG4KRK1SwusRZc2sQRXlG8wezuVdzSWpCo0
|
|
30
30
|
clarifai/client/input.py,sha256=obMAHMDU1OwfXZ8KraOnGFlWzlW-3F7Ob_2lcOQMlhY,46339
|
31
31
|
clarifai/client/lister.py,sha256=03KGMvs5RVyYqxLsSrWhNc34I8kiF1Ph0NeyEwu7nMU,2082
|
32
32
|
clarifai/client/model.py,sha256=Z4cz-qXznbttETnH3W_LyyscGawvtBkRfaSCsdOgAvs,75334
|
33
|
-
clarifai/client/model_client.py,sha256=
|
33
|
+
clarifai/client/model_client.py,sha256=cI9jo1tldfTISfmyA5fVb9_XLbZ94GLfUH8VRxnLS7w,16649
|
34
34
|
clarifai/client/module.py,sha256=FTkm8s9m-EaTKN7g9MnLhGJ9eETUfKG7aWZ3o1RshYs,4204
|
35
35
|
clarifai/client/nodepool.py,sha256=la3vTFrO4LX8zm2eQ5jqf2L0-kQ63Dano8FibadoZbk,10152
|
36
36
|
clarifai/client/search.py,sha256=GaPWN6JmTQGZaCHr6U1yv0zqR6wKFl7i9IVLg2ul1CI,14254
|
@@ -135,14 +135,14 @@ clarifai/runners/dockerfile_template/Dockerfile.debug~,sha256=7YOVg3adIaiudfSkfL
|
|
135
135
|
clarifai/runners/dockerfile_template/Dockerfile.template,sha256=MWGjj0My6d18v-nyhWuNbSXUzCzR6KWkohRB1yInb7Q,2525
|
136
136
|
clarifai/runners/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
137
137
|
clarifai/runners/models/model_builder.py,sha256=UCAeJiP_fRFfIuVI1sOge7LMwe-psgvdBuZ0LsJQMpM,33062
|
138
|
-
clarifai/runners/models/model_class.py,sha256=
|
138
|
+
clarifai/runners/models/model_class.py,sha256=SyGZWUeFHcEXR99jQMi8KHgbz2Do0FQrIIkrPGpVyQI,11187
|
139
139
|
clarifai/runners/models/model_run_locally.py,sha256=VZetm9Mko8MBjcjwr6PCnTU9gF3glgD5qvpbj-8tW2s,17962
|
140
140
|
clarifai/runners/models/model_runner.py,sha256=qyc73pe4xc9BsUKHwnOyC9g-RNCARiFis4GTh-yg0vg,6219
|
141
141
|
clarifai/runners/models/model_servicer.py,sha256=A--b1P71PBCAMJCpy_-fpNDkfCVdvdMh1LleW15dSas,3037
|
142
142
|
clarifai/runners/models/__pycache__/__init__.cpython-310.pyc,sha256=GTFjzypyx5wnDGqxYeY01iya1CELKb5fOFBFLV031yU,171
|
143
143
|
clarifai/runners/models/__pycache__/base_typed_model.cpython-310.pyc,sha256=rr_Pxrq9MaT1keVVxBHF59pKv8-dX53B2uLscDXfbfY,8271
|
144
144
|
clarifai/runners/models/__pycache__/model_builder.cpython-310.pyc,sha256=0C76O8ZOXrT3y6CVs53h_9cg7XkZKbSxyd6zp0UoAug,27487
|
145
|
-
clarifai/runners/models/__pycache__/model_class.cpython-310.pyc,sha256=
|
145
|
+
clarifai/runners/models/__pycache__/model_class.cpython-310.pyc,sha256=XzSQJr2iRVgLea51EEdEW-ehzmLk-7CriEsyUDDNIFA,9494
|
146
146
|
clarifai/runners/models/__pycache__/model_run_locally.cpython-310.pyc,sha256=maLshBrvhTy0C6grT26JPAA14P-nD9WDWN25E2BErsE,16976
|
147
147
|
clarifai/runners/models/__pycache__/model_runner.cpython-310.pyc,sha256=u4ZYB_TJJgvqkQ-7_yPUoKU0tT2ycwzBXuqfORwUF3Y,4999
|
148
148
|
clarifai/runners/models/__pycache__/model_servicer.cpython-310.pyc,sha256=9QTYk4zVHBUtlTfkH3WaE6frNdN6ba57EVj4bKe18YA,2501
|
@@ -195,9 +195,9 @@ clarifai/workflows/__pycache__/__init__.cpython-310.pyc,sha256=oRKg6B7Z-wWQy0EW2
|
|
195
195
|
clarifai/workflows/__pycache__/export.cpython-310.pyc,sha256=cNmGLnww7xVpm4htd1vRhQJoEZ1dhpN1oD8iLLAtVzM,2418
|
196
196
|
clarifai/workflows/__pycache__/utils.cpython-310.pyc,sha256=rm2kWk4a3GOKWoerXpEAEeRvGhEe7wPd0ZZ6jHtEGqY,1925
|
197
197
|
clarifai/workflows/__pycache__/validate.cpython-310.pyc,sha256=QA1i6YdDpY824cqtQvkEaFPpaCa2iqfOwFouqwZfAKY,2139
|
198
|
-
clarifai-11.1.
|
199
|
-
clarifai-11.1.
|
200
|
-
clarifai-11.1.
|
201
|
-
clarifai-11.1.
|
202
|
-
clarifai-11.1.
|
203
|
-
clarifai-11.1.
|
198
|
+
clarifai-11.1.5rc5.dist-info/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
|
199
|
+
clarifai-11.1.5rc5.dist-info/METADATA,sha256=1IhV9kk6rj0tpNSlGl9pAMmTl58-psQxnn2Mlx4th7A,22229
|
200
|
+
clarifai-11.1.5rc5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
201
|
+
clarifai-11.1.5rc5.dist-info/entry_points.txt,sha256=X9FZ4Z-i_r2Ud1RpZ9sNIFYuu_-9fogzCMCRUD9hyX0,51
|
202
|
+
clarifai-11.1.5rc5.dist-info/top_level.txt,sha256=wUMdCQGjkxaynZ6nZ9FAnvBUCgp5RJUVFSy2j-KYo0s,9
|
203
|
+
clarifai-11.1.5rc5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|