Home / Models / Code Llama 34B Instruct / AMD Radeon RX 5700 8 GB

Calculated memory fit · not a benchmark

Can Code Llama 34B Instruct run on AMD Radeon RX 5700 8 GB?

Can it run? Yes, with CPU/RAM offload. Full GPU fit? No.

Can it run?

Can it run?
Yes, with CPU/RAM offload. This is not equivalent to full-GPU inference.
Full GPU fit?
No
Model
Code Llama 34B Instruct · 34B
GPU
AMD Radeon RX 5700 8 GB · 8 GB advertised

Memory calculation

Breakdown for Q4 at 8K context, batch size 1. Calculator v1.0.0.

Model weights19.8 GB
KV cache1.5 GB
Runtime reserve1.5 GB
Safety margin0.8 GB
Required (estimated)23.6 GB
GPU usable VRAM7.2 GB

Result: DOES NOT FIT

Quantization table

Quantization2K4K8K16K
BF16NoNoNoNo
FP16NoNoNoNo
Q3OffloadOffloadOffloadOffload
Q4NoNoNoNo
Q5NoNoNoNo
Q6NoNoNoNo
Q8NoNoNoNo

What fits entirely in VRAM?

No calculated full-VRAM fit at the evaluated quantizations and context lengths.

What requires RAM offload?

Weights may run with CPU/RAM offload. That is not equivalent to full-GPU inference. RigForAI does not estimate tokens/sec in this release.

Available graphics cards

These SKUs use this GPU chip. Amazon CTAs appear only for EXACT/HIGH matches. Absence of a price does not change the compatibility result above.

ASUS

ASUS Dual -RX5700-O8G-EVO AMD Radeon RX 5700 8 GB GDDR6

8 GB · Amazon unmatched

Check availability
ASUS

ASUS RX5700-8G AMD Radeon RX 5700 8 GB GDDR6

8 GB · Amazon unmatched

Check availability

Sources

Model: official config codellama/CodeLlama-34b-Instruct-hf (main). GPU/product specs: Icecat. Compatibility: RigForAI calculator v1.0.0 estimated VRAM · Q8 at 8K: DOES_NOT_FIT. Amazon: affiliate commerce match, not a spec source.