[Benchmark] 2x RTX 3090 (sm_86), Qwen3.8-Flash-Next IQ3_S: STRATA_HC_Q8=1 (+10.6-13.8%) and STRATA_GR_V3=1 (+7.5%) on Engine 0.1.70

Abierto
#7,371 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
cpp
Área
performance

Línea de trabajo

The report lists benchmark results for Strata 0.1.70 on dual RTX 3090 GPUs, but does not name repository files, tests, or a code change to make. Start by checking the linked issues #6805, #7019, and #2427 to see whether this data is relevant to ongoing work. Done would be a maintainer deciding how to use or record the benchmark findings.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

What did you measure, or what went wrong

Same-session 7-arm screen of opt-in hyper-connection and activation-quantization switches (STRATA_HC_Q8=1, STRATA_GR_Q8_*, STRATA_GR_V3=1, STRATA_GR_UP_WIDE=1, STRATA_QIL=1, STRATA_ADAPT_NOWAIT=1, STRATA_PIPELINE_LAZY_CHAIN=1) on dual RTX 3090 (sm_86) using released engine 0.1.70.

Sharing as a hardware benchmark report only (not requesting a default change directly), since neither STRATA_HC_Q8=1 nor STRATA_GR_V3=1 is bit-exact and GR_V3 is known to regress smaller sm_86 cards. Also noting as a data point for #6805 / #7019 that STRATA_HC_Q8=1 ran cleanly on 0.1.70 here with zero CUDA faults or nonfinite outputs across 48 short/2.6K requests and two 33K-token sanity prompts; per #2427, HC_Q8=1 on a 2-GPU layer split still used ~0.32 + 0.30 GiB extra VRAM (reducing expert cache slots from 10336 + 8835 to 10118 + 8658).

Environment
  • GPUs: 2× NVIDIA GeForce RTX 3090 24 GB (sm_86, PCIe, no NVLink), driver 621.24
  • CPU / RAM / OS: Intel Core i9-9920X @ 3.50 GHz, 128 GB RAM, Windows 11 Pro
  • Strata: Released engine 0.1.70-windows-x86_64-cuda-cuda13
  • Model: ISTA-DASLab Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S + MTP draft layer (Q2_0 S2) + draft_vocab_en.bin
  • Base command & env (sanitized; all inherited STRATA_* cleared before each arm):
    strata.exe --serve --pack <pack> --native <gguf-1> --ple-gguf <gguf-2> --expert-profile <profile> --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <mtp> --mtp-draft-vocab <vocab> --max-context 131072 --kv k8v4 --kv-resident 32768 --trim-stage-weights --remote-expert-opt --adapt-async 1 --pool-workers 19 --vram-reserve-mib 700 --pipeline-windows 2 --layer-split 25
    Base profile env: STRATA_SIDE_MIXER=2, STRATA_ADAPT_LAG=2, STRATA_ATTN_DAILY=1, STRATA_QSA_ROWS=1, STRATA_B6_MMVQ_ROWS=1, STRATA_SPLIT_MTP_BATCH=1, STRATA_DECODE_TIMING=1 (gpu: [1, 0]).
  • Workload: 4 prompts (prose256 max 256 tok, code256 max 256 tok, reason384 max 384 tok, long2600_128 ~2.6K prompt / max 128 tok), temperature=0.0, 3 repeats each (12 requests per arm) on a fresh server per arm, same session back-to-back. Note: repeats 2–3 reuse the conversation prefix cache (same across every arm).
