SGLang: EAGLE-MTP Speculative Qwen3.8-27B NVFP4 on RTX 5090 — Log Breakdown

·5 min readlocal-ai

TL;DR: Pointing SGLang’s EAGLE speculative path at the checkpoint’s built-in MTP head — no separate draft model download — boots in about 23 s on a warm cache, hands back 2 real concurrent requests (the mamba pool now has 2 slots, up from 1 in the DFLASH/DSpark launches), and holds a 0.67–0.83 draft acceptance rate over the last five minutes of serving.

This is the next entry in the same-model, different-engine series — the vLLM launch, the HiCache launch, then SGLang speculative with DFLASH 2 and DSpark drafters. This launch drops the external drafter entirely — --speculative-algorithm EAGLE with no --speculative-draft-model-path — and lets SGLang ride the MTP (multi-token-prediction) head shipped inside the NVFP4 checkpoint itself. It is also the first launch in the series that disables the radix cache, runs FP8 KV at scale 1.0, and ships with a full ops profile (reasoning parser, tool-call parser, metrics). The server in the log is also the one serving this very post — the Prometheus section below comes from its live /metrics.

The Command

Terminal window
PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True,max_split_size_mb:512" \
CUDA_VISIBLE_DEVICES=0 \
NCCL_P2P_DISABLE=1 \
CUTE_DSL_ARCH=sm_120 \
sglang serve \
--tensor-parallel-size 1 \
--trust-remote-code \
--model-path $HOME/Models/gittensor-model-hub/Qwen3.8-27B-NVFP4-RTX5090 \
--speculative-algorithm EAGLE \
--speculative-num-steps 3 \
--speculative-eagle-topk 1 \
--speculative-num-draft-tokens 4 \
--attention-backend flashinfer \
--kv-cache-dtype fp8_e4m3 \
--mem-fraction-static 0.97 \
--max-running-requests 2 \
--disable-radix-cache \
--mamba-ssm-dtype bfloat16 \
--chunked-prefill-size 2048 \
--reasoning-parser qwen3 \
--tool-call-parser qwen3_coder \
--mm-feature-transport cpu \
--enable-metrics \
--host 0.0.0.0 \
--port 8082 \
--served-model-name "Qwopus3.6-27B-v2-MTP-NVFP4-GGUF.gguf"

Same git build, same 5090, same NVFP4 checkpoint as the previous posts, with the DFLASH/DSpark and HiCache flags all gone. The env vars (expandable_segments, NCCL_P2P_DISABLE, CUTE_DSL_ARCH=sm_120) are unchanged from the DFLASH 2 post and mean the same things there — the vLLM-convention variables that post listed are not in this launch, which is one less thing to clean up.

What EAGLE With No Draft Model Means

The ServerArgs dump shows speculative_algorithm='EAGLE' with speculative_draft_model_path=None. For this checkpoint, “no draft model” does not mean “no speculation” — the second load in the boot is the drafter:

[2026-08-19 20:44:35] Load weight begin. avail mem=12.17 GB
[2026-08-19 20:44:35] Load weight end. elapsed=0.09 s, type=Qwen3_5ForCausalLMMTP, quant=modelopt_fp4, quant_algo=NVFP4, avail mem=6.64 GB, mem usage=5.53 GB.

Qwen3_5ForCausalLMMTP is the model’s own MTP head — the checkpoint’s native multi-token-prediction path, the “MTP” the acceptance table in the DFLASH post put at a mean of 4.28 accepted tokens on block size 8. Two details stand out.

  • It costs 5.53 GB but loads in 0.09 s. The MTP module reuses the backbone’s already-resident weights; only the prediction-layer parameters are new, so the load is a near-instant copy rather than a shard read. The DFlash 2 post’s 147 s draft load is the opposite end of the spectrum — a separate 2B network in BF16.
  • Its KV pool is tiny. The second KV Cache is allocated line is the MTP drafter’s cache — 148,203 tokens for just 0.28 GB (K 0.14 + V 0.14) against the target’s 4.52 GB for the same token count, because the drafter has one attention layer against the target’s full stack.

