b70-optimization-lab

DeepSeek-Coder-V2-Lite-Instruct Q4_K_M Rapid Snapshot

Audience: benchmark readers and future optimizers who need a strict one-B70 llama.cpp baseline for DeepSeek-Coder-V2-Lite-Instruct on Intel Arc Pro B70.

Status

Headline Strict Row

Use the conservative lower of the two standalone ctx=2048 confirmations.

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-way screen rows ran concurrently on GPUs 0-3 and are diagnostic/support only unless independently confirmed.

Label Median tok/s 1-100 after TTFT Result
ctx2048 57.21192316867396 standalone support
ctx2048-confirm 57.09651439511314 promoted conservative standalone
ctx4096-default 56.03330573597446 strict-valid baseline
ctx4096-ub512 56.12564201373243 no material win
fourway-ctx2048 43.31155837045327 four-GPU-active support only
fourway-ub512-ctx4096 42.49284651812975 four-GPU-active support only
fourway-default-ctx4096 40.541902174501836 four-GPU-active support only
fourway-poll100-ctx4096 38.05749045183228 four-GPU-active support only

Conclusion: ctx=2048 is a small standalone win for this short-context rapid suite. The concurrent four-GPU screen substantially underreported throughput, so promote from standalone confirmations only.

Reproduce

cd /home/steve/llm-optimizations

MODEL=/mnt/usb-models/llm-models/deepseek-coder-v2-lite-instruct-gguf/DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf \
MODEL_ALIAS=deepseek-coder-v2-lite-q4km \
LABEL=deepseek-coder-v2-lite-q4km-llamacpp-faon-cacheoff-ctx2048-confirm-realistic128 \
GPU_INDEX=0 PORT=19720 \
CTX_SIZE=2048 BATCH_SIZE=1024 UBATCH_SIZE=256 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

The runner defaults to server prompt cache disabled (--cache-ram 0) and per-request prompt cache disabled ({"cache_prompt":false}). Do not remove either for headline claims.

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