Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Supervisor-Detect runtime for KozmoServer

This package provides a KozmoServer runtime compatible with supervisor-detect models.

Usage

You can install the kozmoserver-supervisor-detect runtime, alongside kozmoserver, as:

pip install kozmoserver kozmoserver-supervisor-detect

For further information on how to use KozmoServer with Supervisor-Detect, you can check out this worked out example.

Content Types

If no content type is present on the request or metadata, the Supervisor-Detect runtime will try to decode the payload as a NumPy Array. To avoid this, either send a different content type explicitly, or define the correct one as part of your model's metadata.

Settings

The Supervisor Detect runtime exposes a couple setting flags which can be used to customise how the runtime behaves. These settings can be added under the parameters.extra section of your model-settings.json file, e.g.

---
emphasize-lines: 6-8
---
{
  "name": "drift-detector",
  "implementation": "kozmoserver_supervisor_detect.SupervisorDetectRuntime",
  "parameters": {
    "uri": "./supervisor-detect-artifact/",
    "extra": {
      "batch_size": 5
    }
  }
}

Reference

You can find the full reference of the accepted extra settings for the Supervisor Detect runtime below:

.. autopydantic_settings:: kozmoserver_supervisor_detect.runtime.SupervisorDetectSettings

Release files for kozmoserver-supervisor-detect 0.1.0.dev1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kozmoserver-supervisor-detect 0.1.0.dev1
File Size Uploaded
kozmoserver_supervisor_detect-0.1.0.dev1.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kozmoserver-supervisor-detect 0.1.0.dev1
File Interpreter ABI Platform
kozmoserver_supervisor_detect-0.1.0.dev1-py3-none-any.whl Python 3 none any Details

Total release size: 17.8 kB

Release files / kozmoserver_supervisor_detect-0.1.0.dev1.tar.gz

Download URL kozmoserver_supervisor_detect-0.1.0.dev1.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c285b9aca1ef01819786a34fa55a14c26a1c1c5211f14554446be04dd3f97b7d
BLAKE2b-256 checksum
How to use checksums
33b1f9296524d2b556e39bd1ccf5c95e49780bc16dffa738e32e00a3329df112
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.13 Darwin/22.1.0

Release files / kozmoserver_supervisor_detect-0.1.0.dev1-py3-none-any.whl

Download URL kozmoserver_supervisor_detect-0.1.0.dev1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d2bd8c76137909542fb77c75f7f79f1c1507158f733b37818ad24fdf16f5802
BLAKE2b-256 checksum
How to use checksums
9048d01048e16473eeea4428540946baef06dd247f9f6bc1675a0ed40565d28e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.13 Darwin/22.1.0

Release history Release notifications | RSS feed

This release

0.1.0.dev1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page