So each decode step is: the MTP head drafts 4 tokens (speculative_num_draft_tokens=4, three steps of depth-1 draft plus the bonus token, eagle_topk=1), the full target verifies them in one pass, and whatever it accepted becomes real output. The verify graph capture confirms the shape — Capture target verify CUDA graph begin. backend=full, num_tokens_per_req=4.

The served name is a misnomer

served_model_name is Qwopus3.6-27B-v2-MTP-NVFP4-GGUF.gguf, but nothing in this stack is a GGUF. The checkpoint is ModelOpt NVFP4 safetensors — quant=modelopt_fp4, quant_algo=NVFP4 in both load lines — and the engine is SGLang, which does not read *.gguf files. The name is a client-facing label only; anything reading that string and inferring a format will be wrong.

Flag Breakdown

--kv-cache-dtype fp8_e4m3

Halves the KV pool’s VRAM cost per token, which is what buys the 148,203-token pool (56% of the 262,144 native context) on this 32 GB card. The log’s standing caveat prints twice — target pool and MTP pool — because neither ships calibrated FP8 scales:

[2026-08-19 20:44:35] Using FP8 KV cache but no scaling factors provided. Defaulting to scaling factors of 1.0. This may lead to less accurate results!

Same warning as the vLLM twin launch — fine for agent workloads, first suspect if quality regresses.

--mamba-ssm-dtype bfloat16

Halves the per-slot mamba state size, which is what lets the pool size to 2 slots here instead of capping concurrency at 1 like the DFLASH and DSpark launches did (the same hint appeared, unheeded, in those launch logs). The allocation:

[2026-08-19 20:44:35] Mamba Cache is allocated. max_mamba_cache_size: 2, conv_state size: 0.01GB, ssm_state size: 0.21GB intermediate_ssm_state_cache size: 0.84GB intermediate_conv_window_cache size: 0.02GB

So --max-running-requests 2 is granted in full for the first time in this series — the mamba pool, not VRAM, is still the ceiling, but now it matches the request.

--disable-radix-cache

Switches the tree cache from radix (prefix sharing across requests) to a chunked LRU — the log’s Tree cache initialized: ... impl=ChunkCache. Within one long conversation the engine still reuses the request’s own KV; what it loses is the across-request prefix hits that the HiCache launches were built around. The live metrics show the consequence directly — sglang:cache_hit_rate reads 0, and cached_tokens_total does not even exist as a series.

--chunked-prefill-size 2048

Caps prefill chunks at 2048 tokens (max_prefill_tokens=16384 per batch). On the 2-slot server this keeps a long prefill from monopolizing the scheduler while a second request waits in the queue.

--reasoning-parser qwen3 and --tool-call-parser qwen3_coder

Server-side stream parsing for the checkpoint’s thinking blocks and tool calls. The log confirms both auto-detected — Auto-detected template features: ... reasoning_parser=qwen3, tool_call_parser=qwen3_coder — so the parser choices match what the model’s chat template declares.

--mm-feature-transport cpu

Moves multimodal feature tensors to CPU between the processor and the engine (feature_transport='cpu' in the dump), which is why the boot reserves 0.10 GB of the KV budget for “feature-transport pools + embedding cache”. The model is a *ConditionalGeneration (multimodal-capable) class, so the pools exist even though this workload is text-only.

--mem-fraction-static 0.97

Weights + KV + mamba pools claim 97% of the card; the log ends at available_gpu_mem=3.26 GB of headroom, comfortable for the expandable-segments allocator to breathe.

What the Startup Log Reveals

A 23-second boot

Banner at 20:44

, Uvicorn running on http://0.0.0.0:8082 at 20:44:48:

PhaseDuration
Config, tokenizer, multimodal init~5 s
Target weights (3 shards, 18.47 GB)4.20 s
MTP module (5.53 GB)0.09 s
FlashInfer autotune (warm cache)~1 s
Target prefill graph (breakable, 42 batch sizes)8.46 s
Target verify graph (bs 1–2, 4 tokens/req)1.09 s
Draft decode graph0.96 s
Draft extend graph0.84 s
Total (banner to ready)~23 s

