OpenAI on AMD RDNA3
Can I run gpt-oss 20B-A3.6B on an Radeon RX 7900 XTX?
Yes. gpt-oss 20B-A3.6B at Q4_K_M uses 13.1 GB of the 21.8 GB available on a Radeon RX 7900 XTX, and runs at about 173 tokens per second. You can push the context to 128K.
Runs comfortably
13.1 GB of 21.8 GB · 60%022 GB
Weights
11.9 GB
KV cache
0.4 GB
Runtime overhead
0.8 GB
gpt-oss 20B-A3.6B at Q4_K_M leaves 8.7 GB spare on a Radeon RX 7900 XTX. There is room to raise the context length or move up a quantisation level.
Generation173tok/s
Prompt processing7175tok/s
Max context128Ktokens
KV per 1K tokens0GB
Every quantisation of gpt-oss 20B-A3.6B on a Radeon RX 7900 XTX
Highlighted row is the highest quality that still fits at 8K context.
| Quantisation | bpw | Weights | Total | Verdict | Max ctx | tok/s |
|---|---|---|---|---|---|---|
| FP16 / BF16 | 16.00 | 38.9 GB | 40.1 GB | Won't fit | — | 9.69 |
| INT8 / W8A8 | 8.50 | 20.4 GB | 21.6 GB | Fits, but tight | 12K | 112 |
| FP8 (E4M3) | 8.00 | 19.5 GB | 20.6 GB | Fits, but tight | 32K | 117 |
| Q6_K | 6.56 | 16.0 GB | 17.1 GB | Runs comfortably | 107K | 138 |
| Q5_K_M | 5.67 | 13.8 GB | 15.0 GB | Runs comfortably | 128K | 154 |
| Q5_K_S | 5.52 | 13.4 GB | 14.6 GB | Runs comfortably | 128K | 158 |
| AWQ 4-bit | 4.25 | 11.9 GB | 13.1 GB | Runs comfortably | 128K | 173 |
| GPTQ 4-bit | 4.25 | 11.9 GB | 13.1 GB | Runs comfortably | 128K | 173 |
| MXFP4 | 4.25 | 11.9 GB | 13.1 GB | Runs comfortably | 128K | 173 |
| Q4_K_M | 4.85 | 11.9 GB | 13.1 GB | Runs comfortably | 128K | 173 |
| Q4_K_S | 4.58 | 11.3 GB | 12.4 GB | Runs comfortably | 128K | 180 |
| Q4_0 | 4.55 | 11.2 GB | 12.4 GB | Runs comfortably | 128K | 181 |
| IQ4_XS | 4.25 | 10.5 GB | 11.7 GB | Runs comfortably | 128K | 190 |
| Q3_K_M | 3.91 | 9.7 GB | 10.9 GB | Runs comfortably | 128K | 201 |
| IQ3_M | 3.70 | 9.2 GB | 10.4 GB | Runs comfortably | 128K | 208 |
| IQ3_XXS | 3.06 | 7.8 GB | 8.9 GB | Runs comfortably | 128K | 234 |
| Q2_K | 2.63 | 6.8 GB | 8.0 GB | Runs comfortably | 128K | 256 |
| IQ2_XXS | 2.06 | 5.5 GB | 6.7 GB | Runs comfortably | 128K | 292 |
| IQ1_M | 1.75 | 4.8 GB | 5.9 GB | Runs comfortably | 128K | 316 |