[GH-ISSUE #5279] [Benchmark] RTX 3060 12 GB (Ampere) + RTX 5060 Ti 16 GB (Blackwell), Qwen3.8-Flash-Next NVFP4-GPTQ layer split on 0.2.10: w4a8 on both cards, best split moves from 24 to 18, 31K prompt 29.0 -> 24.8 s, decode +30 % #3143

Closed
opened 2026-11-07 14:38:25 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Norhiro on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5279

What did you measure, or what went wrong

NVFP4 runs on a mixed Ampere + Blackwell layer split with w4a8 on both cards. It beats UD-Q4_K_XL on the same pair for prompts (31.1K tokens: 29.0 -> 24.8-25.2 s) and for decode (29.5-37.1 -> 39-45 tok/s). The best split moves from K = 24 to K = 18 (layers on the first card), and a fixed 16-question RAG set scored the same.

I found NVFP4 reports for Blackwell pairs (#4996, #4261, #2956) and one for V100 + 3090 Ti (#4285), but none for an Ampere + Blackwell split, so here is one.

Hardware

  • Intel i7-7800X (6C/12T, AVX-512 without VNNI/VBMI, so the AVX2 expert kernels), 125 GiB RAM, Fedora 44 (kernel 7.2), driver 615.71.09.
  • CUDA0: RTX 3060 12 GB, Gen3 x16 (engine probe 12.3-12.4 GB/s). CUDA1: RTX 5060 Ti 16 GB, Gen3 x8 (6.7-6.9 GB/s). The probe was stable over 71 logged boots.

Software and model

  • Strata 0.2.10 (ffa80d73), source build for 86;120 with -DSTRATA_ISA_FLOOR=avx, gcc 15, nvcc from CUDA 13. serve/server.py --engine strata --config ….
  • NVFP4: Maximilian228/Qwen3.8-Flash-Next-NVFP4-GPTQ-Strata at the revision setup pins (640a1db9). The SHA-256 of experts.bin, dense.bin, the dense GGUF, token-embd and the index matched setup.py.
    • One deviation: I did not download ple-fp8.gguf (51 GB on a slow line). --ple-gguf points at the UD-Q4_K_XL shard 2 instead (docs/NVFP4.md: NVFP4 changes only the experts).
  • UD: the setup pack of unsloth/…-UD-Q4_K_XL.
  • Common flags: --prefill auto --expert-cache auto --spec 4 --spec-min-p 0.5 --mtp <setup rt> --max-context 65536 --vision --trim-stage-weights, "layer_split": K, "gpu": [1, 0] (3060 first), env STRATA_PREFILL_AUTO_MAX=16384. All experts in RAM.
    • NVFP4 adds --native-dense-gguf qwen-nvfp4-gptq-dense.gguf --embd-gguf token-embd-bf16.gguf.

Method

  • Prompts: two 52,000-character slices of one Japanese technical document at different offsets (31,100 and 26,223 tokens), plus "summarize in one sentence". Streaming, temperature 0, no thinking, 8 output tokens. Time to the first token.
  • Decode: two 6,500-character slices (about 3.8K and 4.3K tokens), a 3-line summary, max_tokens 200 (113-144 tokens came out). Decode tok/s after the first token.
  • One run per length per config, all in one session, one engine start each. NVFP4 K = 18 ran in two sessions. UD K = 24 was restarted 3 times in an earlier session: 31.1K at 29.03 / 29.08 / 29.04 s.

Results

experts, K auto chunk 3060 / 5060 Ti cache slots 31.1K (s) 26.2K (s) ~4K prompt (s) decode (tok/s)
UD-Q4_K_XL, 24 10,752 2,109 / 2,923 29.00 28.22 9.61 / 9.32 29.5 / 37.1
NVFP4-GPTQ, 24 13,824 2,690 / 3,617 28.92 23.71 7.99 / 7.89 40.4 / 45.0
NVFP4-GPTQ, 21 14,848 2,850 / 3,458 29.84 22.99 8.23 / 8.14 41.3 / 45.6
NVFP4-GPTQ, 18 15,872 / 15,616 3,010 / 3,298 24.78 / 25.22 23.82 / 24.36 8.52 / 8.47 39.8 / 44.1
NVFP4-GPTQ, 16 16,128 3,101 / 3,224 26.32 24.91 8.97 / 8.86 38.8 / 41.7
NVFP4-GPTQ, 21, STRATA_PREFILL_NVFP4=w4a4 14,848 same as K = 21 29.54 22.84 8.23 / 8.19 39.7 / 47.8
  • The chunk count decides most of the prompt time. The NVFP4 copy is 2.76 MB against 3.15 MB for UD, so the cache gets more slots and the auto chunk grows. Two chunks take 23-25 s; three take 29-30 s for either format. Only K = 18 and K = 16 fit 31.1K in two chunks.
  • Why K = 18 is best. With UD on this pair, the 5060 Ti's receive over x8 is the limit. With NVFP4 and the larger chunk, compute is the limit, and the 3060 takes about 1.8x the 5060 Ti's time per layer. Fewer layers on the 3060 balance the stages and free VRAM for the chunk. At K = 16 the chunk barely grows (the STRATA_PREFILL_AUTO_MAX cap is 16,384), and the 5060 Ti's compute becomes the limit, so it is slower again.
  • w4a4 falls back per card, as documented. This build has no 120a target, so the engine printed prefill mmq: STRATA_PREFILL_NVFP4=w4a4 needs an sm_12x card in a 12x build; W4A8, and the numbers match K = 21. I did not try a 120a build: the 8.6 % product error in docs/NVFP4.md is more than I want to trade.
  • Answers. 16 fixed RAG questions on a Japanese railway tariff document, no thinking, same retrieval pipeline. UD K = 24 and NVFP4 K = 18 scored the same: 13 of 16 runs right, and the same 3 runs of one question wrong in the same way. The text differed only in wording. NVFP4 was 11 % faster per question (14.6 vs 16.4 s). This is a narrow check, not a quality measurement. I did not run quant_quality.py or needle.
  • Decode rose about 30 %. The likely cause is more cache slots on both cards; I have not separated it from the smaller copies. In the engine's per-request lines for the same requests (UD K = 24 against NVFP4 K = 24), the hit rate rose 2-4 points (70.5 -> 72.8 %, 81.4 -> 84.6 % on the two decode requests). The experts read over PCIe fell about 3x (5,525 -> 1,785 and 3,138 -> 782).

Not done: ple-fp8.gguf (see above), quant_quality.py KL against a reference, a 120a build, needle at these lengths, more than one run per NVFP4 config.

The split choice here is the same question as #5265: the decode-scored auto split does not see the prompt read. This pair shows the best K depends on the expert format too.

Reproduction status

Measured locally

Originally created by @Norhiro on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5279 ### What did you measure, or what went wrong **NVFP4 runs on a mixed Ampere + Blackwell layer split with `w4a8` on both cards.** It beats UD-Q4_K_XL on the same pair for prompts (31.1K tokens: 29.0 -> 24.8-25.2 s) and for decode (29.5-37.1 -> 39-45 tok/s). The best split moves from K = 24 to K = 18 (layers on the first card), and a fixed 16-question RAG set scored the same. I found NVFP4 reports for Blackwell pairs (#4996, #4261, #2956) and one for V100 + 3090 Ti (#4285), but none for an Ampere + Blackwell split, so here is one. **Hardware** - Intel i7-7800X (6C/12T, AVX-512 without VNNI/VBMI, so the AVX2 expert kernels), 125 GiB RAM, Fedora 44 (kernel 7.2), driver 615.71.09. - CUDA0: RTX 3060 12 GB, Gen3 x16 (engine probe 12.3-12.4 GB/s). CUDA1: RTX 5060 Ti 16 GB, Gen3 x8 (6.7-6.9 GB/s). The probe was stable over 71 logged boots. **Software and model** - Strata 0.2.10 (ffa80d73), source build for `86;120` with `-DSTRATA_ISA_FLOOR=avx`, gcc 15, nvcc from CUDA 13. `serve/server.py --engine strata --config …`. - NVFP4: `Maximilian228/Qwen3.8-Flash-Next-NVFP4-GPTQ-Strata` at the revision setup pins (640a1db9). The SHA-256 of experts.bin, dense.bin, the dense GGUF, token-embd and the index matched setup.py. - **One deviation:** I did not download `ple-fp8.gguf` (51 GB on a slow line). `--ple-gguf` points at the UD-Q4_K_XL shard 2 instead (docs/NVFP4.md: NVFP4 changes only the experts). - UD: the setup pack of `unsloth/…-UD-Q4_K_XL`. - Common flags: `--prefill auto --expert-cache auto --spec 4 --spec-min-p 0.5 --mtp <setup rt> --max-context 65536 --vision --trim-stage-weights`, `"layer_split": K`, `"gpu": [1, 0]` (3060 first), env `STRATA_PREFILL_AUTO_MAX=16384`. All experts in RAM. - NVFP4 adds `--native-dense-gguf qwen-nvfp4-gptq-dense.gguf --embd-gguf token-embd-bf16.gguf`. **Method** - Prompts: two 52,000-character slices of one Japanese technical document at different offsets (31,100 and 26,223 tokens), plus "summarize in one sentence". Streaming, temperature 0, no thinking, 8 output tokens. Time to the first token. - Decode: two 6,500-character slices (about 3.8K and 4.3K tokens), a 3-line summary, `max_tokens` 200 (113-144 tokens came out). Decode tok/s after the first token. - One run per length per config, all in one session, one engine start each. NVFP4 K = 18 ran in two sessions. UD K = 24 was restarted 3 times in an earlier session: 31.1K at 29.03 / 29.08 / 29.04 s. **Results** | experts, K | auto chunk | 3060 / 5060 Ti cache slots | 31.1K (s) | 26.2K (s) | ~4K prompt (s) | decode (tok/s) | |---|---|---|---|---|---|---| | UD-Q4_K_XL, 24 | 10,752 | 2,109 / 2,923 | 29.00 | 28.22 | 9.61 / 9.32 | 29.5 / 37.1 | | NVFP4-GPTQ, 24 | 13,824 | 2,690 / 3,617 | 28.92 | 23.71 | 7.99 / 7.89 | 40.4 / 45.0 | | NVFP4-GPTQ, 21 | 14,848 | 2,850 / 3,458 | 29.84 | 22.99 | 8.23 / 8.14 | 41.3 / 45.6 | | **NVFP4-GPTQ, 18** | 15,872 / 15,616 | 3,010 / 3,298 | **24.78 / 25.22** | **23.82 / 24.36** | 8.52 / 8.47 | 39.8 / 44.1 | | NVFP4-GPTQ, 16 | 16,128 | 3,101 / 3,224 | 26.32 | 24.91 | 8.97 / 8.86 | 38.8 / 41.7 | | NVFP4-GPTQ, 21, `STRATA_PREFILL_NVFP4=w4a4` | 14,848 | same as K = 21 | 29.54 | 22.84 | 8.23 / 8.19 | 39.7 / 47.8 | - **The chunk count decides most of the prompt time.** The NVFP4 copy is 2.76 MB against 3.15 MB for UD, so the cache gets more slots and the auto chunk grows. Two chunks take 23-25 s; three take 29-30 s for either format. Only K = 18 and K = 16 fit 31.1K in two chunks. - **Why K = 18 is best.** With UD on this pair, the 5060 Ti's receive over x8 is the limit. With NVFP4 and the larger chunk, compute is the limit, and the 3060 takes about 1.8x the 5060 Ti's time per layer. Fewer layers on the 3060 balance the stages and free VRAM for the chunk. At K = 16 the chunk barely grows (the `STRATA_PREFILL_AUTO_MAX` cap is 16,384), and the 5060 Ti's compute becomes the limit, so it is slower again. - **`w4a4` falls back per card, as documented.** This build has no `120a` target, so the engine printed `prefill mmq: STRATA_PREFILL_NVFP4=w4a4 needs an sm_12x card in a 12x build; W4A8`, and the numbers match K = 21. I did not try a `120a` build: the 8.6 % product error in docs/NVFP4.md is more than I want to trade. - **Answers.** 16 fixed RAG questions on a Japanese railway tariff document, no thinking, same retrieval pipeline. UD K = 24 and NVFP4 K = 18 scored the same: 13 of 16 runs right, and the same 3 runs of one question wrong in the same way. The text differed only in wording. NVFP4 was 11 % faster per question (14.6 vs 16.4 s). This is a narrow check, not a quality measurement. I did not run `quant_quality.py` or needle. - **Decode** rose about 30 %. The likely cause is more cache slots on both cards; I have not separated it from the smaller copies. In the engine's per-request lines for the same requests (UD K = 24 against NVFP4 K = 24), the hit rate rose 2-4 points (70.5 -> 72.8 %, 81.4 -> 84.6 % on the two decode requests). The experts read over PCIe fell about 3x (5,525 -> 1,785 and 3,138 -> 782). **Not done:** `ple-fp8.gguf` (see above), `quant_quality.py` KL against a reference, a `120a` build, needle at these lengths, more than one run per NVFP4 config. The split choice here is the same question as #5265: the decode-scored auto split does not see the prompt read. This pair shows the best K depends on the expert format too. ### Reproduction status Measured locally
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.

The Strata project

<!-- gh-comment-id:6658796345 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report. The Strata project
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3143
No description provided.