// RUN โ€” FITS

Can the NVIDIA GeForce RTX 4080 run GPT-2 Medium (FlashAttention)?

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

GPT-2 Medium (FlashAttention) on the NVIDIA GeForce RTX 4080

QuantFits?Max contextSpeedBeyond context
FP16 yes 191k 756.7-901.9 t/s ~41.1-49 (slow)
Q8 yes 196k 1513.5-1803.7 t/s ~82.3-98 (slow)
Q4 yes 199k 2702.6-3220.9 t/s ~146.9-175.1 (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 NVIDIA GeForce RTX 4080 run GPT-2 Medium (FlashAttention)?โ–ถ

Yes. At Q4 it generates ~2702.6-3220.9 tok/s and fits up to 199k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~146.9-175.1 tok/s.

How much context fits?โ–ถ

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