LocalAI.Core 0.7.2

Suggested Alternatives

LMSupply.Core

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package LocalAI.Core --version 0.7.2
                    
NuGet\Install-Package LocalAI.Core -Version 0.7.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="LocalAI.Core" Version="0.7.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LocalAI.Core" Version="0.7.2" />
                    
Directory.Packages.props
<PackageReference Include="LocalAI.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 LocalAI.Core --version 0.7.2
                    
#r "nuget: LocalAI.Core, 0.7.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 LocalAI.Core@0.7.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=LocalAI.Core&version=0.7.2
                    
Install as a Cake Addin
#tool nuget:?package=LocalAI.Core&version=0.7.2
                    
Install as a Cake Tool

LocalAI.Core

Core components shared across all LocalAI 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 LocalAI packages:

  • LocalAI.Embedder
  • LocalAI.Reranker
  • LocalAI.Generator
  • LocalAI.Transcriber
  • etc.

Cache Location

Follows HuggingFace Hub standard:

  • ~/.cache/huggingface/hub (default)
  • HF_HUB_CACHE environment variable (override)
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

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

Package Downloads
LocalAI.Embedder

A simple .NET library for local text embeddings with automatic model downloading from HuggingFace. Supports CUDA, DirectML, and CoreML GPU acceleration.

LocalAI.Text.Core

Text processing infrastructure for LocalAI - tokenization, vocabulary management, and encoding utilities

LocalAI.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.

LocalAI.Reranker

A lightweight, zero-configuration semantic reranker for .NET. Supports multiple cross-encoder models with automatic download, GPU acceleration, and HuggingFace caching.

LocalAI.Vision.Core

Core vision processing components for LocalAI: image loading, preprocessing, and tensor conversion utilities shared by LocalAI.Captioner and LocalAI.Ocr.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated