mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[PR #380] [MERGED] maya-ds4: DS4_PROF's decode line for each served request too #499
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#499
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/mw00/project-maya/pull/380
Author: @pepuscz
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @mw00
Base:
main← Head:pr/ds4-prof-serve📝 Commits (1)
2160a4cmaya-ds4: DS4_PROF's decode line for each served request too📊 Changes
1 file changed (+17 additions, -10 deletions)
View changed files
📝
src/ds4/ds4_main.cpp(+17 -10)📄 Description
What.
DS4_PROF's per-token stage times are:Until now they were printed only at the end of a CLI run. The serve loop, which the server and every HTTP client use, collected the events but never printed them. A helper now prints the line between two stats snapshots:
Changes.
src/ds4/ds4_main.cpp(+17/-10). Nothing changes withoutDS4_PROF.Verified.
DS4_PROF=1(setup below): each of the two requests printed exactly one line on stderr, none at load, with 63 profiled tokens for a 64-token answer (the first token comes from the prefill):Test setup. The four commits of this series stacked on v1.1.22 (
pr/quickcheck-v1122, 53cefbb); this PR is the same change on plain v1.1.22. HIP build (ROCm 7.2.4,gfx1100;gfx1151), 2x RX 7900 XTX (gfx1100), DeepSeek-V4.1-Flash-1017 Maya-S. Two fresh server loads, layer split over both cards (--tp 1),--no-expert-cache,--dspark none, 128K context. Each served one 2,040-token prompt of the public context-scaling retrieval workload (five planted values; definition and data inbenchmarks/results.json, method indocs/BENCHMARKS.md) and wrote 64 tokens, greedy, thinking off. One load hadMAYA_DS4_Q8_BATCH=1and the other didn't; both hadMAYA_DS4_Q8_CHECK=1,DS4_PROF=1andMAYA_DS4_LT_STOREpointing at a new empty file. This is a smoke test of the changed paths (one request each), not a speed or quality qualification.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.