Recipe
qwen38-q4km-arcb70-llamacpp-tp2
qwen38-q4km-arcb70-llamacpp-tp2Validated two-B70 Qwen3.8-27B Q4_K_M llama.cpp SYCL TP2 runtime with four 65,536-token slots, MTP speculative decoding, pinned OCI identity, correct uncapped chat output, a valid forced tool call, correct inline-image recognition, and 13 historical or candidate speed-sweep points through 245K aggregate context.
Record
- Status
- validated
- Source
- 0xsero
- Engine
- llama-cpp
- Engine version
- 4302fb59969a5d8cf9f8e5f55fdd4506d0ed2126+b70-patches
- Graph
- disabled at compile time (-DGGML_SYCL_GRAPH=OFF)
- Accelerators
- 2
- Tensor parallel
- 2
- Context tokens
- 65,536
- Max concurrency
- 4
- KV cache tokens
- 262,144
- chat
- yes
- reasoning
- no
- tools
- yes
- vision
- yes
Hugging Face model card
Identity
https://huggingface.co/ggml-org/Qwen3.8-27B-GGUF- Repository
- ggml-org/Qwen3.8-27B-GGUF
- Status
- known
- Link type
- Exact Hub repository
Public Hugging Face repository confirmed by the Hub API.
Validated: pinned artifact, pinned runtime, and accepted evidence. This is a launch contract.
Docker configuration
llama-cpp
Container · validated · docker
Validated launch contract
- Image
ghcr.io/0xsero/qwen38-b70@sha256:5f3f585ca62976993dd6aa998efb4680f74ce49d6c8499a77bd612241bafd4b9- Digest
sha256:5f3f585ca62976993dd6aa998efb4680f74ce49d6c8499a77bd612241bafd4b9- Port
- 8010
Environment
| Variable | Value |
|---|---|
BATCH | 8192 |
DRAFT_NGL | 0 |
DRAFT_THREADS | 16 |
ENABLE_MTP | 1 |
ENABLE_VISION | 1 |
GPU_COUNT | 2 |
PARALLEL | 4 |
SPEC_DRAFT_N_MAX | 5 |
THREADS | 16 |
UBATCH | 8192 |
Mounts
| Source | Target |
|---|---|
asset/qwen38-b70-llamacpp-entrypoint.sh | /entrypoint.sh (read-only) |
/dev/dri/by-path | /dev/dri/by-path (read-only) |
~/.cache/inference-index/models/qwen38-b70 | /models |
Launch
Exact materialization of this validated launch contract: digest-pinned image, pinned model revision, and the audited arguments. Self-contained — required assets are fetched from this registry and verified against their recorded sha256 before mounting. Also available as local-ai run qwen38-q4km-arcb70-llamacpp-tp2.
- Pulls the exact container image by sha256 digest — the bytes that were validated, not a floating tag.
- Fetches any required engine assets from this registry and verifies each against its recorded sha256; the audited launch script verifies them again inside the container before use.
- Downloads the pinned model revision into your Hugging Face cache on first run (reused afterwards).
- Serves an OpenAI-compatible API on
localhost:8010— point any client at it.
ASSETS="${TMPDIR:-/tmp}/local-ai-assets" && mkdir -p "$ASSETS" && \
curl -fsSL 'https://local-ai-registry.vercel.app/api/v1/asset/qwen38-b70-llamacpp-entrypoint/file' -o "$ASSETS/qwen38-b70-llamacpp-entrypoint.sh" && \
{ printf '%s %s\n' '7e3af3242ee29801981b032211f5158d8143f94aead2e817c46fe84e3e2662e9' "$ASSETS/qwen38-b70-llamacpp-entrypoint.sh" | sha256sum -c - 2>/dev/null || printf '%s %s\n' '7e3af3242ee29801981b032211f5158d8143f94aead2e817c46fe84e3e2662e9' "$ASSETS/qwen38-b70-llamacpp-entrypoint.sh" | shasum -a 256 -c -; } && \
docker run --rm \
--device /dev/dri \
--ipc host \
--shm-size 8g \
-p 8010:8010 \
-e BATCH=8192 \
-e DRAFT_NGL=0 \
-e DRAFT_THREADS=16 \
-e ENABLE_MTP=1 \
-e ENABLE_VISION=1 \
-e GPU_COUNT=2 \
-e PARALLEL=4 \
-e SPEC_DRAFT_N_MAX=5 \
-e THREADS=16 \
-e UBATCH=8192 \
-v "$ASSETS/qwen38-b70-llamacpp-entrypoint.sh":/entrypoint.sh:ro \
-v /dev/dri/by-path:/dev/dri/by-path:ro \
-v ~/.cache/inference-index/models/qwen38-b70:/models \
--entrypoint /entrypoint.sh \
ghcr.io/0xsero/qwen38-b70@sha256:5f3f585ca62976993dd6aa998efb4680f74ce49d6c8499a77bd612241bafd4b9Measured speed
| Concurrency | Context | Prefill | Decode | TTFT ms | Status | Sweep |
|---|---|---|---|---|---|---|
| 1 | 2,500 | 955 | 51.1 | 2,100 | historical | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 1 | 10,000 | 881 | 50.9 | 9,100 | historical | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 1 | 20,000 | 801 | 51.1 | 20,000 | historical | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 1 | 40,000 | 694 | 49.7 | 46,200 | historical | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 1 | 60,000 | 563 | 46.9 | 106,600 | historical | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 1 | 160,000 | 365 | 42 | 355,800 | historical | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 1 | 245,000 | 275 | 30.8 | 727,300 | historical | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 1 | 1,024 | 406.2 | 35.7 | — | candidate | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 2 | 1,024 | 358.9 | 13.3 | — | candidate | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 4 | 1,024 | 201.7 | 9 | — | candidate | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 1 | 8,192 | 361.9 | 27 | — | candidate | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 2 | 8,192 | 367.5 | 9.1 | — | candidate | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
| 4 | 8,192 | 258.1 | 5.4 | — | candidate | qwen38-q4km-arcb70-llamacpp-tp2-sweep |
Remaining fields
Identity, launch, related records, and measured speed are shown above. This is the rest of the normalized record.
- hardware count
- 2
- hardware id
- intel-arc-pro-b70-32gb
- id
- qwen38-q4km-arcb70-llamacpp-tp2
- model instance id
- ggml-org-qwen3-8-27b-gguf--q4-k-m
- recipe source
- 0xsero
- schema version
- local-ai-registry/v1
- speed sweep ids
- qwen38-q4km-arcb70-llamacpp-tp2-sweep
- status
- validated
capabilities
- chat
- Yes
- reasoning
- No
- tools
- Yes
- vision
- Yes
engine
- graph mode
- disabled at compile time (-DGGML_SYCL_GRAPH=OFF)
- name
- llama-cpp
- version
- 4302fb59969a5d8cf9f8e5f55fdd4506d0ed2126+b70-patches
serving
- kv cache tokens
- 262,144
- max concurrency
- 4
- max context tokens
- 65,536
- tensor parallel
- 2
Provenance & metadata (3)
facts
- capabilities.chat · provenance · captured at
- 2026-09-01T09:21:24Z
- capabilities.reasoning · provenance · captured at
- 2026-09-01T09:21:24Z
- capabilities.tools · provenance · captured at
- 2026-09-01T09:21:24Z
- capabilities.vision · provenance · captured at
- 2026-09-01T09:21:24Z
- engine.graph mode · provenance · captured at
- 2026-09-01T09:21:24Z
- engine.version · provenance · captured at
- 2026-09-01T09:21:24Z
- launch.container.digest · provenance · captured at
- 2026-09-01T09:21:24Z
- serving.kv cache tokens · provenance · captured at
- 2026-09-01T09:21:24Z
- serving.max concurrency · provenance · captured at
- 2026-09-01T09:21:24Z
- serving.max context tokens · provenance · captured at
- 2026-09-01T09:21:24Z
metadata
- runtime identity · build fingerprint
- b10552-4302fb599
- runtime identity · container id
- 492127af2f8d43c085aa5ea88790a9e022dc07ba4af235777266ad0d0bd72346
- runtime identity · entrypoint asset sha256
- 7e3af3242ee29801981b032211f5158d8143f94aead2e817c46fe84e3e2662e9
- runtime identity · image config id
- sha256:28dc88a5aba40fb81e6e56b977b55ed9ad15f1e791de23461f9193366672e834
- runtime identity · local image id
- sha256:5f3f585ca62976993dd6aa998efb4680f74ce49d6c8499a77bd612241bafd4b9
- runtime identity · model context per slot
- 65,536
- runtime identity · model parameters
- 26,895,998,464
- runtime identity · model revision
- 0669b98607d47046c7c2b3f801011d54a08cfccf
- runtime identity · published oci index digest
- sha256:5f3f585ca62976993dd6aa998efb4680f74ce49d6c8499a77bd612241bafd4b9
- runtime identity · published oci manifest digest
- sha256:415131b2703a99c6a5057ae1d35e9569ae5fecc32d2fe4da6ce41c0eb202269f
- runtime identity · slot count
- 4
provenance
- captured at
- 2026-09-01T09:21:24Z
sources
| captured at | kind | url |
|---|---|---|
| 2026-09-01T09:21:24Z | live-runtime-acceptance | github.com/0xSero/local-ai-registry/blob/main/docs/notes/qwen38-q4km-arcb70-llamacpp-tp2-20260901.json ↗ |
| 2026-09-01T09:21:24Z | recipe-source | github.com/0xSero/qwen38-b70 ↗ |