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

未关闭
#3,974 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
15/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
kubernetes
领域
ai, infrastructure

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Go Template
星标
56
派生
44
平均合并
10 小时 39 分钟
30 天内合并 PR
211

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

beclab/apps 的其他 Issue

查看 beclab/apps 的全部 Issue

相似的 Issue

更多 AI Infra & Agents Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。