LMSupply.Core
0.142.0
dotnet add package LMSupply.Core --version 0.142.0
NuGet\Install-Package LMSupply.Core -Version 0.142.0
<PackageReference Include="LMSupply.Core" Version="0.142.0" />
<PackageVersion Include="LMSupply.Core" Version="0.142.0" />
<PackageReference Include="LMSupply.Core" />
paket add LMSupply.Core --version 0.142.0
#r "nuget: LMSupply.Core, 0.142.0"
#:package LMSupply.Core@0.142.0
#addin nuget:?package=LMSupply.Core&version=0.142.0
#tool nuget:?package=LMSupply.Core&version=0.142.0
LMSupply.Core
Core components shared across all LMSupply libraries.
Features
- ExecutionProvider: Unified GPU/CPU selection (Auto, CUDA, CoreML, OpenVINO, 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)
Lookups (ModelFileExists, GetModelFilePath, FindSnapshotDirectory, GetMissingFiles) read the snapshot a
refs/<revision> entry names first — what other Hugging Face tools write — and then snapshots/<revision>/, where
downloads by LMSupply are written (GetModelDirectory). GetSnapshotDirectories returns both, in that order.
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.31.1)
NuGet packages (13)
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.Llama
llama.cpp server management for LMSupply. Provides llama-server downloading, GPU detection, and server pooling for GGUF model inference. |
|
|
LMSupply.Vision.Core
Core vision processing components for LMSupply: image loading, preprocessing, and tensor conversion utilities shared by LMSupply.Captioner and LMSupply.Ocr. |
|
|
LMSupply.Generator
A .NET library for local LLM text generation via GGUF/llama-server, with streaming, chat templates, and automatic hardware-aware backend selection. Add LMSupply.Generator.Onnx for ONNX Runtime GenAI models (Phi, etc.). |
|
|
LMSupply.Embedder
A simple .NET library for local text embeddings with automatic model downloading from HuggingFace. Supports CUDA and CoreML GPU acceleration. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.142.0 | 98 | 11/13/2026 |
| 0.141.0 | 334 | 11/10/2026 |
| 0.140.0 | 281 | 11/9/2026 |
| 0.139.0 | 641 | 10/28/2026 |
| 0.138.0 | 374 | 10/27/2026 |
| 0.137.0 | 346 | 10/26/2026 |
| 0.136.0 | 529 | 10/22/2026 |
| 0.135.0 | 263 | 10/22/2026 |
| 0.134.0 | 331 | 10/21/2026 |
| 0.133.0 | 276 | 10/21/2026 |
| 0.132.0 | 274 | 10/20/2026 |
| 0.131.0 | 337 | 10/20/2026 |
| 0.130.0 | 254 | 10/19/2026 |
| 0.129.0 | 281 | 10/19/2026 |
| 0.128.0 | 320 | 10/18/2026 |
| 0.127.0 | 306 | 10/18/2026 |
| 0.126.0 | 276 | 10/17/2026 |
| 0.125.0 | 277 | 10/17/2026 |
| 0.124.0 | 255 | 10/17/2026 |
| 0.123.0 | 401 | 10/16/2026 |