SeasonGGML 0.1.0

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

SeasonGGML

SeasonGGML provides shared GGML native dependencies and backend enumeration helpers for SeasonLLM, SeasonImage, SeasonTTS, and other SeasonEngine projects.

Backend Enumeration

using SeasonGGML;

var backends = GGML.GetAvailableBackends();

foreach (var backend in backends)
{
    Console.WriteLine(
        $"{backend.Name} | reg={backend.BackendRegistry} | type={backend.DeviceType} | " +
        $"free={backend.MemoryFreeBytes} | total={backend.MemoryTotalBytes}");
}

Each GgmlBackendInfo currently includes:

  • Name
  • BackendRegistry
  • Description
  • DeviceId
  • DeviceType
  • MemoryFreeBytes
  • MemoryTotalBytes
  • SupportsAsync
  • SupportsHostBuffer
  • SupportsBufferFromHostPtr
  • SupportsEvents

CPU Introspection

var backendFeatures = GGML.GetBackendFeatures("CPU");
var systemFeatures = GGML.GetSystemCpuFeatures();
var executionInfo = GGML.GetCpuExecutionInfo();
  • GetBackendFeatures("CPU"): returns the feature list exposed by the GGML CPU backend registry.
  • GetSystemCpuFeatures(): returns the current process hardware capability view from .NET intrinsics.
  • GetCpuExecutionInfo(): combines both sides and gives a best-effort effective top tier such as AVX2 or AVX512.

For a dynamically loaded setup, the query entry point is ggml.dll, but the CPU feature implementation itself is provided by the CPU backend plugin such as ggml-cpu.dll.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  net10.0-browser1.0 is compatible.  net10.0-ios was computed.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst was computed.  net10.0-maccatalyst26.0 is compatible.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net10.0-android36.0

    • No dependencies.
  • net10.0-browser1.0

    • No dependencies.
  • net10.0-ios26.0

    • No dependencies.
  • net10.0-maccatalyst26.0

    • No dependencies.
  • net10.0-windows10.0.19041

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SeasonGGML:

Package Downloads
SeasonLLM

A small .NET wrapper around `llama.cpp` for local GGUF text generation

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 120 6/26/2026