> ## Documentation Index
> Fetch the complete documentation index at: https://docs.infercrane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen38 27b fp8 h200 rerun 2026 11 23

# Qwen3.8-27B-FP8 on one H200: the September screen run again

On 23 November 2026 the September 2026 H200 screen was run again, on real text with three fresh
servers per setup. In September, turning on multi-token prediction (with bounded CUDA graphs) in
SGLang measured 1.72× at 12 requests at once. That screen was a single run of 24 requests on
synthetic prompts that repeat one sentence, and repeated text is unusually easy for speculation
to predict. On real text, the same change ranged from 22% slower to 68% faster, depending on load
and prompt length, and the publisher's documented setup on vLLM 0.34.0 was faster than
September's setup in every cell.

This page is the receipt. The run's rules were committed before it started (commit `8846f43f`).
The harness that ran it (`tools/fast-track-map`) is on an unreleased branch, so this page records
what ran; it is not a reproduction script in this release.

* [Packed evidence](https://github.com/infercrane/infercrane/blob/main/docs/testing/evidence/qwen38-27b-fp8-h200-rerun-2026-11-23.json): setups, machines, every
  server's numbers per level, the answer checks. No request rows or answer texts.
* [Summary](https://github.com/infercrane/infercrane/blob/main/docs/testing/evidence/qwen38-27b-fp8-h200-rerun-2026-11-23-summary.json): the tables below,
  as the run's report script computed them from the twelve servers' results.

Local paths are anonymised as `<worktree>` and `<evidence>`. Each JSON file names what was
removed for publication and the sha256 of the file it was made from.

## What ran

| Field | Value |
| - | - |
| Date | 2026-11-23, 05:56 to 08:00 CET |
| Model | `Qwen/Qwen3.8-27B-FP8` at revision `c3a462cc3d38cf351f3b26cbd763469eeb74ef81`, Apache-2.0. September pinned `017b9c7a`; every weight file has the same hash in both revisions. |
| Hardware | One NVIDIA H200 per server on Modal, 8 CPU cores and 48 GiB per container. Twelve servers: three fresh servers per setup, each in its own container. Every server ran driver 620.70.06; its GPU identifier and region are in the evidence. |
| vLLM | 0.34.0, `vllm/vllm-openai@sha256:cf5b2fdd087eb4f6d261736967cc5cde974bd22ff4df50365f8fa419b6b4c484` |
| SGLang | 0.5.20, `lmsysorg/sglang@sha256:06e4f2ed21afde4ff513cda65070124e727ba23ccaeff7712b8c40e1097d611f` (September's pin), with the three one-line precision fixes September's runs carried (`deploy/openrouter/qwen38-sglang-0520/patch_gdn_precision.py`) |
| Workload | Real text. Short: first-turn messages from `OpenAssistant/oasst1` at `fdf72ae0`, median 18 tokens. Long: `abisee/cnn_dailymail` 3.0.0 at `96df5e68` articles joined to 3,900 tokens, with one fixed briefing task. Both datasets are Apache-2.0; no text from them is included here. Prompt set sha256 `c3c912dfb64e963fdae49f175bc2e400feef6a73a1210a70f5fe7d9f6d84c989`. |
| Load | 4, 12 and 32 requests at once for each shape; 30-second warm-up, 120-second measured window; at most 295 output tokens, temperature 0, no prompt repeated on a server. The load generator ran in the server's container. |
| Baseline | Setup 2, the publisher's command plus the speculation option its recipe page documents. September's pair is setup 4 against setup 3. |
| Rules | `rules-2026-11-23.md`, sha256 `fa761681819ef85a43ce200c04cbe56fb78e5a0b4f360d6783da343c0f5f09b4`, commit `8846f43faabc061c739a71e3ffae8972857a3407`. The full text is in the appendix. |

Three servers lost their containers during the first run, when the account's own spend limit
stopped them. As the rules allow, each was started once more as the same server number; the
evidence keeps what the failed attempts saved.

## Results

Server output tokens per second: the median of three servers, with the slowest and fastest in
brackets.

| Cell | 1. Publisher's command (vLLM) | 2. Plus its documented MTP option (vLLM) | 3. SGLang, no speculation | 4. SGLang, MTP, bounded graphs |
| - | -: | -: | -: | -: |
| short, 4 at once | 386 (385–386) | 723 (722–724) | 358 (358–361) | 550 (549–569) |
| short, 12 at once | 994 (992–994) | 1,678 (1,672–1,679) | 919 (905–927) | 1,029 (1,011–1,064) |
| short, 32 at once | 2,109 (2,093–2,110) | 3,083 (3,031–3,132) | 1,854 (1,822–1,854) | 1,447 (1,446–1,503) |
| long, 4 at once | 307 (307–307) | 531 (530–533) | 296 (295–298) | 498 (498–501) |
| long, 12 at once | 592 (591–593) | 823 (818–823) | 588 (587–590) | 779 (776–781) |
| long, 32 at once | 866 (860–868) | 1,001 (999–1,002) | 889 (881–890) | 951 (951–952) |

The changes, from the medians above:

| Cell | Setup 4 against setup 3 (September's pair) | Setup 2 against setup 4 |
| - | -: | -: |
| short, 4 at once | +53% | +31% |
| short, 12 at once | +12% | +63% |
| short, 32 at once | −22% | +113% |
| long, 4 at once | +68% | +7% |
| long, 12 at once | +33% | +6% |
| long, 32 at once | +7% | +5% |

In every cell the two setups' ranges do not overlap: the slower setup's fastest server is slower
than the faster setup's slowest server. September measured 4,096-token prompts at 12 at once; the
closest cell here, long prompts at 12 at once, gives +33% for the same change, not 1.72×.

**Answers.** Before the load, every server answered the same 48 prompts one at a time at
temperature 0. Each setup gave identical text on all three of its servers for all 48. With
speculation on, the text was identical to the same engine without speculation on every pair of
servers for 4 of 48 prompts on vLLM (setup 2 against setup 1) and 25 of 48 on SGLang (setup 4
against setup 3). This is an identity check, not a quality score, and no quality claim is made.

**What this does not show.** A gain on another GPU, engine version, model or traffic; a gain for
any setup that was not measured here; or answer quality.

## Commands

The run and its rerun, from `<worktree>` at commit `8846f43f`:

```bash theme={"theme":"css-variables"}
uv run --no-project --with modal==1.6.4 modal run tools/fast-track-map/fast_track.py --action measure --run-id measure-1
```

```bash theme={"theme":"css-variables"}
uv run --no-project --with modal==1.6.4 modal run tools/fast-track-map/fast_track.py --action measure --only vllm-publisher-mtp:3,sglang-fp8:3,sglang-mtp-bounded-graphs:3 --run-id measure-1-rerun
```

The spend-limit flags of both commands are left out here. The tables and the packed evidence
came from:

```bash theme={"theme":"css-variables"}
python3 tools/fast-track-map/report.py <evidence>/raw --out <evidence>
```

```bash theme={"theme":"css-variables"}
python3 tools/fast-track-map/evidence.py <evidence>/raw --out <evidence>/evidence.json --rules-commit 8846f43faabc061c739a71e3ffae8972857a3407
```

Each server ran its setup's command as shown, with the model read from
`/weights/qwen3.8-27b-fp8-c3a462cc3d38` and served under its Hugging Face name.

**Setup 1, the publisher's command** (`vllm-publisher`):

```text theme={"theme":"css-variables"}
VLLM_USE_RUST_FRONTEND=1 /usr/local/bin/vllm serve /weights/qwen3.8-27b-fp8-c3a462cc3d38 --tensor-parallel-size 1 --enable-auto-tool-choice --tool-call-parser qwen3_coder --reasoning-parser qwen3 --mm-encoder-tp-mode data --served-model-name Qwen/Qwen3.8-27B-FP8 --host 127.0.0.1 --port 8000
```

**Setup 2, the publisher's command plus its documented speculation option**
(`vllm-publisher-mtp`):

```text theme={"theme":"css-variables"}
VLLM_USE_RUST_FRONTEND=1 /usr/local/bin/vllm serve /weights/qwen3.8-27b-fp8-c3a462cc3d38 --tensor-parallel-size 1 --enable-auto-tool-choice --tool-call-parser qwen3_coder --reasoning-parser qwen3 --mm-encoder-tp-mode data --speculative-config '{"method":"mtp","num_speculative_tokens":3}' --served-model-name Qwen/Qwen3.8-27B-FP8 --host 127.0.0.1 --port 8000
```

**Setup 3, SGLang 0.5.20, FP8, no speculation: September's control** (`sglang-fp8`):

```text theme={"theme":"css-variables"}
/opt/sglang/bin/python -m sglang.launch_server --model-path /weights/qwen3.8-27b-fp8-c3a462cc3d38 --served-model-name Qwen/Qwen3.8-27B-FP8 --tp-size 1 --context-length 262144 --mem-fraction-static 0.90 --kv-cache-dtype fp8_e4m3 --enable-metrics --reasoning-parser qwen3 --tool-call-parser qwen3_coder --port 30000
```

**Setup 4, September's chosen setup: SGLang, multi-token prediction, bounded CUDA graphs**
(`sglang-mtp-bounded-graphs`):

```text theme={"theme":"css-variables"}
/opt/sglang/bin/python -m sglang.launch_server --model-path /weights/qwen3.8-27b-fp8-c3a462cc3d38 --served-model-name Qwen/Qwen3.8-27B-FP8 --tp-size 1 --context-length 262144 --mem-fraction-static 0.90 --kv-cache-dtype fp8_e4m3 --enable-metrics --reasoning-parser qwen3 --tool-call-parser qwen3_coder --speculative-algorithm NEXTN --speculative-num-steps 3 --speculative-eagle-topk 1 --speculative-num-draft-tokens 4 --cuda-graph-bs-decode 1 2 4 8 12 16 24 32 33 --cuda-graph-bs-prefill 256 512 1024 2048 4096 8192 --port 30000
```

## Appendix: the rules as committed

The rules below are the committed file, with headings moved down two levels to fit this page and
the spend amounts removed. The files they name (`setups.py`, `prompts.py`, `loadgen.py`,
`runner.py`, `report.py`, `recipe/`, `prompts-manifest.json`, and the serving-check evidence) are
on the same unreleased branch.

### Fast-track map: rules for the run

Written 2026-11-23, before any measured run. Maintainer test protocol; not part of the published
documentation. The code that applies these rules is in this folder and is committed with them:
`setups.py` (the setups), `prompts.py` (the traffic), `loadgen.py` (the metrics), `runner.py` (one
server's run), `report.py` (the tables and the two answers).

Nothing below changes after results exist. A change forced by a serving check is listed under
"Changes after the serving checks" with its cause, and is committed before the measured run.

#### What the run answers

Two questions, each answered for every traffic shape and load level, whatever the numbers are:

1. By how much does the best setup beat the publisher's own command (setup 1)?
2. By how much does it beat the better of setups 1 and 2, which is the best the publisher
   documents among the setups measured here?

"Beat" means server output tokens per second. Latency is reported beside it and is not folded
into the answer.

#### What is fixed

| | |
| - | - |
| Model | `Qwen/Qwen3.8-27B-FP8` at revision `c3a462cc3d38cf351f3b26cbd763469eeb74ef81`, Apache-2.0 |
| GPU | one NVIDIA H200 per server, on Modal (`gpu="H200"`); a container that sees anything else stops before it loads the model |
| Container | 8 CPU cores, 48 GiB memory, weights read from the Modal volume `infercrane-poc-modal-weights` |
| vLLM | 0.34.0, the newest release on 2026-11-23: `vllm/vllm-openai@sha256:cf5b2fdd087eb4f6d261736967cc5cde974bd22ff4df50365f8fa419b6b4c484` (the linux/amd64 image of the tags `v0.34.0` and `latest`) |
| SGLang | 0.5.20: `lmsysorg/sglang@sha256:06e4f2ed21afde4ff513cda65070124e727ba23ccaeff7712b8c40e1097d611f` (September's pin) |

September's runs pinned model revision `017b9c7a`. Every weight file has the same hash in both
revisions; only `chat_template.jinja` and `tokenizer_config.json` changed (Hugging Face file
listings, read 2026-11-23). All four setups use `c3a462cc`.

#### The four setups

The publisher's command is vLLM's recipe for this checkpoint on one GPU,
`https://recipes.vllm.ai/Qwen/Qwen3.8-27B.json?hardware=h200&variant=fp8&strategy=single_node_tp`,
read 2026-11-23 and stored as fetched in `recipe/`. The H100 and H200 variants are the same
command. The recipe names the image tag `vllm/vllm-openai:qwen38`, pushed 2026-08-12; this run
uses the newest release instead, which the recipe's install line (`uv pip install -U vllm`)
also gives.

Each command is shown as the container runs it. `/weights/qwen3.8-27b-fp8-c3a462cc3d38` holds
the pinned revision's files, so the model path replaces the Hugging Face name and
`--served-model-name` restores it. `--host`, `--port` and the model path are the only parts not
taken from the source command.

**1. `vllm-publisher`: the publisher's command.**

```text theme={"theme":"css-variables"}
VLLM_USE_RUST_FRONTEND=1 vllm serve /weights/qwen3.8-27b-fp8-c3a462cc3d38 \
  --tensor-parallel-size 1 --enable-auto-tool-choice --tool-call-parser qwen3_coder \
  --reasoning-parser qwen3 --mm-encoder-tp-mode data \
  --served-model-name Qwen/Qwen3.8-27B-FP8 --host 127.0.0.1 --port 8000
```

**2. `vllm-publisher-mtp`: the same command plus the speculation option the recipe page
documents** ("Native MTP head, 3 draft tokens"). This is the baseline that counts.

```text theme={"theme":"css-variables"}
VLLM_USE_RUST_FRONTEND=1 vllm serve /weights/qwen3.8-27b-fp8-c3a462cc3d38 \
  --tensor-parallel-size 1 --enable-auto-tool-choice --tool-call-parser qwen3_coder \
  --reasoning-parser qwen3 --mm-encoder-tp-mode data \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
  --served-model-name Qwen/Qwen3.8-27B-FP8 --host 127.0.0.1 --port 8000
```

**3. `sglang-fp8`: SGLang, FP8, no speculation.** September's control
(`sglang-0520-control` in `tools/modal-openrouter-qwen38/modal_app.py`).

```text theme={"theme":"css-variables"}
python -m sglang.launch_server --model-path /weights/qwen3.8-27b-fp8-c3a462cc3d38 \
  --served-model-name Qwen/Qwen3.8-27B-FP8 --tp-size 1 --context-length 262144 \
  --mem-fraction-static 0.90 --kv-cache-dtype fp8_e4m3 --enable-metrics \
  --reasoning-parser qwen3 --tool-call-parser qwen3_coder --port 30000
```

**4. `sglang-mtp-bounded-graphs`: September's chosen setup**
(`sglang-0520-nextn-k4-bounded-graphs`): multi-token prediction with three steps and four draft
tokens, and CUDA graphs captured for a fixed list of batch sizes.

```text theme={"theme":"css-variables"}
python -m sglang.launch_server --model-path /weights/qwen3.8-27b-fp8-c3a462cc3d38 \
  --served-model-name Qwen/Qwen3.8-27B-FP8 --tp-size 1 --context-length 262144 \
  --mem-fraction-static 0.90 --kv-cache-dtype fp8_e4m3 --enable-metrics \
  --reasoning-parser qwen3 --tool-call-parser qwen3_coder \
  --speculative-algorithm NEXTN --speculative-num-steps 3 --speculative-eagle-topk 1 \
  --speculative-num-draft-tokens 4 \
  --cuda-graph-bs-decode 1 2 4 8 12 16 24 32 33 \
  --cuda-graph-bs-prefill 256 512 1024 2048 4096 8192 --port 30000
```

Both SGLang setups run with the three one-line fixes September's runs carried
(`deploy/openrouter/qwen38-sglang-0520/patch_gdn_precision.py`): they stop SGLang 0.5.20 from
rounding a gate value to 16 bits before it updates the model's recurrent state, and come from
two upstream SGLang pull requests. The patch refuses any source file whose hash it does not
know, and its receipt is stored with each server's result.

Not in this run: the other options the recipe documents (external draft models, text-only
loading, long context) and speculation that adapts to load. They belong to the full map.

##### When a command does not start

A setup's command changes only when its server cannot start or serve without the change. The
change is then the smallest one the engine's own error message or the recipe page offers, it is
applied to both setups of that engine, and it is recorded here with the log lines that forced
it. If vLLM 0.34.0 cannot serve the publisher's command at all, setups 1 and 2 fall back to
September's vLLM 0.30.0 image
(`vllm/vllm-openai@sha256:5f5e535216848d0c52159c8c13a0af04be5f6fe1a84e79914300610796f76d40`),
and the reason is recorded. No setting is changed to make a baseline slower.

#### Traffic

Real text from two open-licence datasets on Hugging Face, neither gated. `prompts.py` builds the
set with seed 20261123; `prompts-manifest.json` records the source files' hashes, the token
statistics, and the sha256 of the built file. Every container checks the file against that hash
before it sends a request, so every setup gets the same prompts in the same order.

The set built on 2026-11-23 has sha256
`c3c912dfb64e963fdae49f175bc2e400feef6a73a1210a70f5fe7d9f6d84c989`: 5,488 short prompts (median 18
tokens, at most 390; 2,463 Spanish, 2,335 English, 461 Russian, the rest in other languages) and
3,172 long prompts (median 3,900 tokens, at least 3,780; five articles each on average).

| Shape | Source | Licence | What a prompt is |
| - | - | - | - |
| short | `OpenAssistant/oasst1` at `fdf72ae0827c1cda404aff25b6603abec9e3399b`, `data/train-00000-of-00001-b42a775f407cee45.parquet` | Apache-2.0 | One first-turn message written by a person, as written. Kept: reviewed and accepted, not deleted, toxicity score under 0.1, 4 to 400 tokens, no duplicates. Every language in the dataset. |
| long | `abisee/cnn_dailymail` at `96df5e686bee6baa90b8bee7c28b81fa3fa6223d`, `3.0.0/train-00000-of-00003.parquet` | Apache-2.0 | News articles joined until the message holds 3,900 tokens by the model's tokenizer (the last article is cut to fit), then one fixed task asking for a briefing on them. No article is used twice. |

The long shape follows the median request of the Chutes public trace: 3,919 input and 295 output
tokens (`tools/modal-kernel-poc/chutes-public-workload-poc.md`). Both shapes cap the answer at
295 tokens. Nothing forces an answer to that length: a model that finishes earlier stops, and
the share of answers that reached the cap is reported.

Every request is one user message, `temperature` 0, `max_tokens` 295, streamed with usage, and
`chat_template_kwargs: {"enable_thinking": false}`, as in September. No request sets
`ignore_eos`.

No prompt repeats on a server: each load level has its own slice of each shape (short: 800,
1,600 and 3,000 prompts for 4, 12 and 32 at once; long: 600, 1,000 and 1,500), so neither
engine's prefix cache can help. If a level uses up its slice it starts the slice again, and the
result says so.

#### Measurement

* **Where.** The load generator runs in the same container as the server and talks to it on
  127.0.0.1. The laptop and the internet are not in the path.
* **Servers.** Three fresh servers per setup, twelve in all, each in its own container on its
  own GPU, three at a time. The batches rotate the setups
  (1-2-3, 4-1-2, 3-4-1, 2-3-4), so no setup has all its servers at one time. Each server's GPU
  identifier, driver, CPU and region are recorded.
* **Order on each server.** Four unmeasured requests; then the answer prompts, one at a time;
  then short at 4, 12 and 32 requests at once; then long at 4, 12 and 32.
* **A level.** A fixed number of workers, each sending its next prompt as soon as its last
  answer ends. A 30-second warm-up, then a 120-second measured window. After the window the
  same load continues until every request sent inside it has ended, for at most 60 seconds, so
  the window never contains a server that is running empty.
* **Time limit.** A server that would pass 33 minutes stops before the next level. Its finished
  levels count; the missing ones are reported as missing.

##### Metrics, per level

| Metric | Definition |
| - | - |
| Output tokens per second (server) | Output tokens that arrived inside the window, over 120 s. A request's tokens (the server's `usage.completion_tokens`) are taken as evenly spread between its first and its last token, so a request that crosses a window edge counts for the part inside. |
| Per-request speed, p50 | (output tokens - 1) / (time from first to last token), over requests sent inside the window with at least 32 output tokens. |
| Time to first token, p50 and p95 | From sending the request to the first streamed text, over successful requests sent inside the window. |
| Inter-token latency, p95 | (time from first to last token) / (output tokens - 1) per request, p95 over the same requests as per-request speed. An engine that streams several tokens in one piece is not penalised or favoured by this. The p95 gap between streamed pieces is recorded beside it. |
| Errors | Requests sent inside the window that did not end with HTTP 200, a finish reason, at least one token and `[DONE]`. |
| Speculation | The engine's own counters over the window, where it exports any: accepted tokens per draft and the share of drafted tokens accepted (vLLM), or the acceptance gauges (SGLang). |

Two cross-checks are recorded and not used for the answers: the tokens of requests that ended
inside the window, and the server's own generated-token counter over the window.

Percentiles interpolate linearly between the two nearest ranks.

##### From servers to a result

* A setup's value in a cell (shape and load) is the median of its servers. The lowest and the
  highest server are shown beside it.
* The best setup in a cell is the one with the highest median output tokens per second.
* A gain is called clear only when the ranges do not overlap: the best setup's slowest server
  is faster than the baseline's fastest. Otherwise it is reported as inside the spread between
  servers, with its size.
* If the best setup in a cell is setup 1 or setup 2, the answer for that cell says so.
* A cell with errors is shown with its error count. A cell with fewer than three servers is
  shown with the number it has. Nothing is estimated or filled in.
* A server that fails to start, or that loses its container, may be started once more as the
  same server number. The failed attempt stays in the evidence. No server is rerun because of
  its numbers.

#### Answers

Before the load, each server answers the same 48 prompts (24 short, 24 long) one at a time, at
temperature 0, and the full texts are saved.

* **Expected:** on the same engine, the answers with speculation match the answers without it
  exactly (setup 2 against setup 1, setup 4 against setup 3).
* **Reported:** for each of those two pairs, how many prompts gave identical text on every pair
  of servers, and up to five mismatches with the text around the first differing character.
* **Reported beside it:** for each setup, how many prompts gave identical text on all three of
  its own servers. If one setup's own servers disagree, a mismatch between two setups cannot be
  blamed on speculation, and the result says that instead.
* The two engines' answers are compared for information only. They are not expected to match.

This is an identity check. It is not a quality score, and the result claims none.

#### Spend

\[Removed for publication: the run's spend limits and Modal's prices.]

#### What the result will not claim

* A speed-up over another provider, another GPU, or another model.
* That the product's planner finds the winning setup without help. This run starts the setups
  by hand.
* Answer quality. Only identity at temperature 0 is checked.
* Anything about a cell that was not measured.

#### Changes after the serving checks

One, to the time limit and not to any setup, traffic or metric: a server's limit went from 35
to 33 minutes (and the container's hard limit from 37 to 35), so that the serving checks and the measured run at its hard limit stay inside the spend approved
for this track \[amounts removed for publication]. A
server needs about 25 minutes: at most 342 seconds to start in the checks, about 3 minutes for
the answers, and 16 minutes for the six levels. Made on 2026-11-23, before any measured run.

No setup changed. On 2026-11-23 each setup was started once on a Modal H200 with the command above,
unchanged, and served: a chat request, a streamed request, a tool call, its metrics, and twelve
seconds of each traffic shape through the load generator
(`docs/testing/evidence/qwen38-27b-fp8-h200-serving-checks-2026-11-23.json`). vLLM 0.34.0 ran
the publisher's command with its Rust frontend; no argument was added and no fallback was needed.

What the checks showed, which the measured run was already built to handle:

* The four servers landed on two NVIDIA driver versions and in four regions. Each server's
  driver and region are in its result, and the three servers per setup show what that is worth.
* vLLM reports speculation as counters (drafts, drafted tokens, accepted tokens). SGLang reports
  gauges (accepted length and rate) and a counter of verify calls. Both are stored as exported.
* Every server gave the same text for a prompt asked twice. On three sample prompts, SGLang's
  answers with and without speculation started identically; two of vLLM's three did not, on two
  machines with different drivers. Whether that is speculation or the machine is what the
  answer comparison across three servers per setup is for.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.