Pure C++. Runs on anything with a CPU or a modest GPU. Community packagers (bartowski, mradermacher) quantize most popular models within days of release. Small quality drop. Good VRAM trade for modest hardware.
What llama.cpp expects you to type to serve Mixtral 8x22B at Q5_K_M. Adjust the paths for your filesystem; the structure holds.
# Pull a GGUF quant from bartowski's mirror huggingface-cli download bartowski/Mixtral-8x22B-Instruct-v0.1-GGUF \ --include "*Q5_K_M*" # Serve on port 8080 ./llama-server -m mixtral-8x22b.Q5_K_M.gguf -c 8192 --port 8080
Q5_K_M — Small quality drop. Good VRAM trade for modest hardware.
Expect to need around 102 GB of VRAM to hold the weights at this precision. This is a mixture-of-experts model: all 141B params load into memory, but only about 39B are active per generated token. That means load VRAM is large but compute scales with the active count — tok/s on a serving stack like vLLM reflects the smaller number. Fits on 2× H100 — 160 GB — Tensor-parallel across two cards.
First Apache-2.0 MoE at flagship size; the open answer when GPT-4 was still closed.