Summary (all 7 arms, mean of 12 requests per arm)
Arm Extra env Mean tok/s vs base ms/win Fresh ms Spec ms On-path Hit% VRAM slots Prose Code Reason Long 2.6K
base (none) 142.6 — 13.87 15.31 9.75 26% 99.3% 10336+8835 143.8 133.5 130.2 162.8
hc_q8 STRATA_HC_Q8=1 162.3 +13.8% 13.39 14.98 9.58 30% 99.1% 10118+8658 153.4 162.0 149.1 184.7
hc_q8_tune STRATA_HC_Q8=1, STRATA_GR_Q8_DOWN_MODE=2, STRATA_GR_Q8_UP_MODE=2, STRATA_GR_Q8_UP_COLS=16, STRATA_QIL=1 157.7 +10.6% 13.21 14.72 9.42 28% 99.2% 10118+8658 155.4 146.9 144.4 184.0
hc_q8_lazy STRATA_HC_Q8=1, STRATA_PIPELINE_LAZY_CHAIN=1 158.2 +10.9% 13.51 14.90 8.76 23% 99.2% 10118+8658 154.4 152.5 150.5 175.4
hc_q8_best hc_q8_tune + STRATA_HC_Q8_INJECT=1, STRATA_ADAPT_NOWAIT=1 154.2 +8.2% 13.34 14.76 9.74 28% 99.2% 10118+8658 148.5 143.5 145.3 179.7
bf16_gr_v3 STRATA_GR_V3=1, STRATA_GR_V3_PF=5, STRATA_QIL=1 153.3 +7.5% 13.47 14.96 9.52 28% 99.2% 10336+8835 150.8 150.8 131.4 180.2
bf16_wide_qil STRATA_GR_UP_WIDE=1, STRATA_QIL=1, STRATA_GR_NORM_FAST=1 146.4 +2.7% 13.89 15.48 9.73 28% 99.3% 10336+8835 143.4 138.0 130.7 173.6
Individual per-repeat decode tok/s (rep 1 / rep 2 / rep 3)
  • base: prose 144.6 / 143.1 / 143.7 | code 131.0 / 135.8 / 133.8 | reason 133.8 / 123.4 / 133.5 | long 155.4 / 163.2 / 169.8
  • hc_q8: prose 148.9 / 158.1 / 153.2 | code 151.3 / 161.7 / 173.0 | reason 144.4 / 157.6 / 145.2 | long 175.1 / 202.0 / 176.9
  • hc_q8_tune: prose 157.7 / 152.1 / 156.4 | code 145.6 / 149.0 / 146.2 | reason 140.5 / 150.4 / 142.4 | long 178.1 / 186.7 / 187.3
  • bf16_wide_qil: prose 138.6 / 151.1 / 140.5 | code 139.4 / 139.4 / 135.3 | reason 131.3 / 138.3 / 122.5 | long 167.5 / 164.5 / 188.7
  • bf16_gr_v3: prose 147.1 / 143.9 / 161.4 | code 141.1 / 160.8 / 150.6 | reason 128.0 / 133.3 / 133.0 | long 173.6 / 178.6 / 188.3
  • hc_q8_best: prose 140.7 / 158.5 / 146.3 | code 135.2 / 148.2 / 147.1 | reason 138.8 / 146.5 / 150.5 | long 172.6 / 187.6 / 179.0
  • hc_q8_lazy: prose 152.7 / 157.8 / 152.6 | code 150.3 / 153.1 / 154.0 | reason 140.6 / 157.4 / 153.6 | long 160.9 / 181.4 / 184.0
Notes on poor/flat arms & variability
  • bf16_wide_qil (bit-exact) was flat on raw window time (13.89 vs 13.87 ms/win); its +2.7% tok/s came from higher on-path share (28% vs 26%).
  • hc_q8_tune achieved the lowest raw window latency (13.21 ms/win, fresh 14.72 ms, spec 9.42 ms); plain hc_q8 had higher headline tok/s (162.3) due to higher accepted tokens/window (2.10 vs 2.00).
  • Stacking STRATA_HC_Q8_INJECT=1 + STRATA_ADAPT_NOWAIT=1 (hc_q8_best) slightly regressed spec window latency (9.42 → 9.74 ms).
  • Adding STRATA_PIPELINE_LAZY_CHAIN=1 (hc_q8_lazy) cut spec windows to 8.76 ms but dropped on-path share (30% → 23%) and slowed 33K decode (161.1 → 142.3 tok/s).
Validation
  • Passed: All 7 arms started cleanly and completed 12/12 requests with 0 nonfinite outputs and 99.1%–99.3% VRAM expert cache hits. Two 33,030-token sanity prompts completed coherently with 0 nonfinite (hc_q8_best: 2,706 tok/s prefill, 161.1 tok/s decode; hc_q8_lazy: 2,733 tok/s prefill, 142.3 tok/s decode).
  • Failed: None observed (non-winning arms reported above).
  • Not run: strata bench run (standard-v1), formal KL divergence / perplexity / recall-needle checks, single-GPU 3090 or other sm_86 cards (3060/3070/A4000), and hc_q8 vs base on 128K context.
Reproduction status

Measured locally

Lenguaje dominante
C++
Estrellas
11.6k
Forks
1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Niko1221/Strata

Todos los issues de Niko1221/Strata

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.