HartsyInference.Core 2.0.0-alpha.128

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

HartsyInference

C#/.NET inference for text, images, video, audio, vision, 3D, and world models, using CUDA, Vulkan, or CPU. No Python runtime is required for inference. GPU backends require compatible drivers and userspace libraries. Libraries target .NET 8 and .NET 10.

Alpha: pin an exact package version. Coverage varies by model, format, backend, and feature; implementation does not imply real-weight verification.

Install and generate

dotnet add package HartsyInference --prerelease

The meta-package includes Engine and the modality/backends. InferenceEngine owns model loading and generation:

using HartsyInference.Engine;
using HartsyInference.Engine.Dispatch;
using HartsyInference.Engine.Requests;

using InferenceEngine engine = new("cuda");
ImageResult image = await engine.Images.GenerateAsync(
    new ModelSpec { Requested = "sdxl", Modality = Modality.Image, LocalPath = "sdxl.safetensors" },
    new ImageRequest { Prompt = "a castle on a mountain at sunset", Steps = 25 });
// image.Rgb contains image.Width * image.Height * 3 RGB24 bytes.

Documentation

Repository and usage · SwarmUI extension · Model status · Benchmarks · Multi-GPU

Code/packages are MIT licensed. Model weights have separate publisher licenses.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.
  • net8.0

    • No dependencies.

NuGet packages (14)

Showing the top 5 NuGet packages that depend on HartsyInference.Core:

Package Downloads
HartsyInference

Meta-package for HartsyInference — a pure C#/.NET AI inference engine for text, diffusion images, speech, music, vision, video, 3D, and interactive world models. Adds all backends (CPU, CUDA, Vulkan) and modality packages in one reference.

HartsyInference.Diffusion

Image generation pipelines for HartsyInference — SD1.5, SDXL, Flux, SD3, LoRA, ControlNet, and schedulers.

HartsyInference.Cpu

CPU inference backend for HartsyInference with AVX2/AVX-512/NEON SIMD kernels.

HartsyInference.Vision

Vision inference for HartsyInference — CLIP embeddings, YOLO detection (planned), SAM segmentation (planned), and face detection (planned).

HartsyInference.ModelAssets

Everything you load off disk to make a model, for HartsyInference — weight containers (SafeTensors, GGUF, PyTorch pickle, ONNX), quantization codecs (NF4, MXFP4, MXFP8, NVFP4, BlockScale), checkpoint converters, LoRA, the architecture registry, and tokenizers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-alpha.162 0 9/23/2026
2.0.0-alpha.161 0 9/23/2026
2.0.0-alpha.160 0 9/23/2026
2.0.0-alpha.159 35 9/23/2026
2.0.0-alpha.158 39 9/23/2026
2.0.0-alpha.157 43 9/22/2026
2.0.0-alpha.156 43 9/22/2026
2.0.0-alpha.155 45 9/22/2026
2.0.0-alpha.154 44 9/22/2026
2.0.0-alpha.153 67 9/21/2026
2.0.0-alpha.152 77 9/21/2026
2.0.0-alpha.151 81 9/21/2026
2.0.0-alpha.150 84 9/21/2026
2.0.0-alpha.149 96 9/20/2026
2.0.0-alpha.148 88 9/20/2026
2.0.0-alpha.147 89 9/20/2026
2.0.0-alpha.146 88 9/20/2026
2.0.0-alpha.145 90 9/20/2026
2.0.0-alpha.144 86 9/20/2026
2.0.0-alpha.128 101 9/19/2026
Loading failed