// RUN โ€” FITS

Can the AMD Radeon RX 7900 XTX run CodeT5-base?

Yes โ€” here's how fast and up to what context, with real measured numbers.

CodeT5-base on the AMD Radeon RX 7900 XTX

QuantFits?Max contextSpeedBeyond context
FP16 yes 307k 1374.5-1680 t/s ~57.3-70 (slow)
Q8 yes 311k 2749.1-3360 t/s ~114.5-140 (slow)
Q4 yes 312k 4909.1-6000 t/s ~204.5-250 (slow)

Estimate (memory-bound). Beyond "max context" the KV cache spills to system RAM offload (depends on your system RAM) and speed drops to the "beyond" figure.

FAQ

Can the AMD Radeon RX 7900 XTX run CodeT5-base?โ–ถ

Yes. At Q4 it generates ~4909.1-6000 tok/s and fits up to 312k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~204.5-250 tok/s.

How much context fits?โ–ถ

At Q4, up to about 312k tokens stay in fast memory; longer context spills to system RAM offload (depends on your system RAM) and throughput collapses.