[Engine] Qwen UD-IQ4_XS-v31 decodes 15-25% slower on engines 0.1.69 and 0.1.70 than on 0.1.65 (single RTX 4090, Windows, rollback test); 0.1.70 also fails to start twice with pinned-memory-exhausted
Los mantenedores suelen responder en 4 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cpp
- Área
- backend, performance
Línea de trabajo
Start by comparing engine changes between 0.1.65 and 0.1.69/0.1.70, then run the reported strata launch and strata bench run commands on a Windows CUDA system with an RTX 4090. The report points to slower decode and intermittent pinned-memory allocation failures, but does not identify the responsible files or tests. Done means reproducing and explaining both regressions, with decode results and startup behavior checked against 0.1.65.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
First, to be clear: this is not a complaint. I'm only sharing the numbers I measured, in case they help track something down. Even at the slower speed, Strata is a huge step for local AI: a few weeks ago I started at about 25 tok/s with this 4-bit model on this PC, and now it runs at 60 to 90 tok/s. That's amazing work for a free project.
Engine (strata-engine 0.1.69 and 0.1.70, Windows CUDA 13)
What happened
After updating from 0.2.19 (engine 0.1.65) to 0.2.22 (engine 0.1.69) and then 0.2.23 (engine 0.1.70), decode speed of Qwen3.8-Flash-Next UD-IQ4_XS-v31 is clearly lower than on 0.1.65. Rolling the engine back to 0.1.65 with strata components rollback brings the speed back right away. All runs were made on the same evening and boot, same settings, same pack, with no other GPU apps open.
standard-v1 engine 0.1.65 (rollback) engine 0.1.69 engine 0.1.70
Decode short 88.6 (74.5-89.2) 70.3 (61.6-79.5) 77.2 (68.3-78.6)
Decode 4k 82.5 (78.7-86.9) 62.5 (60.6-68.3) 65.4 (61.2-72.4)
Decode 16k 80.2 (69.8-84.0) 62.5 (61.0-67.2) 65.7 (62.3-68.6)
Prompt 4k 1058 1101 1079
Prompt 16k 1951 1929 1902
Sanity 12/12 12/12 12/12
Prompt reading is the same; only decode is slower (0.1.69 about 22%, 0.1.70 about 13-20%).
Clean pair with every other program closed (no browser, no tools, a fresh model start for each, run from a plain PowerShell window, back to back):
standard-v1, all apps closed engine 0.1.65 engine 0.1.70
Decode short 80.7 (75.4-88.4) 62.2 (59.2-64.2)
Decode 4k 72.2 (66.5-74.2) 59.0 (55.3-67.3)
Decode 16k 86.6 (68.4-90.5) 58.1 (51.3-59.8)
So 0.1.70 decodes about 18-33% slower than 0.1.65 here. 4k prompt reading is faster on 0.1.70, 16k is a bit slower. Draft acceptance on the 0.1.70 run was about 75%, and its warm-up line was normal (1:189 2:109 3:71 4:28 5:31 6:35 7:39 8:44).
DFlash2 draft acceptance is about the same on 0.1.65 and 0.1.69 (around 77%), and the warm-up line looks normal on all of them, so the drafter and the GPU state look fine:
0.1.65: window warm-up: ms per width 1:146 2:93 3:25 4:28 5:36 6:38 7:41 8:45, total 520 ms 0.1.69: window warm-up: ms per width 1:161 2:22 3:24 4:29 5:31 6:35 7:39 8:44, total 454 ms 0.1.70: window warm-up: ms per width 1:120 2:95 3:25 4:29 5:32 6:36 12:56, total 464 ms
0.1.70 start failures: the first two starts of 0.1.70 stopped while loading with: strata serve: verify: mapped staging allocation failed [pinned-memory-exhausted] the OS gave no more page-locked memory About 52 GB of RAM was free and nothing else used the card. The third start (the launcher's retry) worked. 0.1.65 and 0.1.69 never showed this.
(A first 0.1.69 run with a Twitch stream open in Firefox gave 58/52/50; I left it out of the table because it wasn't a fair comparison.)
I went straight from 0.1.65 to 0.1.69, so I can't say whether 0.1.66 or 0.1.67 introduced the decode drop.
Possibly related: #7286 (RTX 3090, Windows + CUDA 13, 0.1.66 decodes 4-5% slower than 0.1.62) and #7195 (0.1.69 decode slower on a 5060 Ti + RTX 3070 split). Mine is a single RTX 4090 with no layer split, and the gap is bigger.
Smallest steps or command that reproduce it
strata launch --family unsloth --model ud-iq4_xs-v31 --data-dir "G:\Strata\Strata-data" --context 128k --kv int8 --vision gpu --mtp on --no-tui
strata bench run --url http://127.0.0.1:8080 --suite standard-v1 --skip-model-hash
strata launch --stop, then strata components rollback --model-config "G:\Strata\Strata-data\install\strata-unsloth-ud-iq4_xs-v31.json" (back to 0.1.65)
Repeat steps 1 and 2: decode is back to about 80-89 tok/s.
Reproduction status
Two runs on 0.1.69 and two on 0.1.70 (all slower), two on 0.1.65 the same evening, including a clean pair with all other programs closed. Earlier 0.1.65 runs (22 Nov) gave 82/75/76, so 0.1.65 is consistent. The 0.1.70 start failure happened 2 of 3 starts.
Strata version
0.2.23 (Control 0.1.70), engines 0.1.69 / 0.1.70 vs rolled-back 0.1.65, cuda13
Graphics card, memory and system
RTX 4090 24 GB (PCIe 4.0 x8), Ryzen 9 7950X3D, 64 GB DDR5-6200, Windows 11 Pro, driver 621.35. Models on 2x Optane P5800X RAID.
Model, size and settings
Qwen3.8-Flash-Next UD-IQ4_XS-v31, 128K context, KV int8, DFlash2 on (--mtp on), 1 slot.
For now I simply use 0.1.65, so nothing is blocking me. I'm happy to test a fix or a debug build whenever it helps.
Thanks again for all the work and the fast updates. It's great to see local AI getting this good!
- 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Niko1221/Strata
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Niko1221/Strata#7365 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 4 días
-
[GUI] Engine chip: move the breathing status dot to the right end of the quant line, inside the chipAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 4 días
-
[GUI] The top horizontal stroke of 更 in the sidebar footer is never drawn (Windows, 125% scaling)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Niko1221/Strata#7276 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Niko1221/Strata#7230 · 1 comentario ·
Los mantenedores suelen responder en 4 días
Todos los issues de Niko1221/Strata
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Quantinuum/tket#2282 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
Los mantenedores suelen responder en 10 días
-
Server crashes when a mob dies to poisonPosiblemente ocupada @joelstiller la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
DarkCastleMUD/DarkCastle#305 ·
Los mantenedores suelen responder en 1 día
-
[Issue]: RAS status report lists the wrong pids for an outlier nodePosiblemente ocupada @bhargavchintam la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días