Skip to main content

YOLO model family support for aiSSEMBLE Inference

Project description

aiSSEMBLE Inference 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.0.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.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aissemble_inference_yolo-1.5.0.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.0.tar.gz
Algorithm Hash digest
SHA256 75eedaae162b15ea20be309fa3c54e2316bf661239e27e508757494fa0dea7c2
MD5 d70f4914dd6a43d7b21bd8310fd317a6
BLAKE2b-256 4e99e8227756b4a77db050acc4b2bc41283cb47fb24f18244cbe1dad8e0c17b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aissemble_inference_yolo-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7809131b868ad051ae269ea6daa64ca363302b89be3f4257800fa72504271a2a
MD5 f789d447cf2f548aa94e958631a7fc00
BLAKE2b-256 afc5016ca03654fe5218553689e43cccb7ca89a03bb2636857a76ff69b75bf43

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