Themis.Inference.MIGraphX 2.0.1

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Themis.Inference.MIGraphX --version 2.0.1
                    
NuGet\Install-Package Themis.Inference.MIGraphX -Version 2.0.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="Themis.Inference.MIGraphX" Version="2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Themis.Inference.MIGraphX" Version="2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Themis.Inference.MIGraphX" />
                    
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 Themis.Inference.MIGraphX --version 2.0.1
                    
#r "nuget: Themis.Inference.MIGraphX, 2.0.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 Themis.Inference.MIGraphX@2.0.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=Themis.Inference.MIGraphX&version=2.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Themis.Inference.MIGraphX&version=2.0.1
                    
Install as a Cake Tool

Themis.Inference.MIGraphX

Themis.Inference.MIGraphX adds optional AMD MIGraphX plugin registration and GPU selection for Themis ONNX inference. It reuses Themis' existing ONNX model bundles and typed decision contracts; it does not add a model format or output mapping.

The package does not include ROCm, MIGraphX, or native provider binaries. Supply an absolute path to the MIGraphX plugin library when registering the provider:

var pluginPath = Environment.GetEnvironmentVariable("THEMIS_MIGRAPHX_EP_LIBRARY")
    ?? throw new InvalidOperationException("Set THEMIS_MIGRAPHX_EP_LIBRARY to the MIGraphX plugin path.");

services.AddThemis(options => options.Model = "laya-production");
services.AddThemisMIGraphX(pluginPath);

The default configuration requires MIGraphXExecutionProvider on a GPU and fails instead of silently using CPU. Pass an InferenceRuntimeConfiguration with PreferAccelerator and no RequiredExecutionProviderName to allow the normal runtime-default fallback when MIGraphX is unavailable. ONNX Runtime keeps registered plugin libraries alive for its environment; the plugin is not unloaded while the process is running.

MIGraphX is a Linux provider. The plugin library must implement ONNX Runtime's plugin execution-provider ABI and be built against the same ONNX Runtime version as the managed runtime used by Themis (currently 1.31.0). Its ROCm and MIGraphX shared-library dependencies must be available to the Linux loader. This is separate from Windows ML's MIGraphX distribution. This package does not bundle those native assets; a compatible, provenance- reviewed native build is required. The published InferenceEngine.ROCm.Runtime.linux-x64 package uses ONNX Runtime 1.24.1 and is not compatible with Themis' 1.31.0 managed runtime, so this integration does not reference it.

Build or obtain the plugin from a trusted source, review its source, build configuration, license, and native dependencies, then publish the consumer with linux-x64. A registered provider or successful inference call alone does not prove that model nodes ran on the AMD GPU. The repository's MIGraphX hardware test checks typed answers and ONNX Runtime profiling when a compatible GPU/plugin pair is available; this repository has not validated that hardware path.

References:

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.2-preview 0 10/27/2026
4.0.1-preview 0 10/27/2026
4.0.0-preview 37 10/26/2026
2.0.3-preview 47 10/25/2026
2.0.1 53 10/25/2026