YoloDotNet.ExecutionProvider.DirectML enables hardware-accelerated inference on Windows using Microsoft’s DirectML framework. This execution provider integrates ONNX Runtime’s DirectML backend and runs on top of DirectX 12, allowing inference to be accelerated on a wide range of GPUs using the Windows graphics driver stack. DirectML is a Windows-only technology and is supported on Windows 10 and Windows 11 with a DirectX 12–capable GPU. No vendor-specific SDKs or external runtimes are required beyond the standard Windows graphics drivers. This makes the DirectML execution provider a low-friction option for GPU acceleration on Windows systems. Designed for YoloDotNet’s modular, execution-provider-agnostic architecture, the DirectML provider integrates cleanly with the core library and exposes explicit, predictable inference behavior. It is well-suited for Windows applications that require GPU acceleration without locking into a specific hardware vendor or proprietary ML stack.
YoloDotNet is a modular, lightweight C# library for high-performance, real-time computer vision and YOLO-based inference in .NET. Built on .NET 8 and powered by ONNX Runtime, YoloDotNet provides explicit, production-ready inference for modern YOLO model families, including YOLOv5u through YOLOv26, YOLO-World, YOLO-E, RT-DETR and D-Fine. The library features a fully modular execution architecture with pluggable execution providers for CPU, CUDA / TensorRT, Intel OpenVINO, Apple CoreML, and DirectML, enabling predictable deployment across Windows, Linux, and macOS. YoloDotNet intentionally avoids heavy computer vision frameworks such as OpenCV. Image handling and preprocessing are performed using SkiaSharp, with no Python runtime, no hidden preprocessing, and no implicit behavior. Designed for low-latency inference and long-running workloads, YoloDotNet gives developers full control over execution, memory usage, and preprocessing — allowing you to choose the hardware, platform, and execution backend without unnecessary abstraction or overhead.
YoloDotNet.ExecutionProvider.DirectML enables hardware-accelerated inference on Windows using Microsoft’s DirectML framework. This execution provider integrates ONNX Runtime’s DirectML backend and runs on top of DirectX 12, allowing inference to be accelerated on a wide range of GPUs using the Windows graphics driver stack. DirectML is a Windows-only technology and is supported on Windows 10 and Windows 11 with a DirectX 12–capable GPU. No vendor-specific SDKs or external runtimes are required beyond the standard Windows graphics drivers. This makes the DirectML execution provider a low-friction option for GPU acceleration on Windows systems. Designed for YoloDotNet’s modular, execution-provider-agnostic architecture, the DirectML provider integrates cleanly with the core library and exposes explicit, predictable inference behavior. It is well-suited for Windows applications that require GPU acceleration without locking into a specific hardware vendor or proprietary ML stack.