Repository navigation
Phonon: add a --benchmark mode to the runner (#25595) - #25595
Merged
Merged
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/25595
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 PendingAs of commit 439ebf2 with merge base fce3a64 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Contributor
|
@psiddh has exported this pull request. If you are a Meta employee, you can view the originating Diff in D132314498. |
Summary: The Phonon C++ runner prints one end-to-end timing line, so the performance numbers we published came from a private timing-instrumented copy of the runner. This adds `--benchmark` to `phonon_runner`: it synthesizes the text 4 times (the same methodology as those numbers) and prints the real-time factor, the time to first audio, the audio duration and the median milliseconds per `flow_lm` step and per `mimi_decode` call, for the cold first run and the median of the three warm runs, so anyone can reproduce the numbers with one command. The runner records the per-frame method times in `Synthesis`; without the flag the output and the audio are unchanged. The README shows the command. This diff was written with the help of Claude Code (Claude Opus 5.5). Differential Revision: D132314498
psiddh
force-pushed
the
export-D132314498
branch
from
November 23, 2026 09:08
5932794 to
439ebf2
Compare
JakeStevens
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
The Phonon C++ runner prints one end-to-end timing line, so the performance numbers we published came from a private timing-instrumented copy of the runner. This adds
--benchmarktophonon_runner: it synthesizes the text 4 times (the same methodology as those numbers) and prints the real-time factor, the time to first audio, the audio duration and the median milliseconds perflow_lmstep and permimi_decodecall, for the cold first run and the median of the three warm runs, so anyone can reproduce the numbers with one command. The runner records the per-frame method times inSynthesis; without the flag the output and the audio are unchanged. The README shows the command.This diff was written with the help of Claude Code (Claude Opus 5.5).
Differential Revision: D132314498