SciSharp/LLamaSharp
A cross-platform C#/.NET library for efficient local inference of large language models (LLMs) like LLaMA and LLAVA.
Core Features
Quick Start
dotnet add package LLamaSharpDetailed Introduction
LLamaSharp is a powerful C#/.NET library designed to bring the capabilities of large language models (LLMs) like LLaMA and LLAVA directly to your local devices. Leveraging the highly optimized llama.cpp project, it ensures efficient inference on both CPU and various GPU architectures (CUDA, Vulkan). The library provides developer-friendly, higher-level APIs, simplifying the integration and deployment of LLMs within .NET applications. With robust RAG support and seamless integrations with popular AI frameworks, LLamaSharp empowers developers to build intelligent applications that run LLMs locally, enhancing privacy and reducing reliance on cloud services.