Can AMD Radeon RX 6800 XT run Codestral 22B?
22B parameter Code model on 16GB GDDR6
VRAM Requirements
Codestral 22B is a 22B parameter model. At full precision (FP16), it requires 44GB of VRAM. Your AMD Radeon RX 6800 XT has 16GB, so you'll need to quantize it to 4-bit (Q4) to fit.
Maximum quality, no quantization
Near-lossless, ~50% size reduction
Good quality, ~75% size reduction
Recommended system RAM: 32GB DDR5 (2x GPU VRAM minimum for model overflow)
What This Means in Practice
Codestral 22B at Q4 on AMD Radeon RX 6800 XT works for code completion but complex multi-file operations may show quality drops. Still very usable for day-to-day coding assistance. Consider a larger VRAM GPU for professional code generation workflows.
How to Set It Up
Step 1: Install Ollama
curl -fsSL https://ollama.com/install.sh | shOllama is the easiest way to run local LLMs. Works on Linux, macOS, and Windows.
Step 2: Download and run Codestral 22B
ollama run codestral:22b:q4_K_MThis downloads the Q4_K_M quantized version (~13GB). First run takes a few minutes to download.
Step 3: Verify GPU is being used
rocm-smiCheck that VRAM usage increases when the model loads. You should see ~13GB used.
AMD Radeon RX 6800 XT Specs
Other GPUs That Run Codestral 22B
Other Code Models on AMD Radeon RX 6800 XT
About Codestral 22B
Top code completion model. Q4 fits on 16GB GPUs.