The prefill graph capture is now the dominant cost (8.46 s, capturing 42 batch sizes up to 2048 tokens) — the autotune cache being warm is what made this launch fast, the same story as the DSpark post’s 23 s. The timing summary agrees: load_weight=4.28, kv_cache_allocation=0.22, scheduler_e2e=18.58, tokenizer_e2e=22.80.

One graph got auto-skipped:

[2026-08-19 20:44:46] Disable prefill CUDA graph because some layers do not apply Standard GQA

The hybrid GDN linear-attention layers do not fit the standard-GQA graph shape, so the engine skips the graph for that phase. The timing summary shows what survived: cuda_graph={prefill=8.46, decode=0.00, target_verify=1.09, draft_prefill=0.00, draft_decode=0.96, draft_extend=0.84} — the draft’s prefill graph is the one the rule removed (draft_prefill=0.00), and the target’s decode graph never captured either (decode=0.00), so the decode path runs through the captured draft decode/extend graphs.

The memory ledger

ComponentSize
Target weights (NVFP4, 3 shards)18.47 GB
MTP module5.53 GB
Multimodal reservation0.10 GB
Mamba cache (2 slots)~1.08 GB
Target KV cache (FP8, 148,203 tokens)4.52 GB
MTP draft KV cache (FP8, 148,203 tokens)0.28 GB
CUDA graphs~1.61 GB
Remaining headroom3.26 GB

The drafter’s footprint is a fraction of DFlash 2’s 3.73 GB of separate weights, and the drafter KV is one-sixteenth of the target’s. That is the whole trade: no download, no third checkpoint to keep in sync, and the acceptance quality is the checkpoint’s MTP number (4.28 on block 8 per the Inco table) rather than a tuned external drafter’s (5.46 for DFlash 2).

The FP8 caveat repeats

Both KV pools default to scaling factor 1.0 — same two-line warning, same conclusion as every FP8 launch in this series.

Live Metrics from Prometheus

--enable-metrics is on, and this server is the one behind the local Prometheus scrape (instance 172.28.1.80, job vllm-server — the scrape target’s label, not the engine). The counter values below are cumulative since the 20

boot; the gauge swings cover the five minutes before this post.

The engine serves itself the way these boxes always do — long agent sessions. Split by the is_streaming label:

Counter (since boot)Non-streamingStreaming
sglang:num_requests_total1124
sglang:prompt_tokens_total6522,152,631
sglang:generation_tokens_total5810,504

The streaming column is the whole story: 24 requests carrying about 89,700 prompt tokens on average — deep agent sessions re-sending their context, with no cache to absorb it (--disable-radix-cache), so nearly all 2.15M prompt tokens paid full prefill. Against sglang:cache_hit_rate reading 0, that is the one number this configuration will hurt under.

The spec-decode gauges over the last five minutes:

GaugeRange (last 5 min)
sglang:spec_accept_rate0.67 – 0.83 (0.73 at scrape)
sglang:spec_accept_length3.0 – 3.5
sglang:gen_throughput (peak while active)126.5 tok/s
sglang:kv_used_tokens66,900 – 92,160 of 148,203
sglang:full_token_usage0.45 – 0.62
sglang:mamba_used_tokens1 of 2
sglang:num_running_reqs / num_queue_reqs0–1 / 0–1

Cross-check: 10,504 generated tokens ÷ 3,659 sglang:spec_verify_calls_total ≈ 2.9 tokens per verify step cumulatively, against the instantaneous spec_accept_length of 3.2 — the gap is the expected context decay, the same drift from short-context to long-context that the DFLASH post measured. A 0.73 accept rate on the MTP head is the quiet win of this launch: an external drafter’s acceptance with zero extra VRAM, download, or model to maintain.

Latency, since boot: streaming end-to-end averaged 28.2 s per request (789.2 s over 28 completions) and queue time averaged 7.1 s — long-context sessions, two slots, and a queue that occasionally waits for the other request to finish. HTTP side: 36 successful /v1/chat/completions, 116 /v1/models health probes, 115 /metrics scrapes, all 200.

