LinML.Contracts 0.5.1

dotnet add package LinML.Contracts --version 0.5.1
                    
NuGet\Install-Package LinML.Contracts -Version 0.5.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LinML.Contracts" Version="0.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LinML.Contracts" Version="0.5.1" />
                    
Directory.Packages.props
<PackageReference Include="LinML.Contracts" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LinML.Contracts --version 0.5.1
                    
#r "nuget: LinML.Contracts, 0.5.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LinML.Contracts@0.5.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LinML.Contracts&version=0.5.1
                    
Install as a Cake Addin
#tool nuget:?package=LinML.Contracts&version=0.5.1
                    
Install as a Cake Tool

LinML.Contracts

Core interfaces and data models for LinML (Linux ML).

NuGet License: MIT

LinML.Contracts defines provider discovery, hardware abstraction, selection policies, readiness reporting, and inference abstractions with zero external dependencies on ONNX Runtime.


Installation

dotnet add package LinML.Contracts

Key Interfaces & Models

  • IProviderDiscovery & ProviderDiscoveryReport: Honest discovery of compiled-in providers, registered plugins, and hardware accelerators.
  • IProviderReadinessProbe & ProviderReadinessReport: Detailed readiness diagnostics for providers (CUDA, TensorRT, OpenVINO, etc.).
  • IInferenceSessionFactory & IInferenceSession: Clean abstractions for lifecycle management and running inference sessions.
  • InferenceRequest & InferenceResult: Hardware-independent representations of input and output tensors.
  • ProviderId: Strongly typed execution provider identifiers.

Documentation & Repository

For more details, CLI tools, and architecture documentation, visit the LinML GitHub Repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LinML.Contracts:

Package Downloads
LinML.Catalog

Execution provider catalog for ONNX Runtime on Linux: installs pinned plugin EPs, registers them with ORT, and appends their devices to sessions. The Linux counterpart to the Windows ML ExecutionProviderCatalog.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.1 879 10/13/2026
0.5.0 92 10/13/2026
0.4.2 87 10/13/2026
0.4.1 212 10/12/2026
0.4.0 138 10/12/2026
0.3.0 85 10/12/2026
0.2.0 223 10/12/2026
0.1.0 326 10/11/2026