llama.cpp/examples/simple-chat
Georgi Gerganov 797f2ac062
kv-cache : simplify the interface (#13660)
* kv-cache : simplify the interface

ggml-ci

* context : revert llama_batch_allocr position change

ggml-ci
2025-05-21 15:11:13 +03:00
..
CMakeLists.txt ggml : move AMX to the CPU backend (#10570) 2024-11-29 21:54:58 +01:00
README.md llama : add simple-chat example (#10124) 2024-11-01 23:50:59 +01:00
simple-chat.cpp kv-cache : simplify the interface (#13660) 2025-05-21 15:11:13 +03:00

llama.cpp/example/simple-chat

The purpose of this example is to demonstrate a minimal usage of llama.cpp to create a simple chat program using the chat template from the GGUF file.

./llama-simple-chat -m Meta-Llama-3.1-8B-Instruct.gguf -c 2048
...