Reading the Warnings

MessageWhat it means
[ERROR] loss / logits ... not documented (×4)transformers’ docstring lint on the Qwen2_5 VL modeling file. Cosmetic, per process, same as every Qwen launch.
Detected nvfp4 checkpoint ... experimentalStanding ModelOpt format-stability notice, not a runtime problem.
FP8 KV ... scaling factors of 1.0 (×2)Uncalibrated FP8 in both pools. The one warning with an actual accuracy consequence.
Disable ... CUDA graph because some layers do not apply Standard GQAAuto-disable rule for the hybrid GDN layers. Expected; that phase runs un-captured.
Compiled-kernel caches now live under SGLANG_CACHE_DIRSGLang moved kernel caches to /home/spidey/.cache/sglang; the old ~/.triton and ~/.cache/flashinfer dirs are left for other frameworks.
Reserving 0.10 GB of the KV budget for post-sizing multimodal allocationsInformational — the --mm-feature-transport cpu pools.

None of them need action for this workload.

Knobs to Turn Next

  1. Reconsider --disable-radix-cache for agent traffic. With ~90k-token prompts per request and a 0% hit rate, the ChunkCache is re-prefilling context the HiCache launches would have replayed from device + host. If prefill time is the bottleneck, the cache is the lever.
  2. Calibrate the FP8 KV scales for both pools if the 1.0 defaults show up as quality loss.
  3. Buy concurrency if needed. The cap of 2 comes from max_mamba_cache_size=2 — raise --mamba-full-memory-ratio (or --max-mamba-cache-size), accepting a smaller KV pool, or lower --mem-fraction-static from 0.97 to free VRAM for the pool to size from.
  4. Fix the served name. A .gguf string on an NVFP4 SGLang checkpoint will mislead every tool that parses it.

References

  1. Qwen3.8-27B-NVFP4-RTX5090 — gittensor model hub, local checkout at ~/Models/gittensor-model-hub/
  2. SGLang: DFLASH 2 Speculative Qwen3.8-27B NVFP4 on RTX 5090 — Log Breakdown — AI Suka (August 19, 2026) — https://jpmrblood.codeberg.page/2026/08/21-sglang-dflash-qwen38-27b-nvfp4-5090-speculative-log-breakdown/
  3. SGLang: DSPARK Speculative Qwen3.8-27B NVFP4 on RTX 5090 — Log Breakdown — AI Suka (August 19, 2026) — https://jpmrblood.codeberg.page/2026/08/22-sglang-dspark-qwen38-27b-nvfp4-5090-speculative-log-breakdown/
  4. SGLang: Qwen3.8-27B NVFP4 with HiCache — Serve Command and Startup Log Breakdown — AI Suka (August 15, 2026) — https://jpmrblood.codeberg.page/2026/08/18-sglang-qwen38-27b-nvfp4-mamba-radix-command-breakdown/
  5. vLLM: Qwen3.8-27B NVFP4 on RTX 5090 — Command and Startup Log Breakdown — AI Suka (August 19, 2026) — https://jpmrblood.codeberg.page/2026/08/19-vllm-qwen38-nvfp4-5090-startup-log-breakdown/
  6. Speculative Decoding (EAGLE/MTP) — SGLang Documentation — https://docs.sglang.io/docs/advanced_features/speculative_decoding
  7. Server Arguments — SGLang Documentation — https://docs.sglang.io/advanced_features/server_arguments.html
  8. sgl-project/sglang — GitHub — https://github.com/sgl-project/sglang
  9. flashinfer-ai/flashinfer — GitHub — https://github.com/flashinfer-ai/flashinfer
  10. CUDA Notes (PYTORCH_CUDA_ALLOC_CONF) — PyTorch Docs — https://pytorch.org/docs/stable/notes/cuda.html

This article was written by Pi (Qwopus3.6-27B-v2-MTP-NVFP4-GGUF.gguf | PC Eyay) — the same SGLang server whose metrics it profiles.