selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

ceia-br logo

Can the Radeon RX 7800 XT run lumi-4b?

lumi-4b·4B·Radeon RX 7800 XT·16 GB VRAM

Saved in this browser, used on every model page.
Yes

Yes. The Radeon RX 7800 XT runs lumi-4b fully in VRAM at FP16 / BF16 (about 9.6 GB of 16 GB), at roughly 43 tokens/s.

best quant
FP16 / BF16
needs
9.6 GB
usable
16 GB
est. speed
~43 tok/s

Estimates for an 8K context; offload assumes 32 GB of system RAM.Try other contexts on the lumi-4b page →

Every quantisation of lumi-4b on the Radeon RX 7800 XT

QuantQualityMemoryFitSpeed
Q2_K Heavy loss3.1 GBfits~263 tok/s
Q3_K_M Noticeable loss3.7 GBfits~177 tok/s
Q4_K_M Small loss4.2 GBfits~142 tok/s
Q5_K_M Near-lossless4.6 GBfits~121 tok/s
Q6_K Near-lossless5.7 GBfits~105 tok/s
Q8_0 Lossless5.9 GBfits~81 tok/s
FP16 / BF16 pickLossless9.6 GBfits~43 tok/s

Speed is a bandwidth-based estimate for generating text (624 GB/s); prompt processing and long contexts are slower.

Measured speed on the Radeon RX 7800 XT

No community reports for this pair yet.

Report your own speed →

Run lumi-4b on the Radeon RX 7800 XT

Using FP16 / BF16, the best fit for Radeon RX 7800 XT.

llama.cpp · OpenAI-compatible server with a web UIdocs
llama-server -hf Mateus-Nery/lumi-4b-GGUF:BF16

Needs a HIP (ROCm) build of llama.cpp. Downloads the GGUF on first run.

llama.cpp · Docker with ROCm (AMD)docs
docker run -d --name llama --device /dev/kfd --device /dev/dri -p 8080:8080 \
  -v ~/.cache/llama.cpp:/root/.cache/llama.cpp \
  ghcr.io/ggml-org/llama.cpp:server-rocm \
  -hf Mateus-Nery/lumi-4b-GGUF:BF16 --host 0.0.0.0 --port 8080 -ngl 99

Server and web UI on port 8080.

vLLM · Serve an OpenAI-compatible APIdocs
vllm serve ceia-br/lumi-4b

Needs vLLM built for ROCm; it supports Instinct MI200/MI300 and Radeon RX 7900 / 9000 cards.

vLLM · Smaller FP8 builddocs
vllm serve liodon-ai/lumi-4b-FP8
vLLM · Docker Compose (AMD ROCm)docs
services:
  vllm:
    image: rocm/vllm:latest
    command: vllm serve ceia-br/lumi-4b --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/huggingface

AMD’s rocm/vllm image. API on port 8000.

SGLang · Serve an OpenAI-compatible APIdocs
sglang serve ceia-br/lumi-4b --host 0.0.0.0 --port 30000

Needs SGLang’s ROCm build (Instinct MI300-class GPUs).

Chat models that fit the Radeon RX 7800 XT comfortably

All that fit →
ModelParamsBest quantMemorySpeedLicence
4BQ8_0≈5.8 GBFits in memory~80 tok/sCommercial OK
3.2BQ8_0≈4.7 GBFits in memory~101 tok/sConditions
3.8BQ8_0≈5.5 GBFits in memory~84 tok/sCommercial OK
4BQ8_0≈5.8 GBFits in memory~80 tok/sCommercial OK
4.1BQ8_0≈5.9 GBFits in memory~79 tok/sCommercial OK
3.1BQ8_0≈4.3 GBFits in memory~105 tok/sNon-commercial

Other GPUs that run lumi-4b

Frequently asked questions

Can the Radeon RX 7800 XT run lumi-4b?
Yes. The Radeon RX 7800 XT runs lumi-4b fully in VRAM at FP16 / BF16 (about 9.6 GB of 16 GB), at roughly 43 tokens/s.
How fast does lumi-4b run on the Radeon RX 7800 XT?
An estimate from memory bandwidth gives about 43 tokens/s at FP16 / BF16.
Which quantisation of lumi-4b should I use on the Radeon RX 7800 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.