Can the Radeon RX 6700 XT run Unlimited-OCR-2?
Unlimited-OCR-2·3.3B (1.1B active)·Radeon RX 6700 XT·12 GB VRAM
Yes. The Radeon RX 6700 XT runs Unlimited-OCR-2 fully in VRAM at FP16 / BF16 (about 7.1 GB of 12 GB).
- best quant
- FP16 / BF16
- needs
- 7.1 GB
- usable
- 12 GB
Estimates from the model's size.Try other contexts on the Unlimited-OCR-2 page →
Every quantisation of Unlimited-OCR-2 on the Radeon RX 6700 XT
| Quant | Memory | Fit |
|---|---|---|
| Q4_K_M | 2.8 GB | fits |
| Q8_0 | 4.0 GB | fits |
| FP16 / BF16 pick | 7.1 GB | fits |
Speed is a bandwidth-based estimate for generating text (384 GB/s); prompt processing and long contexts are slower.
Run Unlimited-OCR-2 on the Radeon RX 6700 XT
Using FP16 / BF16, the best fit for Radeon RX 6700 XT.
llama-server -hf AtomicChat/Unlimited-OCR-2-GGUF:BF16Needs a HIP (ROCm) build of llama.cpp. Start it with HSA_OVERRIDE_GFX_VERSION=10.3.0 in front for this card. Downloads the GGUF on first run.
docker run -d --name llama --device /dev/kfd --device /dev/dri -p 8080:8080 \
-e HSA_OVERRIDE_GFX_VERSION=10.3.0 \
-v ~/.cache/llama.cpp:/root/.cache/llama.cpp \
ghcr.io/ggml-org/llama.cpp:server-rocm \
-hf AtomicChat/Unlimited-OCR-2-GGUF:BF16 --host 0.0.0.0 --port 8080 -ngl 99Server and web UI on port 8080.
vllm serve baidu/Unlimited-OCR-2Needs vLLM built for ROCm; it supports Instinct MI200/MI300 and Radeon RX 7900 / 9000 cards.
vllm serve AutomatosX/AX-Unlimited-OCR-2-AXQ-MXFP8services:
vllm:
image: rocm/vllm:latest
command: vllm serve baidu/Unlimited-OCR-2 --host 0.0.0.0 --port 8000
ports:
- "8000:8000"
ipc: host
devices:
- /dev/kfd
- /dev/dri
group_add:
- video
security_opt:
- seccomp=unconfined
volumes:
- ~/.cache/huggingface:/root/.cache/huggingfaceAMD’s rocm/vllm image. API on port 8000.
sglang serve baidu/Unlimited-OCR-2 --host 0.0.0.0 --port 30000Needs SGLang’s ROCm build (Instinct MI300-class GPUs).
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="baidu/Unlimited-OCR-2", dtype="auto", device_map="auto")
messages = [
{
"role": "user",
"content": [
{"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg"},
{"type": "text", "text": "Describe this image."},
],
}
]
out = pipe(text=messages, max_new_tokens=256)
print(out[0]["generated_text"][-1]["content"])OCR models that fit the Radeon RX 6700 XT comfortably
All that fit →| Model | Params | Best quant | Memory |
|---|---|---|---|
| 3.3BA1.1B | FP16 / BF16 | ≈8.0 GBFits in memory | |
| 3.3BA1.1B | FP16 / BF16 | ≈8.0 GBFits in memory | |
| 3.4BA1.2B | FP16 / BF16 | ≈8.1 GBFits in memory | |
| 3B | FP16 / BF16 | ≈7.3 GBFits in memory | |
| 3.8B | FP16 / BF16 | ≈8.9 GBFits in memory | |
| 3.8B | FP16 / BF16 | ≈8.9 GBFits in memory |
Other GPUs that run Unlimited-OCR-2
Frequently asked questions
- Can the Radeon RX 6700 XT run Unlimited-OCR-2?
- Yes. The Radeon RX 6700 XT runs Unlimited-OCR-2 fully in VRAM at FP16 / BF16 (about 7.1 GB of 12 GB).
- Which quantisation of Unlimited-OCR-2 should I use on the Radeon RX 6700 XT?
- FP16 / BF16: the largest one that fits. Expected quality: lossless compared with the full-precision weights.
Memory and speed are estimates from the model's size and the card's memory bandwidth; real numbers depend on the runtime, drivers and context length. Community figures are medians of user reports.