RecursiveAI.OneModel.Gpu 1.3.0

Prefix Reserved
dotnet add package RecursiveAI.OneModel.Gpu --version 1.3.0
                    
NuGet\Install-Package RecursiveAI.OneModel.Gpu -Version 1.3.0
                    
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="RecursiveAI.OneModel.Gpu" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneModel.Gpu" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OneModel.Gpu" />
                    
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 RecursiveAI.OneModel.Gpu --version 1.3.0
                    
#r "nuget: RecursiveAI.OneModel.Gpu, 1.3.0"
                    
#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 RecursiveAI.OneModel.Gpu@1.3.0
                    
#: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=RecursiveAI.OneModel.Gpu&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OneModel.Gpu&version=1.3.0
                    
Install as a Cake Tool

RecursiveAI.OneModel.Gpu

Runs RecursiveAI.OneModel models on the GPU: Vulkan on Windows and Linux, Metal on Apple silicon, WebGPU in the browser, all from managed code through the platform's own graphics API. No native binaries ship in the package and no CUDA is needed.

using RecursiveAI.OneModel.Gpu;
using RecursiveAI.OneModel.Graph;

OneModelGpu.Register();                                    // once per process
using var session = Session.Load("model.onnx", new ModelOptions { Device = ComputeDevice.Gpu });
var outputs = session.Run(inputs);
var placement = session.GetDiagnostics(inputs);            // which operators ran where, and why not

Operators the GPU has a kernel for run there; the rest stay on the CPU, and ModelOptions.RequireGpu makes that an error that names every operator. Exact mode is reproducible on one device and driver, not across machines. Supported operators, placement rules and speed against ONNX Runtime's GPU providers: docs/gpu.md and docs/bench.md. Source and issues: https://github.com/recursive-ai-oss/onemodel-csharp.

Licensed MIT OR Apache-2.0.

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
1.3.0 0 11/13/2026

See CHANGELOG.md in the repository.