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
<PackageReference Include="RecursiveAI.OneModel.Gpu" Version="1.3.0" />
<PackageVersion Include="RecursiveAI.OneModel.Gpu" Version="1.3.0" />
<PackageReference Include="RecursiveAI.OneModel.Gpu" />
paket add RecursiveAI.OneModel.Gpu --version 1.3.0
#r "nuget: RecursiveAI.OneModel.Gpu, 1.3.0"
#:package RecursiveAI.OneModel.Gpu@1.3.0
#addin nuget:?package=RecursiveAI.OneModel.Gpu&version=1.3.0
#tool nuget:?package=RecursiveAI.OneModel.Gpu&version=1.3.0
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 | Versions 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. |
-
net10.0
- RecursiveAI.OneGpu (>= 1.0.0)
- RecursiveAI.OneGpu.Backends (>= 1.0.0)
- RecursiveAI.OneGpu.Kernels (>= 1.0.0)
- RecursiveAI.OneModel (>= 1.3.0)
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.