+++ title = "Qwen3.8-27B on 2× Arc B580 with vLLM, single user" summary = "The 27B doesn't fit one 12 GB card: split it over two with tensor parallelism plus MTP." model = "Qwen3.8-27B" quant = "w4a16" kv = "fp16" engine = "vllm" gpu = "Arc B580" gpus = 2 tp = 2 profile = "single-user" spec = "mtp:5" thinking = "default" topology = ["Gen4 x8 CPU", "Gen4 x8 CPU"] results = ["261027_demo_qwen3.8-27b_vllm_2x-arc-b580"] +++ Two consumer cards for the 27B: 24 GB together, enough for the INT4 weights and a short context. Each card holds half of every layer, and they exchange activations over PCIe after every layer, so the link to the CPU decides how well this scales. > **Demo data.** These numbers are synthetic, made by `tools/demo/make_demo.py` to show the layout. Nothing here was measured. **decode at batch 1: 51.3 t/s** · one submitter · 1 run | metric | first run | |---|---| | GPUs | 2× Arc B580 · tp 2 · pp 1 | | PCIe topology (declared) | Gen4 x8 CPU · Gen4 x8 CPU | | decode at batch 1 (median) | 51.3 t/s | | time to first token (median) | 261 ms | | concurrency, aggregate | 1: 51 · 2: 51 · 4: 52 · 8: 53 t/s | | prefill | 2k: 1,657 t/s | | decode at batch 1 per GPU | 25.7 t/s | | memory bandwidth reached | n/a: speculative decoding makes several tokens per pass over the weights | | decode energy | n/a: bench-standard samples the power of one GPU | | run | submitter | date | decode at batch 1 | TTFT | report | |---|---|---|---|---|---| | `261027_demo_qwen3.8-27b_vllm_2x-arc-b580` | demo | 2026-10-27 | 51.3 t/s | 261 ms | [html](../results/261027_demo_qwen3.8-27b_vllm_2x-arc-b580/261027_demo_qwen3.8-27b_vllm_2x-arc-b580.html) | Reproduce it: start the server with the launch command below, save that command as `server-cmd.txt`, then run [bench-standard](https://git.linxweiler.xyz/miga/benchmarks): ```sh ./bench.sh --endpoint http://localhost:8000/v1 --model qwen3.8-27b \ --tp 2 --pp 1 --quant w4a16 --kv fp16 --spec mtp:5 --thinking default \ --submitter YOUR_NAME --server-cmd-file server-cmd.txt --full ``` bench.sh records PCIe and power for one GPU only: put the link of every GPU in `--special-notes`, as in the recipe's `topology`. ## Requirements - Two Arc B580, both in slots wired to the CPU (see Pitfalls), host set up as in [host setup](../../docs/host-setup.md) - Docker - The `RedHatAI/Qwen3.8-27B-INT4` checkpoint, as in the [B65 recipe](../../arc-pro-b65/qwen3.8-27b/vllm-single-user.md) ## Launch ```sh docker run --rm --name llm --device /dev/dri --ipc=host -v /models:/models -p 8000:8000 \ -e ZE_AFFINITY_MASK=0,1 \ intel/vllm:0.30.0-xpu@sha256:0000000000000000000000000000000000000000000000000000000000000000 \ vllm serve /models/RedHatAI/Qwen3.8-27B-INT4 --served-model-name qwen3.8-27b \ --tensor-parallel-size 2 --dtype float16 --max-model-len 8192 --max-num-seqs 1 \ --gpu-memory-utilization 0.95 \ --speculative-config '{"method":"mtp","num_speculative_tokens":5}' \ --host 0.0.0.0 --port 8000 ``` ## Why these flags | flag | why | |---|---| | `--tensor-parallel-size 2` | each GPU holds half of every layer | | `ZE_AFFINITY_MASK=0,1` | the two B580s, as Level Zero numbers them; check with `xpu-smi discovery` | | `--max-model-len 8192` | after the weights, little memory is left per card for the KV cache | | `--gpu-memory-utilization 0.95` | the weights fill most of the 2 × 12 GB | | `--speculative-config` mtp, 5 tokens | as on one card: drafts are checked in one pass | ## Pitfalls - A slot wired to the chipset (often the second x16 slot, electrically x4) slows every layer. `lspci -vv` shows the link width of each card. Declare both in the run's `--special-notes`: bench.sh reads only the first card. - Two cards draw twice the power, but bench.sh samples one. The energy figure is left out.