ERNIE 4.5 21B-A3B on AMD Radeon RX 9070 GRE
Can the AMD Radeon RX 9070 GRE run ERNIE 4.5 21B-A3B?
Yes, it runs well (tight fit)
Runs well (tight fit). At Q2_K it needs about 10.4 GB of 12.0 GB usable, with an estimated speed of 140 tok/s.
- Best quant
Q2_K- Generation speed
- 140 tok/s
- Prompt processing
- 14,177 tok/s
- First token (1K prompt)
- 0.3 s
- Largest safe context
- 34K
Best app to run it on the AMD Radeon RX 9070 GRE
On Windows
- AMD’s own app: llama.cpp tuned for Radeon on Vulkan and ROCm.
lemonade pull unsloth/ERNIE-4.5-21B-A3B-PT-GGUF:Q2_KDownload ERNIE 4.5 21B-A3B
Recommended for the AMD Radeon RX 9070 GRE: Q2_K. Every other quantization has its own download link in the table below.
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q2_K file (opens in a new tab)
huggingface.co/unsloth/ERNIE-4.5-21B-A3B-PT-GGUF (opens in a new tab)
ollama run hf.co/unsloth/ERNIE-4.5-21B-A3B-PT-GGUF:Q2_KOriginal weights · Hugging Face
Full-precision files from Baidu, for fine-tuning, vLLM, Transformers.
huggingface.co/baidu/ERNIE-4.5-21B-A3B-PT (opens in a new tab)
Official repo · GitHub
Reference code, inference scripts and docs from Baidu. The weights themselves download from Hugging Face.
github.com/PaddlePaddle/ERNIE (opens in a new tab)
git clone https://github.com/PaddlePaddle/ERNIEHow it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 20.2 / 45 | |
|---|---|---|
| Memory fit | 24.0 / 25 | |
| Speed | 15.0 / 15 | |
| Memory use | 15.0 / 15 | |
| Match score | 74.2 / 100 |
Every quantization on the AMD Radeon RX 9070 GRE
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 10.4 GB | 12.0 GB | 140 tok/s | Runs welltight fit | 44Fair quality (C) · 44 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 74/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q3_K_M | 12.4 GB | 12.0 GB | 108 tok/s | Runs welloffloads to RAM | 53Fair quality (C) · 53 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q4_K_M | 15.1 GB | 12.0 GB | 59.5 tok/s | Runs welloffloads to RAM | 60Good quality (B) · 60 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 67/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 17.3 GB | 12.0 GB | 42.1 tok/s | Slowheavy RAM offload | 62Good quality (B) · 62 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 61/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 19.7 GB | 12.0 GB | 31.7 tok/s | Slowheavy RAM offload | 63Good quality (B) · 63 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 24.9 GB | 12.0 GB | 20.2 tok/s | Slowheavy RAM offload | 64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 45.6 GB | 12.0 GB | — | Won't run | 64Good quality (B) · 64 of 100: how capable the model is at F16, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking.
Apple M4 Pro (48 GB)
-
64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5090
-
63Good quality (B) · 63 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
63Good quality (B) · 63 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3090
-
63Good quality (B) · 63 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4090
-
64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking.
Apple M1 Max (64 GB)
Quick answers
How much memory does ERNIE 4.5 21B-A3B need on the RX 9070 GRE 12GB?
At Q2_K it needs about 10.4 GB. The RX 9070 GRE 12GB has 12.0 GB usable.
How fast is ERNIE 4.5 21B-A3B on the RX 9070 GRE 12GB?
About 140 tok/s at Q2_K, an estimate from the hardware’s memory bandwidth and the size of the model.
Which quantization of ERNIE 4.5 21B-A3B should I use on the RX 9070 GRE 12GB?
Q2_K. Of the versions that fit, it is the one that runs best; when two run equally well, the check prefers the higher-rated one.
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.