Skip to content

About

Playground to try out llama.cpp

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

LLamaPlayground

This is an example using llama.cpp with C++ to run a local llm in a simple way.

use the huggingface-cli to download a gguf file like this:

hf download ggml-org/gemma-3-1b-it-GGUF --local-dir ./models

Build

To use this template, the submodule cmake-conan has to be pulled with

git submodule update --init --recursive

Once this is done the project can be configured and built with

cmake --preset=ci-ninja-debug
cmake --build ./build

Tests can be run using

cd build
ctest -C Debug

Prerequisites

  • Conan version 2.0 or higher
  • CMake version 3.25 or higher
  • Catch2 version 3.7 or higher (this will be fetched automatically by conan)
  • Ninja (optional, but recommended)

Recommended VS Code Extensions

About

Playground to try out llama.cpp

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages