Pure C++. Runs on anything with a CPU or a modest GPU. Community packagers (bartowski, mradermacher) quantize most popular models within days of release. Minor quality drop. Still near-reference for general use.
What llama.cpp expects you to type to serve Llama 3.1 405B at Q6_K. Adjust the paths for your filesystem; the structure holds.
# Pull a GGUF quant from bartowski's mirror huggingface-cli download bartowski/Llama-3.1-405B-Instruct-GGUF \ --include "*Q6_K*" # Serve on port 8080 ./llama-server -m llama-3-1-405b.Q6_K.gguf -c 8192 --port 8080
Q6_K — Minor quality drop. Still near-reference for general use.
Expect to need around 337 GB of VRAM to hold the weights at this precision. This is a dense model: every parameter runs for every token. VRAM and compute both scale with the full 405B. Fits on 8× H100 — 640 GB — Full HGX H100 node, or 8× H200.