Skip to main content
net8.0

Auto-generated .NET bindings for Llama.cpp.

Published
Feb 24, 2024
2y ago
Total Downloads
39.6K
39,650

Install

dotnet add package LlamaCpp --version 24.2.46240
ProductVersions
.NET
net8.0

README

logo

LlamaCpp

**This is an auto-generated C#/.NET binding for llama.cpp. It provides higher-level APIs to inference the LLaMA Models and deploy it on local device with C#/.NET, and includes all pre-built binaries for Windows, Linux and Mac **

It is based on the original work by the LLamaSharp project, but using CLangSharp/ClangSharpPInvokeGenerator to auto-generate the native bindings from the llama.cpp repository.

It's not meant to be a replacement of LLamaSharp, just to provide the minimum code required to use the latest version of llama.cpp via the low level APIs.

License

This project is licensed under the terms of the MIT license.

Changes from Previous Version

No structural changes between v24.2.46141 and v24.2.46240.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.