Merged
feat(PANKO-Pro): Tune and export PyPTO-Pro operators with JIT functions across multiple files #1078
Tomomasa YamasakiAdd on 11 days ago
feat(PANKO-Pro): Tune and export PyPTO-Pro operators with JIT functions across multiple files #1078
Merged
Pull Request has been successfully merged by CANN-robot.
(Thank you for Tomomasa Yamasaki's contribution.)11 days ago Created pull request, commit 72b35793
11 days ago Associated issue: [Feature]: PANKO for PyPTO-Pro — a multi-objective search-based Stage 5 auto-tuner for Pro kernels
11 days ago Associated issue: [Feature]: PANKO for PyPTO-Pro — a multi-objective search-based Stage 5 auto-tuner for Pro kernels
11 days ago Added label: stat/needs-squashai-co-authored
11 days ago Added label: cann-cla/yes
CANN-robot
11 days ago Comments:
11 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 | ✅ lim-jiunnbin, wangzheng97 (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. 👍


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


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


4 days ago Added label: lgtm
4 days ago Merged pull request
Was This PR authored or co-authored using generative AI tooling?
The multi-file implementation used Claude Opus 5 (Claude Code) and GPT-6 (OpenAI Codex). Squashed commit.
What this PR does / why we need it:
This PR adds multi-file tuning, package restoration and export on top of the single-file adapter merged in #1077.
The diff from master at
cc816ea8covers 21 files, with 1,645 additions and 77 deletions.Merge order: #922 → #1077 → #1078.
A PyPTO-Pro operator can define its entry point in
kernel.pyand call a JIT function fromhelper.py. To tune that operator and deliver a reproducible result, PANKO must track both files from the first measurement through the final export.Which issue this PR fixes
Related to issue #326 — PANKO for PyPTO-Pro.
Special notes for your reviewer:
This is the third PR in the PANKO series, in merge order:
For source mapping and package restoration, start with
source_analysis/program_view.pyandsource_analysis/program_bundle.py. The regression testtest_exported_package_passes_runtime_checkexercises delivery from the installed CLI.Change Type / 改动类型
Testing / 测试信息
On
7b715644, the shared-core suite passed all 834 tests. The Pro host suite passed 90 tests and skipped 2 (Torch-dependent CPU golden and Windows junction fallback).git diff --checkpassed.The package-export regression test installs the Pro runtime, initializes a campaign with
kernel.pyandhelper.py, and exports a retained candidate. It then moves the original package away and calls the installedmeasure.pyon the export using a host profiling fixture. The precision check passes, and the measurement receipt contains the verified hashes of both exported files.Run the suite from the repository root:
Checklist / 检查清单