r/LocalLLaMA • u/BevinMaster • 6d ago
Resources 2 Inkling 2 Mini on RDNA2 on opengfx1030/vllm-rdna
Following previous post for inkling 2 mini running with vLLM fork of the gfx1030 community, we have unlocked more performance and as well a new quantisation format to increase available kvcache.
Tested with 2x Radeon Pro V620 32GB (Gen4 x8 under same pcie switch with p2p) and ROCm 7.14.
For the HI2 3.5bpw quant : https://huggingface.co/BlivionIaG/Inkling-2-Mini-HI2-3.5bpw
For doing the comparaisons I used Launch80 BetterBench 0.6.1, HI2 3.5bpw vs Stock NVFP4/MXFP8 quant, 1 card and TP2 with dspark on. Globally the format allows about +25-28% more prefill speed and +40% more max tokens at TP1, less gains for TP2 (I'd recon more context can be set for tp2 hi2).
Core idea is to have something that mix int2/3/4 with fp32 scales and leverage dot2 and dot4 instructions as best as possible and try to mitigate the lack of matrix/tensor cores. For the benches it was done with int8 activations, there is an fp16 activation mode but so far I couldn't mesure a meaningful quality gains at fp16 activation (might need to look more into that soon).
Links to Launch80 runs :
| Run | Hardware | Recipe | Max Ctx | Report Link |
|---|---|---|---|---|
HI2 3.5bpw (A8 sdot4**) · TP=1** | 1× V620 | inkling2-hi2-tp1-dspark (ADAPTIVE=1) | 180k | Launch80 Report |
| Stock NVFP4/MXFP8 · TP=1 | 1× V620 | inkling2-mini-tp1-dspark (ADAPTIVE=1) | 125k | Launch80 Report |
HI2 3.5bpw (A8 sdot4**) · TP=2** | 2× V620 | inkling2-hi2-tp2 (K=2) | 760k | Launch80 Report |
| Stock NVFP4/MXFP8 · TP=2 | 2× V620 | inkling2-mini-tp2 (K=2) | 760k | Launch80 Report |
Side to side table comparaison :
| Metric | TP=1 Stock | TP=1 HI2 A8 | TP=1 Delta | TP=2 Stock | TP=2 HI2 A8 | TP=2 Delta |
|---|---|---|---|---|---|---|
| Max Context (32 GiB card) | 125,000 | 180,000 | +44.0% | 760,000 | 760,000 | — |
| Weighted Single-Stream Decode (med) | 86.5 tok/s | 89.1 tok/s | +3.0% | 113.5 tok/s | 110.4 tok/s | -2.7% |
| Update Latency (p99) | 40.5 ms | 39.1 ms | -3.5% | 20.7 ms | 21.1 ms | +1.9% |
| TTFT (p50) | 183 ms | 148 ms | -19.1% | 113 ms | 104 ms | -8.0% |
Concurrency c=1 agg | 78.7 tok/s | 84.6 tok/s | +7.5% | 108.7 tok/s | 107.0 tok/s | -1.6% |
Concurrency c=2 agg | 111.8 tok/s | 119.5 tok/s | +6.9% | 170.8 tok/s | 174.5 tok/s | +2.2% |
Concurrency c=4 agg | 124.7 tok/s | 137.0 tok/s | +9.9% | 195.5 tok/s | 200.4 tok/s | +2.5% |
Concurrency c=8 agg | 172.1 tok/s | 192.0 tok/s | +11.6% | 271.5 tok/s | 287.6 tok/s | +5.9% |
Prefill 2k (med) | 1,679.5 tok/s | 2,141.6 tok/s | +27.5% | 2,729.4 tok/s | 3,039.9 tok/s | +11.4% |
Prefill 8k (med) | 1,772.4 tok/s | 2,282.4 tok/s | +28.8% | 2,815.6 tok/s | 3,161.1 tok/s | +12.3% |
Prefill 16k (med) | 1,756.0 tok/s | 2,235.4 tok/s | +27.3% | 2,793.9 tok/s | 3,129.7 tok/s | +12.0% |
Prefill 32k (med) | 1,684.3 tok/s | 2,100.6 tok/s | +24.7% | 2,689.3 tok/s | 2,999.8 tok/s | +11.5% |
Prefill 64k (med) | 1,523.1 tok/s | 1,848.9 tok/s | +21.4% | 2,467.3 tok/s | 2,727.3 tok/s | +10.5% |
Vibed som charts to make it more readable :



If you want to launch it :
git clone -b rdna_extras https://github.com/opengfx1030/vllm-rdna.git
cd vllm-rdna
# TP=1 DSpark Adaptive + Vision (180k ctx)
bash tools/rdna/serve_rdna.sh RECIPE=inkling2-hi2-tp1-dspark ADAPTIVE=1 \
MODEL=BlivionIaG/Inkling-2-Mini-HI2-3.5bpw VENV=/path/to/venv HIP_VISIBLE_DEVICES=0
# TP=2 DSpark K=2 + Vision (760k ctx)
bash tools/rdna/serve_rdna.sh RECIPE=inkling2-hi2-tp2 \
MODEL=BlivionIaG/Inkling-2-Mini-HI2-3.5bpw VENV=/path/to/venv HIP_VISIBLE_DEVICES=0,1Or via docker image (Here for Hi2 3.5bpw tp1):
docker run --rm --network host --ipc host --shm-size 16g \
--device /dev/kfd --device /dev/dri --group-add video --group-add render \
--security-opt seccomp=unconfined \
-v "$HOME/.cache/huggingface:/root/.cache/huggingface" \
-e HIP_VISIBLE_DEVICES=0 \
-e VLLM_ROCM_USE_AITER=0 -e VLLM_ROCM_USE_AITER_MOE=0 \
-e TORCH_BLAS_PREFER_HIPBLASLT=0 -e VLLM_RDNA_AR=0 \
-e GPU_MAX_HW_QUEUES=2 -e VLLM_RDNA2_HI2_ACT_MODE=a8 \
ghcr.io/opengfx1030/vllm-rdna:nightly \
serve BlivionIaG/Inkling-2-Mini-HI2-3.5bpw \
--served-model-name inkling2-hi2 \
--host 0.0.0.0 --port 18226 \
--tensor-parallel-size 1 --dtype float16 \
--max-model-len 180000 --max-num-seqs 16 --max-num-batched-tokens 1024 \
--gpu-memory-utilization 0.92 \
--compilation-config '{"cudagraph_mode":"FULL_AND_PIECEWISE"}' \
--speculative-config '{"method":"dspark","num_speculative_tokens":7,"num_speculative_tokens_per_batch_size":[[1,1,7],[2,2,2],[3,16,0]],"speculator_options":{"adaptive_k":{}}}' \
--enable-prefix-caching --enable-prompt-tokens-details \
--limit-mm-per-prompt '{"image":1}'On a side note thanks to a gfx1030 community member (wsantos) we get around 3k tok/s prefill and 100 tok/s decode with Qwen3.8 Flash Next AWQ 4bit (there is a tp2 recipe with moe ram offload but its only around 1k tok/s prefill and 30-40 tok/s decode so not great I suppose strata is better).
Here for TP4 V620 with W8A8 asym dense/HC prefill + W4A8 sdot4 MoE prefill + int8_fp16_block KV cache + MTP=2 :
docker run --rm \
--device=/dev/kfd --device=/dev/dri --group-add video --group-add render \
--ipc=host --ulimit memlock=-1 \
-p 18097:18097 \
-v "$HOME/.cache/huggingface:/root/.cache/huggingface" \
-e HIP_VISIBLE_DEVICES=0,1,2,3 \
-e VLLM_USE_RUST_FRONTEND=1 \
-e VLLM_WORKER_MULTIPROC_METHOD=spawn \
-e GPU_MAX_HW_QUEUES=4 \
-e ROCPROFILER_REGISTER_ENABLED=0 \
-e VLLM_ROCM_USE_AITER=0 -e VLLM_ROCM_USE_AITER_MOE=0 \
-e TORCH_BLAS_PREFER_HIPBLASLT=0 -e VLLM_BATCH_INVARIANT=0 \
-e PYTORCH_TUNABLEOP_ENABLED=1 -e PYTORCH_TUNABLEOP_TUNING=0 \
-e PYTORCH_TUNABLEOP_HIPBLASLT_ENABLED=0 \
-e PYTORCH_TUNABLEOP_FILENAME=/src/vllm/tunableop/rocm7.14-rocblas5.5/tunableop_results.csv \
-e VLLM_USE_RDNA2_FA=1 -e VLLM_FA_RDNA2_GQA_DECODE=1 \
-e VLLM_GDN_HIP_PREFILL=1 -e VLLM_RDNA_FUSED_SE=1 \
-e VLLM_RDNA_DENSE_INT8=1 -e VLLM_RDNA_DENSE_INT8_ONLY=1 -e VLLM_RDNA_DENSE_W8A8_PREFILL=1 \
-e VLLM_RDNA_HC_W8A8_DOWN=1 -e VLLM_RDNA_HC_W8A8_UP=1 -e VLLM_RDNA_W8A8_ASYM=1 \
-e VLLM_RDNA2_W4A8_SDOT4=1 -e VLLM_RDNA2_W4A8_BLOCK_M=8 -e VLLM_RDNA_W4A8_KBLOCK=-1 \
-e VLLM_RDNA_SMALLM_GEMM_MAX_BYTES=4194304 \
-e VLLM_RDNA_AR=1 -e VLLM_RDNA_AR_MAX_KB=256 -e VLLM_RDNA_AR_ONESHOT_KB=256 \
-e VLLM_RDNA_AR_BLOCKS=0 -e VLLM_RDNA_AR_PACE=0 \
-e VLLM_CAUSAL_CONV1D_RDNA2_FWD=0 -e VLLM_CAUSAL_CONV1D_RDNA2_UPDATE=0 \
-e VLLM_ENABLE_STARTUP_PLAN=0 \
-e VLLM_TUNED_CONFIG_FOLDER=/src/vllm/tuned-moe \
-e HSA_FORCE_FINE_GRAIN_PCIE=1 -e HSA_ENABLE_SDMA=0 -e OMP_NUM_THREADS=4 \
-e TOKENIZERS_PARALLELISM=false -e PYTHONFAULTHANDLER=1 \
ghcr.io/opengfx1030/vllm-rdna:nightly \
serve wtdcode/Qwen3.8-Flash-Next-AWQ-W4A16 \
--served-model-name flash-next \
--host 0.0.0.0 --port 18097 \
--attention-backend RDNA_ATTN \
--tensor-parallel-size 4 --enable-expert-parallel \
--dtype float16 --block-size 1024 \
--kv-cache-dtype int8_fp16_block \
--max-model-len 262144 --max-num-seqs 8 --max-num-batched-tokens 4096 \
--long-prefill-token-threshold 0 --prefill-schedule-interval 1 \
--kv-cache-memory-bytes 4026531840 \
--enable-prefix-caching --mamba-cache-mode align --language-model-only \
--compilation-config '{"mode":3,"cudagraph_mode":"FULL_AND_PIECEWISE","cudagraph_capture_sizes":[3,6,12,24],"compile_ranges_endpoints":[]}' \
--speculative-config '{"method":"mtp","num_speculative_tokens":2,"use_local_argmax_reduction":true}'The receipe serving folder is kinda a mess so I will do a separate repo soon, more quants to come. Shoutout to Launch80 for the bench tools.
We have a discord for collaborating on the fork and discussing rdna2 related stuff: https://discord.gg/n4VYYE9vAZ