Darkspyre.Inference.Tensor.Common 11.19.3-rc.2

Prefix Reserved
This is a prerelease version of Darkspyre.Inference.Tensor.Common.
dotnet add package Darkspyre.Inference.Tensor.Common --version 11.19.3-rc.2
                    
NuGet\Install-Package Darkspyre.Inference.Tensor.Common -Version 11.19.3-rc.2
                    
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="Darkspyre.Inference.Tensor.Common" Version="11.19.3-rc.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Darkspyre.Inference.Tensor.Common" Version="11.19.3-rc.2" />
                    
Directory.Packages.props
<PackageReference Include="Darkspyre.Inference.Tensor.Common" />
                    
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 Darkspyre.Inference.Tensor.Common --version 11.19.3-rc.2
                    
#r "nuget: Darkspyre.Inference.Tensor.Common, 11.19.3-rc.2"
                    
#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 Darkspyre.Inference.Tensor.Common@11.19.3-rc.2
                    
#: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=Darkspyre.Inference.Tensor.Common&version=11.19.3-rc.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Darkspyre.Inference.Tensor.Common&version=11.19.3-rc.2&prerelease
                    
Install as a Cake Tool

Darkspyre.Inference.Tensor.Common

The shared base of the Tensor engines, which run models inside the application's own process: model packs and their verified local store, the host-controlled model lifecycle, execution coordination and the Tensor capability interfaces (ITensorLlmInference, ITensorImageInference, ITensorDecisionInference, ITensorSpeechToTextInference and ITensorEmbeddingInference). Reference an engine package to run a model.

Install

dotnet add package Darkspyre.Inference.Tensor.Common

Register

The package needs no registration. The application builds a TensorModelCatalog from the pack definitions of the engines it ships and one TensorModelPackManager over its pack directory. Darkspyre.Inference.Tensor.Registry registers the shipped engines when the application wants them as services.

Example

// definition is a pack definition an engine package publishes.
var packs = new TensorModelPackManager(new TensorModelCatalog([definition]), packDirectory);

// Downloads, checks and stores the pack. Run it only when the person chooses to download the model.
await packs.InstallAsync(definition.Key, progress, cancellationToken);

An engine then follows the same lifecycle: StartAsync, LoadAsync, the capability's inference calls, UnloadAsync and StopAsync. Each call returns once the engine accepts it; EngineStatusChanged reports Loading, Loaded, Unloaded, Stopped or Failed with its error.

Settings

Each engine's CreateSettingsManager returns a TensorSettingsManager for the shared setup editor. Its settings choose the model and where it runs ("Runs on"), show the model's install state, and offer Download, Delete download, Check files, Load now and Check backend prerequisites. Selecting and saving never downloads or loads a model.

Limits

  • Running a request never downloads weights or loads a model. The application installs packs and loads the model explicitly.
  • The pack directory defaults to LocalApplicationData/Darkspyre Studios/Inference/Tensor; the application can supply another. Downloads are staged inside the pack directory, checked by length and SHA-256, and renamed into place.
  • One engine instance holds one model at a time. StopAsync is final for an instance: create a new one to run again.
  • Unload and stop wait for running requests; cancelling their token cancels those requests. Native work finishes before model memory is released.

The Darkspyre.Inference packages

This package is one library of the Darkspyre.Inference family. The family runs AI inference from .NET applications through typed, provider-neutral contracts.

  • Darkspyre.Inference.Common holds the contracts every other package shares: requests, results, capabilities, failures and the provider setup model.
  • Darkspyre.Inference.Connect.Common holds the conversation and embedding services. Each Connect provider package adds one provider, and AddLlmConnect() discovers every provider package the application references.
  • The Tensor packages load and run models inside the application's own process.
  • The UI.Settings packages provide the setup editors a host places in its own window or page.

Every package of the family carries the same version. Reference all of them at the same version: each package depends on the exact version of the family packages it uses.

The packages are licensed under the MIT license. LICENSE.md in each package holds the license text.

Package Holds
Darkspyre.Inference.Common Shared contracts for Connect and Tensor
Darkspyre.Inference.Connect Image, speech and audio connectors
Darkspyre.Inference.Connect.Common Conversation and embedding services and provider discovery
Darkspyre.Inference.Connect.Codex Conversations on a ChatGPT subscription
Darkspyre.Inference.Connect.Claude Conversations on a Claude subscription through the Claude CLI
Darkspyre.Inference.Connect.HostTools The host-tools local service and its client
Darkspyre.Inference.Connect.Antigravity Conversations on a Google subscription through the Antigravity CLI
Darkspyre.Inference.Connect.Grok Conversations on a Grok subscription
Darkspyre.Inference.Connect.OpenAiApi Conversations and embeddings through the OpenAI API
Darkspyre.Inference.Connect.SelfHost Conversations and embeddings on engines the application runs
Darkspyre.Inference.Tensor.Common Model packs, the model lifecycle and the Tensor capability interfaces
Darkspyre.Inference.Tensor.Decision.Laya Laya typed decisions through ONNX Runtime
Darkspyre.Inference.Tensor.Embedding Text embeddings from GGUF sentence encoders
Darkspyre.Inference.Tensor.Embedding.Gemma EmbeddingGemma text and image embeddings
Darkspyre.Inference.Tensor.Ggml The process's GGML and MLX native runtime
Darkspyre.Inference.Tensor.Image.Supra Supra2-IMG image generation
Darkspyre.Inference.Tensor.LLM.Qwen Qwen GGUF text generation
Darkspyre.Inference.Tensor.Registry Registration and discovery of the Tensor engines
Darkspyre.Inference.Tensor.STT.Whisper Whisper speech transcription
Darkspyre.Inference.UI.Settings.Core Editor state and host contracts both setup editors share
Darkspyre.Inference.UI.Settings.Avalonia The Avalonia setup editor
Darkspyre.Inference.UI.Settings.Blazor The Blazor setup editor
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Darkspyre.Inference.Tensor.Common:

Package Downloads
Darkspyre.Inference.Tensor.Ggml

The one GGML native runtime owner that every Tensor engine running on GGML borrows.

Darkspyre.Inference.Tensor.LLM.Qwen

Qwen GGUF in-process LLM inference through TensorSharp.

Darkspyre.Inference.Tensor.Image.Supra

Supra2-IMG in-process image generation through TensorSharp.

Darkspyre.Inference.Tensor.Embedding.Gemma

Resident EmbeddingGemma text and image inference through ONNX Runtime CPU and WebGPU.

Darkspyre.Inference.Tensor.Decision.Laya

Laya in-process typed-decision inference through ONNX Runtime.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.19.3-rc.2 0 10/31/2026
11.17.3-rc.2 104 10/26/2026