Lightweight TUI manager for llama.cpp models on Raspberry Pi
Project description
llama-tui
CLI manager for llama.cpp. Detects hardware, downloads models, launches optimized servers. Specifically made for Raspberry Pi OS (Linux).
Requirements
- Raspberry Pi OS (any model, 64-bit recommended)
- Python 3.11+
- uv
llama-server(compiled with BLIS + NEON)hfCLI (huggingface-hub, authenticated for private models)
Install
uv tool install llama-tui
Setup
llama-tui setup # detect hardware, select models
llama-tui download # fetch enabled models
llama-tui prep # system tuning (swap, governor, hugepages)
Notes:
llama-tui prepandllama-tui serveusesudofor system tuning. Run from a terminal that can prompt for sudo.- Config is stored at
$XDG_CONFIG_HOME/llama-tui/config.toml(defaults to~/.config/llama-tui/config.toml). - Config models are stored as
[[models]]array-of-tables entries.
Serve
llama-tui serve --role chat
/health returns 503 while the model is loading and 200 when ready; llama-tui waits for 200 before returning.
Other Commands
llama-tui models # list enabled models
llama-tui rpc # check remote RPC connectivity
llama-tui status # full system & config summary
llama-tui restore # revert system tuning
llama-tui swap # show swap status
Optional RPC
On a second Pi, run:
rpc-server --host <hostname> --port 50052
Enable RPC during setup or edit ~/.config/llama-tui/config.toml.
License
MIT See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_tui-0.1.2.tar.gz.
File metadata
- Download URL: llama_tui-0.1.2.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b72776db7afe60bf4523f442d83229ff9c691598b45b3893b749ee44ae48660
|
|
| MD5 |
c32a242277b66ffdab90277c3c72d95b
|
|
| BLAKE2b-256 |
f8a339aed506ffa194b2b3cfb96e6f697aa7dc9047164520932a4d1c5fafc65a
|
File details
Details for the file llama_tui-0.1.2-py3-none-any.whl.
File metadata
- Download URL: llama_tui-0.1.2-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94626a0fe5cc1e4a757dee21afde918db9235009efd074e42093d668acf13416
|
|
| MD5 |
4fbdea99ff04269e313f1c254b39f9f1
|
|
| BLAKE2b-256 |
6d7f26aa53757f6c1cf992c807a84d8cd0274df8eee9573e443cb1920d349458
|