LMSupply.Core
0.42.5
dotnet add package LMSupply.Core --version 0.42.5
NuGet\Install-Package LMSupply.Core -Version 0.42.5
<PackageReference Include="LMSupply.Core" Version="0.42.5" />
<PackageVersion Include="LMSupply.Core" Version="0.42.5" />
<PackageReference Include="LMSupply.Core" />
paket add LMSupply.Core --version 0.42.5
#r "nuget: LMSupply.Core, 0.42.5"
#:package LMSupply.Core@0.42.5
#addin nuget:?package=LMSupply.Core&version=0.42.5
#tool nuget:?package=LMSupply.Core&version=0.42.5
LMSupply.Core
Core components shared across all LMSupply libraries.
Features
- ExecutionProvider: Unified GPU/CPU selection (Auto, CUDA, DirectML, CoreML, CPU)
- HuggingFaceDownloader: Model downloading with HuggingFace Hub standard caching
- DownloadProgress: Detailed download progress reporting
- Exception Hierarchy: Consistent error handling across libraries
Usage
This package is typically consumed as a dependency by other LMSupply packages:
LMSupply.EmbedderLMSupply.RerankerLMSupply.GeneratorLMSupply.Transcriber- etc.
Cache Location
Models follow the HuggingFace Hub standard (CacheManager):
~/.cache/huggingface/hub(default)HF_HUB_CACHEenvironment variable (override)
Non-HF artifacts (ONNX runtime packages, llama-server builds) live outside any hub,
under a single LMSupply root (LMSupplyCachePaths):
%LOCALAPPDATA%/LMSupply/cache(default)LMSUPPLY_CACHE_DIRenvironment variable (override)
| 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
- Microsoft.ML.OnnxRuntime (>= 1.26.0)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on LMSupply.Core:
| Package | Downloads |
|---|---|
|
LMSupply.Text.Core
Text processing infrastructure for LMSupply - tokenization, vocabulary management, and encoding utilities |
|
|
LMSupply.Vision.Core
Core vision processing components for LMSupply: image loading, preprocessing, and tensor conversion utilities shared by LMSupply.Captioner and LMSupply.Ocr. |
|
|
LMSupply.Embedder
A simple .NET library for local text embeddings with automatic model downloading from HuggingFace. Supports CUDA, DirectML, and CoreML GPU acceleration. |
|
|
LMSupply.Generator
A .NET library for local LLM text generation using ONNX Runtime GenAI. Supports streaming, chat templates, and automatic hardware detection with CUDA/DirectML GPU acceleration. |
|
|
LMSupply.Llama
llama.cpp server management for LMSupply. Provides llama-server downloading, GPU detection, and server pooling for GGUF model inference. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.42.5 | 52 | 8/29/2026 |
| 0.42.4 | 146 | 8/27/2026 |
| 0.42.3 | 184 | 8/25/2026 |
| 0.42.2 | 603 | 8/24/2026 |
| 0.42.1 | 303 | 8/20/2026 |
| 0.42.0 | 255 | 8/18/2026 |
| 0.41.1 | 211 | 8/18/2026 |
| 0.41.0 | 226 | 8/18/2026 |
| 0.40.3 | 221 | 8/17/2026 |
| 0.40.1 | 237 | 8/16/2026 |
| 0.40.0 | 285 | 8/11/2026 |
| 0.39.0 | 256 | 8/9/2026 |
| 0.38.1 | 276 | 8/6/2026 |
| 0.38.0 | 238 | 8/6/2026 |
| 0.37.2 | 253 | 8/6/2026 |
| 0.37.1 | 532 | 7/19/2026 |
| 0.37.0 | 266 | 7/17/2026 |
| 0.36.0 | 262 | 7/17/2026 |
| 0.35.2 | 247 | 7/17/2026 |
| 0.35.1 | 441 | 6/29/2026 |