Skip to main content
net8.0.NETStandard2.0

This package contains ONNX Runtime for .Net platforms

Published
Apr 24, 2025
1y ago
Total Downloads
14.5M
14,455,209

Install

dotnet add package Microsoft.ML.OnnxRuntime.Managed --version 1.21.2
ProductVersions
.NET
net8.0
.NET Standard
netstandard2.0

README

About

ONNX Runtime Logo

ONNX Runtime is a cross-platform machine-learning inferencing accelerator.

ONNX Runtime can enable faster customer experiences and lower costs, supporting models from deep learning frameworks such as PyTorch and TensorFlow/Keras as well as classical machine learning libraries such as scikit-learn, LightGBM, XGBoost, etc. ONNX Runtime is compatible with different hardware, drivers, and operating systems, and provides optimal performance by leveraging hardware accelerators where applicable alongside graph optimizations and transforms.

Learn more → here

NuGet Packages

ONNX Runtime Native packages

Microsoft.ML.OnnxRuntime
Microsoft.ML.OnnxRuntime.Gpu
Microsoft.ML.OnnxRuntime.DirectML
Microsoft.ML.OnnxRuntime.QNN
Intel.ML.OnnxRuntime.OpenVino

Other packages

Microsoft.ML.OnnxRuntime.Managed
  • C# language bindings
Microsoft.ML.OnnxRuntime.Extensions

Changes from Previous Version

v1.21.1v1.21.2
Deprecation Removed
Deprecation notice was removed in this version.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.