mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #5026] [Engine] report the total expert count (experts=N) in INFO/VRAM telemetry #5289
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#5289
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/5026
Author: @yu-chen-Yang
Created: 11/2/2026
Status: 🔄 Open
Base:
main← Head:fix-expert-count-telemetry📝 Commits (1)
a7d2e6b[Engine] report the total expert count (experts=N) in INFO/VRAM telemetry📊 Changes
4 files changed (+13 additions, -7 deletions)
View changed files
📝
serve/test_vram.py(+2 -1)📝
src/dsv41/ds4_model.cu(+3 -2)📝
src/program/generate.cpp(+4 -2)📝
sycl/src/program/generate.cpp(+4 -2)📄 Description
Summary
expert_slots(how many are resident). The total always fell back to 0, so the GUI showed nothing for any model, including Qwen3.6-35B-A3B (qwen35moe/qwen36).experts=N(the model's per-layer expert count:g.n_expertfor the generic engine,g.n_expfor the DeepSeek/ds4 engine) next toexpert_slotsin the INFO and VRAM telemetry lines.serve/server.py's genericINFO/VRAMparser) ignore keys they don't recognize, so no other behavior changes.Approach
Touched:
src/program/generate.cpp(CUDA) — INFO and VRAM printf linessycl/src/program/generate.cpp(SYCL) — same two lines, mirroredsrc/dsv41/ds4_model.cu(DeepSeek/ds4 engine) — INFO lineserve/test_vram.py— extended the existing VRAM-line test with anexperts=assertionHIP path has no engine printf for this at all (nothing to change there).
Test plan
python -m unittest serve.test_vram -v— passes, including the newexperts=256assertionpython -m unittest discover -s serve -p "test_*.py"— 1298 tests, only 1 failure, intest_lifeline.py(a pre-existing filesystem-timing flake unrelated to this change, not touching any file this PR modifies)cmake --build build --target strata— compiles and links clean against the modifiedgenerate.cpp/ds4_model.cug.n_expert, same types)test_vram.py's parsing test🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.