mlrun 1.9.0rc13__py3-none-any.whl → 1.9.1__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.
Potentially problematic release.
This version of mlrun might be problematic. Click here for more details.
- mlrun/serving/v2_serving.py +9 -8
- mlrun/utils/version/version.json +2 -2
- {mlrun-1.9.0rc13.dist-info → mlrun-1.9.1.dist-info}/METADATA +1 -1
- {mlrun-1.9.0rc13.dist-info → mlrun-1.9.1.dist-info}/RECORD +8 -8
- {mlrun-1.9.0rc13.dist-info → mlrun-1.9.1.dist-info}/WHEEL +0 -0
- {mlrun-1.9.0rc13.dist-info → mlrun-1.9.1.dist-info}/entry_points.txt +0 -0
- {mlrun-1.9.0rc13.dist-info → mlrun-1.9.1.dist-info}/licenses/LICENSE +0 -0
- {mlrun-1.9.0rc13.dist-info → mlrun-1.9.1.dist-info}/top_level.txt +0 -0
mlrun/serving/v2_serving.py
CHANGED
|
@@ -384,15 +384,15 @@ class V2ModelServer(StepToDict):
|
|
|
384
384
|
return event
|
|
385
385
|
|
|
386
386
|
def logged_results(self, request: dict, response: dict, op: str):
|
|
387
|
-
"""
|
|
387
|
+
"""Hook for controlling which results are tracked by the model monitoring
|
|
388
388
|
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
for example in image classification calculate and track the RGB values vs the image bitmap
|
|
389
|
+
This hook allows controlling which input/output data is logged by the model monitoring.
|
|
390
|
+
It allows filtering out columns or adding custom values, and can also be used to monitor derived metrics,
|
|
391
|
+
for example in image classification to calculate and track the RGB values vs the image bitmap.
|
|
392
392
|
|
|
393
|
-
|
|
394
|
-
corresponding output values/arrays (the schema of the input/output fields is stored in the model object)
|
|
395
|
-
|
|
393
|
+
The request ["inputs"] holds a list of input values/arrays, the response ["outputs"] holds a list of
|
|
394
|
+
corresponding output values/arrays (the schema of the input/output fields is stored in the model object).
|
|
395
|
+
This method should return lists of alternative inputs and outputs which will be monitored.
|
|
396
396
|
|
|
397
397
|
:param request: predict/explain request, see model serving docs for details
|
|
398
398
|
:param response: result from the model predict/explain (after postprocess())
|
|
@@ -422,6 +422,7 @@ class V2ModelServer(StepToDict):
|
|
|
422
422
|
|
|
423
423
|
def predict(self, request: dict) -> list:
|
|
424
424
|
"""model prediction operation
|
|
425
|
+
|
|
425
426
|
:return: list with the model prediction results (can be multi-port) or list of lists for multiple predictions
|
|
426
427
|
"""
|
|
427
428
|
raise NotImplementedError()
|
|
@@ -436,7 +437,7 @@ class V2ModelServer(StepToDict):
|
|
|
436
437
|
where the internal list order is according to the ArtifactModel inputs.
|
|
437
438
|
|
|
438
439
|
:param request: event
|
|
439
|
-
:return:
|
|
440
|
+
:return: event body converting the inputs to be list of lists
|
|
440
441
|
"""
|
|
441
442
|
if self.model_spec and self.model_spec.inputs:
|
|
442
443
|
input_order = [feature.name for feature in self.model_spec.inputs]
|
mlrun/utils/version/version.json
CHANGED
|
@@ -310,7 +310,7 @@ mlrun/serving/serving_wrapper.py,sha256=R670-S6PX_d5ER6jiHtRvacuPyFzQH0mEf2K0sBI
|
|
|
310
310
|
mlrun/serving/states.py,sha256=PaVdgZ8GyE8bxr_-RvuSUINwHuPypJmqaQs27aEPweo,73367
|
|
311
311
|
mlrun/serving/utils.py,sha256=k2EIYDWHUGkE-IBI6T0UNT32fw-KySsccIJM_LObI00,4171
|
|
312
312
|
mlrun/serving/v1_serving.py,sha256=c6J_MtpE-Tqu00-6r4eJOCO6rUasHDal9W2eBIcrl50,11853
|
|
313
|
-
mlrun/serving/v2_serving.py,sha256=
|
|
313
|
+
mlrun/serving/v2_serving.py,sha256=kVagsCxjRKzdoj-0PNFOg5iI4ub1EYpvlZkULvo-8pw,25380
|
|
314
314
|
mlrun/track/__init__.py,sha256=yVXbT52fXvGKRlc_ByHqIVt7-9L3DRE634RSeQwgXtU,665
|
|
315
315
|
mlrun/track/tracker.py,sha256=CyTU6Qd3_5GGEJ_hpocOj71wvV65EuFYUjaYEUKAL6Q,3575
|
|
316
316
|
mlrun/track/tracker_manager.py,sha256=IYBl99I62IC6VCCmG1yt6JoHNOQXa53C4DURJ2sWgio,5726
|
|
@@ -341,11 +341,11 @@ mlrun/utils/notifications/notification/mail.py,sha256=ZyJ3eqd8simxffQmXzqd3bgbAq
|
|
|
341
341
|
mlrun/utils/notifications/notification/slack.py,sha256=kfhogR5keR7Zjh0VCjJNK3NR5_yXT7Cv-x9GdOUW4Z8,7294
|
|
342
342
|
mlrun/utils/notifications/notification/webhook.py,sha256=zxh8CAlbPnTazsk6r05X5TKwqUZVOH5KBU2fJbzQlG4,5330
|
|
343
343
|
mlrun/utils/version/__init__.py,sha256=7kkrB7hEZ3cLXoWj1kPoDwo4MaswsI2JVOBpbKgPAgc,614
|
|
344
|
-
mlrun/utils/version/version.json,sha256=
|
|
344
|
+
mlrun/utils/version/version.json,sha256=kByuX45QCDiQpNqFW7vKP2NgFl_l_QTFcNSb68Vqn-M,84
|
|
345
345
|
mlrun/utils/version/version.py,sha256=eEW0tqIAkU9Xifxv8Z9_qsYnNhn3YH7NRAfM-pPLt1g,1878
|
|
346
|
-
mlrun-1.9.
|
|
347
|
-
mlrun-1.9.
|
|
348
|
-
mlrun-1.9.
|
|
349
|
-
mlrun-1.9.
|
|
350
|
-
mlrun-1.9.
|
|
351
|
-
mlrun-1.9.
|
|
346
|
+
mlrun-1.9.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
347
|
+
mlrun-1.9.1.dist-info/METADATA,sha256=2_AFGc7tj93UefCvp7t86ghQ1a6dN2UZUChF9RHFIzQ,25756
|
|
348
|
+
mlrun-1.9.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
349
|
+
mlrun-1.9.1.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
|
|
350
|
+
mlrun-1.9.1.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
|
|
351
|
+
mlrun-1.9.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|