[Bug] Strata apps (strataqwen38iq3sv3, strataqwen38iq4xsv3, strataqwen38swift): 12-CPU limit and drafter choice cost ~29% decode on Olares One

Abierto
#3,974 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
15/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
kubernetes

Línea de trabajo

Start with the strataqwen38iq3sv3 app's chart values, where STRATA_CPU_LIMIT (default "12", limitedCpu: 14) and the Strata launch flags such as --pool-workers, --kv-streaming and drafting mode are set. The reporter's bench numbers and the llm-init download failure are the reference points. Done would mean the three settings are measured separately, the CPU limit and drafter defaults are changed or documented, and the download failure is reproduced and fixed. The thread has no maintainer reply yet, so the scope needs confirming first.

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

Descripción

Please Provide the basic information of the app

App name(Required)
strataqwen38iq3sv3 (Qwen3.8-Flash-Next IQ3_S); the same settings are in strataqwen38iq4xsv3 (Qwen3.8-Flash-Next (Strata)) and strataqwen38swift

App URL in Olares Market(Required)
https://market.olares.com/app/market.olares/strataqwen38iq3sv3
https://market.olares.com/app/market.olares/strataqwen38iq4xsv3
https://market.olares.com/app/market.olares/strataqwen38swift

Describe the bug

cc @xXm-mXx @TShentu

Setup

  • Olares One: RTX 5090 Laptop 24 GB, Core Ultra 9 275HX (8 P + 16 E, no SMT), 96 GB DDR5. Olares 1.12.7.
  • strataqwen38iq3sv3 0.0.19 from market.olares (Strata 0.2.13, engine 0.1.59), default settings.
  • For comparison, the same Strata 0.2.13 (ghcr.io/niko1221/strata:0.2.13-cuda13) in my own chart, same box, same model files (the IQ3_S shards hardlinked from the app's HF cache).
  • Bench run inside each pod against 127.0.0.1:8080: 3 prompts (Space Invaders HTML, Go REST API, B-tree explanation), 2 rounds, 800 tokens each, after a warm-up; plus a 36K and a 112K prompt read in one process (no prefix reuse).

Results (same IQ3_S model)

Decode, temperature 0.6 Decode, greedy 36K prompt read 112K prompt read
strataqwen38iq3sv3 0.0.19 89.4 tok/s (83-97) 94.6 tok/s 2,774 tok/s 2,893 tok/s
Same engine, my settings 126.0 tok/s (114-142) 130.0 tok/s 2,777 tok/s 2,850 tok/s

Prompt reading is the same; decode is about 29% lower with the app's settings.

What differs

  1. CPU limit. The container gets cpu.max 1200000 100000 (12 CPUs, STRATA_CPU_LIMIT default "12", not editable; limitedCpu: 14). Setup picks --pool-workers 15 for this hybrid CPU, and the host thread spins too, so the pool needs ~16 CPUs. During the bench cpu.stat showed nr_throttled 1146 of nr_periods 5656 (20% of periods throttled, 453 s throttled in total). With 24 CPUs the same pool is not throttled. Olares itself allows more (my app runs with a 24-CPU limit).
  2. Drafter. drafting auto fell back to MTP because the DFlash2 drafter was not downloaded ([strata] drafting auto -> mtp ... note=the DFlash2 drafter isn't downloaded yet). On this box I measured MTP against DFlash2 on IQ3_XXS: MTP 123.5 tok/s, DFlash2 143.4 tok/s (-14% for MTP), because the MTP layer takes more VRAM (9,106 vs 10,600 expert-cache slots).
  3. Expert cache size. --kv-streaming off plus vision leave 6,895 expert-cache slots (13.1 GiB) against 8,886 (16.9 GiB) with KV streaming on and vision off. Decode hit rate 92-94% vs 95-96%; 4-6% of routed experts read over PCIe vs under 1%.

I have not yet measured each of the three on its own; together they account for the 29%.

Suggestions

  • Make STRATA_CPU_LIMIT editable, or default it to the host's core count (24 on Olares One), or pass --pool-workers that fits the limit.
  • Fetch the DFlash2 drafter during setup so drafting auto can pick it on Blackwell.
  • Consider KV streaming on by default (or document the trade-off: longer context in VRAM vs fewer cached experts).

Download bug (llm-init v1.7.24)

On first install, after the 28.8 GB "extra" shard finished, the main shard failed in 0.3 s and the app stayed in phase failed:

hfwrap failed ... exit_code 1, classified_code 60, retriable false
Downloading 'IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf' ... Traceback ... hf_hub_download

Restarting the llminit pod failed the same way. The same hf download ... --revision ed59f92... --cache-dir /cache/hf/hub run by hand inside the llm-init container worked (about 90 MB/s, resumed the .incomplete file); after that, restarting llminit reused the verified snapshot and the app started normally.

Lenguaje dominante
Go Template
Estrellas
56
Forks
44
Merge medio
10 h 39 min
PR fusionados (30 d)
211

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

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 beclab/apps

Todos los issues de beclab/apps

Issues similares

Más issues de AI Infra & Agents

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.