Merged
feat(PANKO-Pro): Add latency and on-chip memory tuning for single-file PyPTO-Pro JIT kernels #1077
Tomomasa YamasakiAdd on 10 days ago
feat(PANKO-Pro): Add latency and on-chip memory tuning for single-file PyPTO-Pro JIT kernels #1077
Merged
Pull Request has been successfully merged by CANN-robot.
(Thank you for Tomomasa Yamasaki's contribution.)10 days ago Created pull request, commit 05e65fa5
10 days ago Associated issue: [Feature]: PANKO for PyPTO-Pro — a multi-objective search-based Stage 5 auto-tuner for Pro kernels
10 days ago Associated issue: [Feature]: PANKO for PyPTO-Pro — a multi-objective search-based Stage 5 auto-tuner for Pro kernels
10 days ago Added label: stat/needs-squashai-co-authored
10 days ago Added label: cann-cla/yes
CANN-robot
10 days ago Comments:
10 days ago Comments:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/pypto-gym | ✅ wangzheng97, lim-jiunnbin (2/2) | ✅ lim-jiunnbin (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
tomomasayamasaki, thanks for your pull request. All authors of the commits have signed the CLA. 👍


298 messages are collapsed here。 See more
lim-jiunnbin
3 days ago Comments:
3 days ago Comments:
/approve


3 days ago Added label: approved
wangzheng97
3 days ago Comments:
3 days ago Comments:
/lgtm


3 days ago Added label: lgtm
3 days ago Merged pull request
Was This PR authored or co-authored using generative AI tooling?
The single-file commit records the display names Claude Opus 5, GPT-6 and GPT-6.2 Astra. Claude Code used Claude Opus 5. The OpenAI Codex sessions include GPT-6 and the GPT-6.2 Astra session that split out this adapter. Anthropic model reference · OpenAI model reference.
What this PR does / why we need it:
Review scope: This PR adds single-file PyPTO-Pro tuning on top of #922. GitCode compares this branch with
master, so its Files changed tab also includes prerequisite changes.Incremental diff against #922: 54 files, 10,316 additions and 29 deletions.
Merge order: #922 → #1077 → #1078.
This PR lets users run PANKO on an existing PyPTO-Pro operator whose JIT functions are defined in one Python file. PANKO searches for faster implementations and implementations that use less on-chip memory. It keeps candidates that offer different trade-offs, so users can choose a lower-memory implementation even when another is faster.
Which issue this PR fixes
No linked issue.
Special notes for your reviewer:
This is the second PR in a three-part series.
Change Type / 改动类型
Testing / 测试信息
The Pro host suite ran 65 tests: 64 passed, 1 skipped, 0 failed. It covers installation, baseline device selection, rejection of an incorrect candidate, tile-search budget accounting, fresh measurements for each verification stage, and restoration and export of retained Pareto candidates. Measurement tests use host fixtures.
Run the suite from the repository root:
Before and after the source-analysis refactor, the analysis outputs matched for 126 example kernels and two additional Softmax scope configurations. The comparison covered editable JIT boundaries, tile sites and inferred constraints.
git diff --checkalso passed for the full diff against the shared-core base.Checklist / 检查清单