A matched serving comparison
expXa vs PXA 4.0.4 on dual V100s
Topics: Inference Engineering · Subject: External Models
The same Qwen3.6-35B-A3B Q6_K weights. Two V100-SXM2 32GB GPUs. Stock and tuned PXA. Measured end to end.
Finding
At 65,536 input tokens, expXa’s median request latency was 29.0% lower than tuned PXA 4.0.4: 13.343 s versus 18.782 s.
All three arms used depth-one multi-token prediction (MTP), 262,144 allocated context and exactly 128 output tokens. The table retains every input length and the complete result ranges. Both engines failed this prompt-only JSON fixture in every round; native constrained JSON passed. These are whole-backend measurements; the KV format and GPU parallelism differ.
at 4,096 input tokens
at 16,384 input tokens
at 65,536 input tokens
Request latency
Elapsed time is measured by one client on GPU-host loopback, from before sending the HTTP request to the end of the stream. First content means the first nonempty text event. Model loading and the unscored warmup are excluded. Each row has three scored repetitions.
| Engine | Input tokens | Request median, s | Range, s | First content, s | Visible stream span, s |
|---|---|---|---|---|---|
| expXa (current) | 512 | 1.437 | 1.427–1.487 | 0.135 | 1.302 |
| PXA 4.0.4 (stock) | 512 | 1.769 | 1.746–1.879 | 0.245 | 1.524 |
| PXA 4.0.4 (4× launch queue) | 512 | 1.752 | 1.749–1.755 | 0.243 | 1.510 |
| expXa (current) | 4,096 | 1.806 | 1.800–1.835 | 0.519 | 1.288 |
| PXA 4.0.4 (stock) | 4,096 | 2.133 | 2.131–2.141 | 0.880 | 1.250 |
| PXA 4.0.4 (4× launch queue) | 4,096 | 2.090 | 2.089–2.121 | 0.851 | 1.239 |
| expXa (current) | 16,384 | 3.502 | 3.487–3.526 | 2.194 | 1.308 |
| PXA 4.0.4 (stock) | 16,384 | 4.878 | 4.864–4.890 | 3.435 | 1.429 |
| PXA 4.0.4 (4× launch queue) | 16,384 | 4.668 | 4.633–4.745 | 3.237 | 1.423 |
| expXa (current) | 65,536 | 13.343 | 13.334–13.382 | 11.880 | 1.459 |
| PXA 4.0.4 (stock) | 65,536 | 20.580 | 20.554–20.599 | 18.959 | 1.600 |
| PXA 4.0.4 (4× launch queue) | 65,536 | 18.782 | 18.734–18.804 | 17.224 | 1.524 |
Latency by prompt length
Shorter bars are faster. Each group has its own scale; compare engines within a group.
Whole-request throughput
Output throughput below is 128 divided by total request time, including input processing. Effective input throughput is input tokens divided by time to first content. These are client-observed workload measures. Neither is a kernel-only prefill or decode rate.
| Engine | Input tokens | Output / request, tok/s | Input / first content, tok/s |
|---|---|---|---|
| expXa (current) | 512 | 89.09 | 3,805.8 |
| PXA 4.0.4 (stock) | 512 | 72.35 | 2,092.8 |
| PXA 4.0.4 (4× launch queue) | 512 | 73.08 | 2,106.1 |
| expXa (current) | 4,096 | 70.88 | 7,894.6 |
| PXA 4.0.4 (stock) | 4,096 | 60.02 | 4,652.2 |
| PXA 4.0.4 (4× launch queue) | 4,096 | 61.24 | 4,813.4 |
| expXa (current) | 16,384 | 36.55 | 7,468.6 |
| PXA 4.0.4 (stock) | 16,384 | 26.24 | 4,769.6 |
| PXA 4.0.4 (4× launch queue) | 16,384 | 27.42 | 5,062.1 |
| expXa (current) | 65,536 | 9.59 | 5,516.5 |
| PXA 4.0.4 (stock) | 65,536 | 6.22 | 3,456.7 |
| PXA 4.0.4 (4× launch queue) | 65,536 | 6.81 | 3,805.0 |
At 4,096 input tokens, expXa’s median visible stream span was longer than tuned PXA’s despite lower total request latency. The table retains that adverse result. An MTP event can carry multiple tokens, and tokenizer buffering can delay text. We therefore do not divide a nominal 127 tokens by the visible-event span and label it native decode throughput.
Correctness and service reuse after disconnect
Natural-stop functional checks run before the forced-length speed requests. Prompt-only JSON and native constrained JSON are scored separately. A service-reuse check closes a stream after its first content and then asks an arithmetic question. This proves a successful following request; it does not measure cancellation latency.
| Check | expXa (current) | PXA 4.0.4 (stock) | PXA 4.0.4 (4× launch queue) |
|---|---|---|---|
| arithmetic | 3/3 | 3/3 | 3/3 |
| extraction | 3/3 | 3/3 | 3/3 |
| negation | 3/3 | 3/3 | 3/3 |
| prompt json | 0/3 | 0/3 | 0/3 |
| guided json | 3/3 | 3/3 | 3/3 |
| post-disconnect request | 3/3 | 3/3 | 3/3 |
Output hashes were stable across the three repetitions in 12 of the 12 engine/input groups. Every hash is included in the download. Equal hashes support equality for that measured output; differing hashes mean the timing includes different generated text. The expXa and stock PXA outputs matched at 0 of the four input lengths; stock and tuned PXA outputs matched at 4 of the four. These small checks do not establish broad model quality or equivalence.
Method and exact versions
- expXa release
6180610, with the qualified host-side policy/GDN fixes and fused small-batch MoE routing from1b52be9. The immutable host overlay is pinned by SHA256; the routing opt-in is enabled. - PXA 4.0.4, official binary build
e37f292792, release source34be001. Those source and binary identifiers are distinct. The downloaded release archive and all five selected runtime files were verified by SHA256. - Stock PXA uses the default launch-queue setting. Tuned PXA differs only by
CUDA_SCALE_LAUNCH_QUEUES=4x, set before process startup. Numerical overflow guards stay enabled in both arms. Queue settings are supplied by the committed launcher; the recorded runtime identity verifies mapped binaries and libraries. PXA environment values were not independently read back from each process. - One identical Q6_K weight file, verified by SHA256, with all model layers and routed experts GPU-resident. Host CPU: Xeon Gold 6248 with a 19.2-core quota; GPU driver 580.178.04. PXA uses equal layer splitting and Q8_0 KV; expXa uses tensor parallelism across both GPUs and FP8 E4M3 KV. PXA retains its CPU-resident vision projector, although these requests contain no images.
- Same deterministic synthetic token arrays at 512, 4,096, 16,384 and 65,536 inputs; tokenizer fixture hash verified in every arm. Greedy generation, seed 42, exactly 128 output tokens. The same five end-of-generation IDs are suppressed only for speed measurements: PXA uses explicit token bans; expXa uses its native minimum-token and stop-ID controls because its MTP API rejects logit bias. PXA’s native completion API and expXa’s OpenAI-compatible completion API receive identical token arrays; chat templating is used only for functional checks. Prefix reuse is disabled; full counts are checked.
- Three cyclic engine orders, one fresh launch per arm in each round. Input-length order also rotates. Each launch has an unscored 512-token warmup. The expXa serving process is started from its unchanged service configuration; PXA runs in an owned loopback clone.
- The shared gateway is drained and fenced during the owned window. Independent Core and GPU recovery guardians preserve the selected service, protected peers and configuration. No inference runtime is promoted by this study.
Limits and excluded evidence
One model, one quantization, one dual-V100 host and three repetitions per group. Ranges are descriptive; no significance test or universal superiority claim is made. The synthetic repetitive input and forced output length affect MTP acceptance and do not represent all conversations.
The longest evaluated prompt was 65,536 tokens. Allocating 262,144 context does not qualify 262K retrieval, long-input throughput, vision, concurrent serving or a long soak. Backend/KV/parallelism differences prevent attributing a whole-engine difference to one kernel.
The public data supports recomputing the tables. Raw prompts and weights are not distributed, so the download alone is not a full inference replay package.
Earlier PXA 4.0.1 comparisons and diagnostic runs with numerical guards disabled are excluded from these tables. Read-only preflights that saw a changing live selection were rejected before a service pause. An initial unchanged expXa launch was excluded before scoring when temporary graph-capture allocation tripped a physical-memory guard inherited from the C++ backend. Startup monitoring was separated from measurement admission; the 512 MiB GPU reserve remained mandatory before and during scored work. A second setup attempt was excluded before scoring because the harness supplied a logit-bias parameter that expXa’s MTP API rejects. It was replaced with native minimum-token/stop-ID control, with full output counts still required. No partial or failed arm is silently pooled into this study.
Every scored request
The public download contains all 36 run records, descriptive summaries, output hashes and functional check outcomes. It is generated through an explicit whitelist; raw prompts, responses, credentials and operational records are excluded.
Show all 36 request times
| Engine | Round | Input | Request, s | First content, s |
|---|---|---|---|---|
| expXa (current) | 1 | 512 | 1.437 | 0.135 |
| expXa (current) | 1 | 4,096 | 1.806 | 0.518 |
| expXa (current) | 1 | 16,384 | 3.502 | 2.194 |
| expXa (current) | 1 | 65,536 | 13.334 | 11.877 |
| PXA 4.0.4 (stock) | 1 | 512 | 1.746 | 0.238 |
| PXA 4.0.4 (stock) | 1 | 4,096 | 2.133 | 0.880 |
| PXA 4.0.4 (stock) | 1 | 16,384 | 4.864 | 3.435 |
| PXA 4.0.4 (stock) | 1 | 65,536 | 20.554 | 18.963 |
| PXA 4.0.4 (4× launch queue) | 1 | 512 | 1.752 | 0.236 |
| PXA 4.0.4 (4× launch queue) | 1 | 4,096 | 2.090 | 0.851 |
| PXA 4.0.4 (4× launch queue) | 1 | 16,384 | 4.745 | 3.244 |
| PXA 4.0.4 (4× launch queue) | 1 | 65,536 | 18.782 | 17.224 |
| PXA 4.0.4 (stock) | 2 | 4,096 | 2.141 | 0.889 |
| PXA 4.0.4 (stock) | 2 | 16,384 | 4.878 | 3.442 |
| PXA 4.0.4 (stock) | 2 | 65,536 | 20.580 | 18.949 |
| PXA 4.0.4 (stock) | 2 | 512 | 1.879 | 0.246 |
| PXA 4.0.4 (4× launch queue) | 2 | 4,096 | 2.121 | 0.867 |
| PXA 4.0.4 (4× launch queue) | 2 | 16,384 | 4.668 | 3.237 |
| PXA 4.0.4 (4× launch queue) | 2 | 65,536 | 18.804 | 17.249 |
| PXA 4.0.4 (4× launch queue) | 2 | 512 | 1.755 | 0.245 |
| expXa (current) | 2 | 4,096 | 1.800 | 0.519 |
| expXa (current) | 2 | 16,384 | 3.487 | 2.194 |
| expXa (current) | 2 | 65,536 | 13.343 | 11.884 |
| expXa (current) | 2 | 512 | 1.427 | 0.128 |
| PXA 4.0.4 (4× launch queue) | 3 | 16,384 | 4.633 | 3.206 |
| PXA 4.0.4 (4× launch queue) | 3 | 65,536 | 18.734 | 17.188 |
| PXA 4.0.4 (4× launch queue) | 3 | 512 | 1.749 | 0.243 |
| PXA 4.0.4 (4× launch queue) | 3 | 4,096 | 2.089 | 0.848 |
| expXa (current) | 3 | 16,384 | 3.526 | 2.195 |
| expXa (current) | 3 | 65,536 | 13.382 | 11.880 |
| expXa (current) | 3 | 512 | 1.487 | 0.153 |
| expXa (current) | 3 | 4,096 | 1.835 | 0.519 |
| PXA 4.0.4 (stock) | 3 | 16,384 | 4.890 | 3.417 |
| PXA 4.0.4 (stock) | 3 | 65,536 | 20.599 | 18.959 |
| PXA 4.0.4 (stock) | 3 | 512 | 1.769 | 0.245 |
| PXA 4.0.4 (stock) | 3 | 4,096 | 2.131 | 0.880 |