0

Convert and Optimize YOLO26 with OpenVINO™

YOLO26 is the latest Ultralytics release (January 2026), engineered from the ground up for edge and low-power devices. It is the recommended model for production workloads, replacing both YOLO11 and YOLO12.

Example · مثال

Content

Convert and Optimize YOLO26 with OpenVINO™

YOLO26 is the latest Ultralytics release (January 2026), engineered from the ground up for edge and low-power devices. It is the recommended model for production workloads, replacing both YOLO11 and YOLO12.

YOLO stands for "You Only Look Once", a popular family of real-time object detection algorithms. YOLO26 introduces several key innovations over previous versions:

  • End-to-End NMS-Free Inference — native end-to-end model producing predictions directly without non-maximum suppression (NMS), reducing latency and simplifying deployment.
  • Dual-Head Architecture — one-to-one head (default, no NMS, max 300 detections) and one-to-many head (legacy, requires NMS, 8400 detections).
  • DFL Removal — Distribution Focal Loss module removed, simplifying export and broadening edge hardware compatibility.
  • MuSGD Optimizer — hybrid of SGD and Muon (inspired by Moonshot AI's Kimi K2) for more stable training and faster convergence.
  • ProgLoss + STAL — improved loss functions with notable improvements in small-object detection.
  • Up to 43% Faster CPU Inference — specifically optimized for edge computing environments.
  • Instance Segmentation Enhancements — semantic segmentation loss and multi-scale proto module for superior mask quality.
  • Precision Pose Estimation — Residual Log-Likelihood Estimation (RLE) for more accurate keypoint localization.
  • Refined OBB Decoding — specialized angle loss for improved oriented bounding box detection accuracy.
  • YOLOE-26 — open-vocabulary variant supporting text prompts, visual prompts, and prompt-free zero-shot inference.

YOLO26 supports detection, instance segmentation, classification, pose estimation, oriented object detection (OBB), and open-vocabulary detection (YOLOE-26). More details can be found in the Ultralytics YOLO26 documentation.

This tutorial explains how to convert and optimize the YOLO26 PyTorch models with OpenVINO:

The tutorial consists of the following steps:

  • Prepare the PyTorch model.
  • Convert the PyTorch model to OpenVINO IR.
  • Validate the converted model.
  • Prepare and run NNCF post-training optimization pipeline.
  • Compare performance of the FP16 and quantized models.
  • Live demo with video inference.

Installation Instructions

This is a self-contained example that relies solely on its own code.<br/> We recommend running the notebook in a virtual environment. You only need a Jupyter server to start. For details, please refer to [Installation Guide](../../README.md).

Source and license

Source
Intel OpenVINO Notebooks
Original
openvinotoolkit/openvino_notebooks/notebooks/yolov26-optimization
License
Apache-2.0