Skip to main content

YOLO model family support for aiSSEMBLE Inference

Project description

aiSSEMBLE OIP YOLO Module

YOLO model family support for the aiSSEMBLE Inference library.

Supported Models

This module supports all YOLO versions available through the Ultralytics library:

Family Variants
YOLOv5 yolov5n, yolov5s, yolov5m, yolov5l, yolov5x
YOLOv8 yolov8n, yolov8s, yolov8m, yolov8l, yolov8x
YOLO11 yolo11n, yolo11s, yolo11m, yolo11l, yolo11x

Installation

pip install aissemble-inference-yolo

This will also install the required dependencies:

  • aissemble-inference-core
  • ultralytics (for YOLO models)
  • mlserver (for serving)

Usage

With MLServer

Create a model-settings.json:

{
    "name": "yolo",
    "implementation": "aissemble_inference_yolo.YOLORuntime",
    "parameters": {
        "model": "yolov8n.pt"
    }
}

Start MLServer:

mlserver start /path/to/models

With OIP Client

from aissemble_inference_core.client import InferenceClient
from aissemble_inference_core.client.registry import ModuleRegistry

# The module auto-registers via entry points
print(ModuleRegistry.instance().list_available())
# {'runtimes': ['yolo'], 'translators': ['yolo'], ...}

# Use with InferenceClient
client = InferenceClient(adapter, endpoint)
result = client.detect_object("yolo").image("photo.jpg").run()

Components

YOLORuntime

MLServer-compatible runtime that wraps YOLO models:

  • Accepts base64-encoded images via OIP protocol
  • Returns bounding boxes, labels, and confidence scores
  • Configurable model variant via parameters

YOLOTranslator

Translator for YOLO outputs:

  • Inherits from DefaultObjectDetectionTranslator
  • Can be extended with YOLO-specific optimizations

Entry Points

This module registers the following entry points:

Group Name Class
inference.runtimes yolo YOLORuntime
inference.translators yolo YOLOTranslator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aissemble_inference_yolo-1.5.0rc3.tar.gz (32.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aissemble_inference_yolo-1.5.0rc3-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file aissemble_inference_yolo-1.5.0rc3.tar.gz.

File metadata

  • Download URL: aissemble_inference_yolo-1.5.0rc3.tar.gz
  • Upload date:
  • Size: 32.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aissemble_inference_yolo-1.5.0rc3.tar.gz
Algorithm Hash digest
SHA256 73e0a954c9f3f743a5f2379df2e4882597d92e86d12ea640cbfeeaebe5eb16d1
MD5 4aad9597d348164983ecc0b4d466f68b
BLAKE2b-256 d745a74dbc48a9c433c06a4bd78a2076308fc19e58c80476e06b7ba05dc7724a

See more details on using hashes here.

File details

Details for the file aissemble_inference_yolo-1.5.0rc3-py3-none-any.whl.

File metadata

  • Download URL: aissemble_inference_yolo-1.5.0rc3-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aissemble_inference_yolo-1.5.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 abc3438e9c3c196f2db5f0763107377febc1c01c847841948f848ac042580e51
MD5 0b8de2e73e2e801d7da0ef2e93d35fea
BLAKE2b-256 63128403da3dfbd10c33abae6be936ca101debcd86a9c801759ea704420eaa38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page