How fast will Llama 3.1 8B feel on the AMD RX 7900 XTX 24GB?

Llama 3.1 8B on the AMD RX 7900 XTX 24GB

Llama 3.1 8B is a 8.03B-parameter model. At Q4_K_M it needs about 5.7 GB of memory. The AMD RX 7900 XTX 24GB has 22 GB usable, so it fits entirely in memory. Expect about 43 tokens/sec (38–48), with the first token after 0.3 s for a short prompt. This estimate is based on community benchmarks of this exact setup.

Speed by quantization

QuantizationFile sizeMemoryGenerationFirst tokenSource
Q4_K_M4.9 GBFits43 tok/s0.3 sMeasured
Q8_08.5 GBFits70 tok/s0.3 sDerived
FP1616.1 GBFits37 tok/s0.3 sDerived

Llama 3.1 8B on other hardware

Other models on the AMD RX 7900 XTX 24GB

All models on the AMD RX 7900 XTX 24GB · Llama 3.1 8B on all hardware

Estimates for a short prompt on a single device. Measured numbers come from community benchmarks (r/LocalLLaMA, localscore.ai and more); others are derived from similar setups or projected from specs. Open source on GitHub.