llama.cpp server and small language model bundled together inside a Docker image for easy deployment similar to a llamafile. Uses CPU for inference. Requires CPU with AVX2 support from Intel Haswell/AMD Excavator or later generations. Override server settings with environment variables.
docker run -d --name llama1b --init -p 8001:8080/tcp ghcr.io/kth8/llama-server:llama-3.2-1b-instruct
Verify if the server is running by going to http://127.0.0.1:8001 in your web browser or using the terminal:
curl http://127.0.0.1:8001/v1/chat/completions -H "Content-Type: application/json" -d '{"messages":[{"role":"user","content":"Hello"}]}'
Check if your CPU supports AVX2 on Linux:
grep -o 'avx2' /proc/cpuinfo
Available tags:
ghcr.io/kth8/llama-server:llama-3.2-3b-instruct
ghcr.io/kth8/llama-server:hermes-3-llama-3.2-3b
ghcr.io/kth8/llama-server:menlo_jan-nano
ghcr.io/kth8/llama-server:nvidia_openreasoning-nemotron-1.5b
All model GGUF files provided by bartowski.