llama.cpp/examples/simple-chat
Georgi Gerganov d7f5f4e578
simple-chat : fix context-exceeded condition (#14494)
* simple-chat : fix context-exceeded condition

ggml-ci

* cont : fix n_ctx_used computation

ggml-ci
2025-07-02 14:12:07 +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 simple-chat : fix context-exceeded condition (#14494) 2025-07-02 14:12:07 +03:00

README.md

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