Repository navigation
Consolidate benchmark setup and preserve full measurement durations - #917
Gajesh2007 wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
bd443ae to
af39994
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Consolidated into #1096, the combined tooling, benchmark and E2E refactor PR. Your latest head |
The standard
darkbloom benchmarkdiscarded whole seconds when converting first-token and total durations: 2.25 seconds became 250 ms, corrupting reported decode throughput too. Both timings now use the complete duration conversion already used by the MTP runner. Arrival, scheduler-policy, MTP, and throughput reports share the existing two-middle-sample median; model and scheduler means share the same ordered arithmetic. The standard runner builds its MLX message and generation settings directly instead of constructing an unused HTTP request envelope. Seven benchmark entry points also share local LLM/VLM loading with the same factory selection and tokenizer, retaining their own integrity checks and serving-model resolution. Production code is 73 lines smaller.Measurement boundaries, token/decode denominators, model defaults, backend selection, evidence validation, report schemas, and JSON encoding remain unchanged. MTP still rejects empty repetitions before aggregation. The only intended numeric change is the standard benchmark retaining whole seconds.
Validation: the combined final source
93c4caa5c6abb73ef9c882c1deae7eee31eef125passed a dedicated M5 release build and 1,243 Swift Testing cases across 132 suites plus 48 XCTest cases, with no skipped tests. The run includes the real Gemma QAT tokenizer/constraint fixture and packaged runtime smoke. All 5,093 staged source files and compiled runtime hashes were checked before and after. Provider SHA256:45c33b44c58228f67a362c7239eda081877c846d568a73bda026e010512af060; metallib SHA256:20972c37e53fe6db3b3191a0434f6604c4ffc4f5ac62b370574f9922585b0fdb.The run combines #897, #904, #916, #917, #920 and #923 at their current source heads. Model-generation/live benchmark suites were explicitly excluded; this evidence does not claim MTP speed or live HTTP cache qualification. The QAT fixture contains verified tokenizer/config/template files only, and its temporary scanner entry was removed after validation.
Pure cases cover exact/multi-second, negative and fractional durations, median behavior, invalid numbers, empty reports and token averages. Throughput/MTP/scheduler helpers are included; no model performance benchmark was run.
Before
After