b70-optimization-lab

Qwen3 14B Instruct Q4_K_M Rapid Snapshot

Audience: benchmark readers and future optimizers who need a strict one-B70 llama.cpp baseline for Qwen3 14B Instruct on Intel Arc Pro B70.

Status

Headline Strict Row

Use the standalone ctx=2048, ubatch=512, threads=12 confirmation. It was only a small win over the simple ctx=4096 baseline, so do not over-interpret sub-percent micro-ranking.

Quick Screen

All rows below used the same strict rapid realistic suite, one cold response per prompt, server prompt cache disabled, per-request cache_prompt=false, and cached_tokens=0 on every request. Four-GPU concurrent rows compressed wall time but underreported standalone throughput for this GGUF lane, so they are support only.

Label Median tok/s 1-100 after TTFT Result
ctx2048-ub512-t12 38.36300654991402 support, same recipe
ctx2048-ub512-t12-confirm 38.249019008891544 promoted standalone
ctx2048-ub512 38.3320652330347 support
ctx2048-ub512-t4 38.15387756822632 no material win
ctx4096 baseline 37.89526590689783 strict-valid baseline
fourway poll100-ctx4096 31.58693859551303 concurrent support only
fourway ctx2048 31.454761703625266 concurrent support only
fourway default-ctx4096 31.31227652628796 concurrent support only
fourway ub512-ctx4096 31.29938033955768 concurrent support only

Reproduce

cd /home/steve/llm-optimizations

MODEL=/mnt/usb-models/llm-models/qwen3-14b-instruct-gguf/Qwen3-14B-Q4_K_M.gguf \
MODEL_ALIAS=qwen3-14b-instruct-q4km \
LABEL=qwen3-14b-instruct-q4km-llamacpp-faon-cacheoff-ctx2048-ub512-t12-confirm-realistic128 \
GPU_INDEX=0 PORT=19760 \
CTX_SIZE=2048 BATCH_SIZE=1024 UBATCH_SIZE=512 THREADS=12 POLL=50 \
FLASH_ATTN=on CACHE_TYPE_K=f16 CACHE_TYPE_V=f16 \
MAX_TOKENS=128 METRIC_TOKENS=100 \
scripts/run-rapid-llamacpp-realistic-candidate.sh

Validity

This row uses the shared rapid realistic suite:

The benchmark uses streamed text/reasoning deltas for token timing because llama.cpp does not provide vLLM-style streamed token IDs here. The promoted row emitted enough streamed deltas for the 100-token metric window.

Notes For Future Work