Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves decode performance for Qwen on TG by increasing the core count for paged SDPA (Scaled Dot-Product Attention) decode operations from 32 to 48 cores. The change aligns the Qwen-specific model configuration with the base Llama model configuration in model_config.py, which already uses these optimized settings.
Changes:
- Increased compute grid size from (8, 4) to (8, 6) for PAGED_SDPA_DECODE_PROGCFG
- Updated core count from 32 to 48 to match the new grid size (8 × 6 = 48)
mbahnasTT
approved these changes
Feb 13, 2026
kpaigwar
approved these changes
Feb 13, 2026
yalrawwashTT
approved these changes
Feb 13, 2026
Contributor
yalrawwashTT
left a comment
There was a problem hiding this comment.
Approving to unblock, pending CI run of galaxy demo
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
Improve the decode perf for Qwen on TG
What's changed
Increased the core count for paged SDPA (decode)
Checklist
Model tests
If your changes cover model-related code, you should run tests corresponding to affected models and platforms (Single card, T3K, Galaxy). "Choose your pipeline" workflows facilitate running multiple kinds of tests in a single run. Each offers
models-mandatoryandmodels-extendedpresets.The former includes a minimal set of tests, to be run always. The latter extends that with additional ones - use your best judgement in deciding which is the most appropriate for your PR.
models-mandatorypreset (runs: Device perf regressions and Frequent model and ttnn tests)models-extendedpreset (runs: the mandatory tests, plus Demo and Model perf tests)models-mandatorypreset (runs: Unit tests)models-extendedpreset (runs: the mandatory tests, plus Demo and Model perf tests)models-mandatorypreset (runs: Quick tests)models-extendedpreset (runs: the mandatory tests, plus Demo and Model perf tests)