Open
Conversation
c6e3a41 to
b4f9196
Compare
vkovacevicTT
approved these changes
Feb 6, 2026
b4f9196 to
41033c9
Compare
Collaborator
Author
|
Performance benchmark run (llama_3_2_1b only): https://github.com/tenstorrent/tt-forge/actions/runs/21752281045 |
Collaborator
Author
|
Tracy is not on XLA main yet, will not merge this |
Contributor
Let's do this in tt-xla then when we migrate the benchmark: tenstorrent/tt-xla#2971 |
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.
Problem description
When profiling LLM benchmarks with tools like Tracy, running the full benchmark with all layers and many iterations is slow and generates excessive data. A streamlined profiling mode is needed for faster iteration during performance analysis.
What's changed
Added a
--profilepytest flag to enable profiling mode for LLM benchmarks:--profilecommand-line option and fixtureprofilefixture. When enabled, models are loaded withnum_layers=1--profileis passed, limitsmax_tokens_to_generateto 2 (affects both warmup and benchmark)Usage:
Checklist