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

Đang mở
#3,974 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
kubernetes
Lĩnh vực
ai, infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go Template
Star
56
Fork
44
Merge trung bình
10 giờ 39 phút
Pull request đã merge (30 ngày)
211

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của beclab/apps

Tất cả issue của beclab/apps

Issue tương tự

Thêm issue về AI Infra & Agents

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.