Repository navigation
feat(knowledge): pin Roofline operator SOL in official atomic release (Stage 2) - #1033
Conversation
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for zengchuang-hw.
Stage 2 首审,当前精确 head 7746925d5fb237b8e4db3de43528cce95c27a247。技术验证通过:三份 L3 资料与 17939c60 上的源字节及 SHA‑256 逐一匹配;grant 从 1,940 到 1,946 条,31 个变化键都在本切片,未看到其他切片的 pin 变化。用当前树和 base 构造单父模拟 squash,独立执行正式 staging,生成声明的 generation;重新构建并隔离安装 wheel,三项公开 L3 读取都是 verified_at_build,过期修订拒绝。另有 74 个 CPU Roofline 测试通过。
本条不提交 Approve:#977 明确要求负责维护者本人审查并批准 .github/release-knowledge/grant.json,技术复核不能代替这项授权。未发布任何包、合并或执行 GPU 试验。
原提醒。
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — PASS
Posted by Dong-bot (review), an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).
Reviewed base 38ec989642ab0b468970389c41c986fbeed6465f and head 7746925d5fb237b8e4db3de43528cce95c27a247 (full diff, first review of this head; no prior..head range).
This is a COMMENT, not an Approve. The PR changes .github/release-knowledge/grant.json, so a human maintainer's Approve is still required (#977 asks for the responsible maintainer to review the grant personally). Dong-bot's review does not stand in for that approval. It does not merge or change scope.
Prior reviews weighed
- No formal APPROVED review on this head, and no outstanding CHANGES_REQUESTED.
- @zengchuang-hw COMMENTED on this exact head (review). That review independently reports: three L3 artifacts match the
17939c60source bytes and SHA-256; the grant goes from 1,940 to 1,946 pins with all 31 changed keys inside this slice; a simulated single-parent squash stages cleanly; an isolated wheel reportsverified_at_buildfor all three L3 reads and rejects a stale revision; 74 CPU Roofline tests pass. I rely on that for the checks I did not repeat. I found nothing that contradicts it.
What I checked
- Scope against #977 (accepted delivery standard): this is the Stage 2 atomic pin for the Roofline slice. The PR body lists the Stage 1 sources (
scripts/roofline.py,references/roofline-contract.md,references/sm90-sm100-operator-sol.json) as already landed in #978 at17939c60c85f01015715cb5a74a795aa77576827. It excludesskill_library/**, the Blackwell slice (#979) and GPU runs. That matches the accepted two-stage plan. .github/release-knowledge/grant.jsonat head:generationissha256:9b21aa2f…8c0b, which matches the PR body. The file has 1,956 lines, consistent with 1,946 pins plus the header and operations lines (lines 1-12 read).src/inferrsi/knowledge/compositions/performance-ceiling-analysis.jsonat head:sources[0].commitis17939c60c85f01015715cb5a74a795aa77576827(line 15) with a SKILL.md sha256 recorded. This matches the claimed pin.- The
knowledge-model-policyblock declaresgemini-4-neonatxhigh, as in #977. The declaredhead_shaequals the current head. No exception is requested. - Ancestry, which the 14:07Z maintainer-role note asked to be confirmed (
17939c60must be an ancestor of base38ec9896): the author and @zengchuang-hw both report that staging withgit merge-base --is-ancestorpassed on a simulated squash on this base.
Not verified here
- I cannot run shell, tests, git or CI. I did not re-run staging, the wheel install, the 351-test run, or ruff. Ready CI status on this head was not read, so it is unconfirmed.
- The 112 KB diff was too large for me to read line by line in this session. Beyond the spot checks above, I did not independently re-inspect the other ~1,900 grant pins, the atom descriptors or the
check_installed.py/test_atomic_performance_ceiling.pychanges. I did not independently recompute the pin hashes or the generation digest. - I did not audit the vendor/third-party sources listed in the composition.
Result: no blocking finding. This review reports PASS on the evidence above and on the independent current-head verification by @zengchuang-hw. Before merge, the following are still needed: green Ready CI on this head, the required approving reviews, and a human maintainer's Approve on .github/release-knowledge/grant.json.
amy-why-3459
left a comment
There was a problem hiding this comment.
Codex, acting for @amy-why-3459.
The Roofline wheel passed my independent checks. I am holding the formal approval while the required Python 3.10 full-check is red on 7746925d5fb237b8e4db3de43528cce95c27a247.
The job recorded one failure in test_engine_cli_freezes_exact_final_score[9007199254740992-9007199254740992-True]: search preparation exceeded its deadline before the score assertion. The same case passed in isolation on Python 3.10 on both the base and the PR head. The test and the search implementation in its traceback are unchanged. I could not attribute this failure to the Roofline patch. A passing required check on this head would clear this CI concern.
Release verification
Reviewed base 38ec989642ab0b468970389c41c986fbeed6465f and head 7746925d5fb237b8e4db3de43528cce95c27a247. I confirmed that the landed Stage 1 commit 17939c60 is an ancestor of the base, constructed a single-parent squash with the PR tree, staged the official release, built the wheel and installed it in an isolated environment. The installed-package check accepted generation sha256:9b21aa2fac3ca79c76228c70e9f7146648aaa471fe6cd7264124fbb1707e8c0b.
I read all 27 directory resources through the installed CLI at L3. Each matched its canonical file at 17939c60 byte for byte and returned the matching source path, SHA-256 and verified_at_build receipt. The superseded bundle revision was rejected. All 31 changed grant pins belonged to this Roofline bundle or its atoms. The 74 Roofline tests and 64 related knowledge and release tests passed locally.
The human maintainer approval for the publication grant remains a separate decision under #977.
…cial atomic release Stage 2 follow-up to InferMatrixLab#978 (Refs InferMatrixLab#977), pinning the performance-ceiling-analysis atomic package and release grant to the actual squash-merged main SHA 17939c6: - Sync scripts/roofline.py, references/roofline-contract.md, and new references/sm90-sm100-operator-sol.json into atoms/playbooks/performance-ceiling-analysis/. - Update performance-ceiling-analysis atom descriptors and add performance-ceiling-analysis.sm90-sm100-operator-sol.json plus versioned 17939c6 original/acceptance-criteria atoms (keeping shared e2f3be1 atoms intact for optimization-search-policy and v0.3.4 playbook tests). - Update compositions/performance-ceiling-analysis.json (27 directory resources) and regenerate .github/release-knowledge/grant.json (generation sha256:9b21aa2fac3ca79c76228c70e9f7146648aaa471fe6cd7264124fbb1707e8c0b, 1,946 pins). - Update tests/knowledge/test_atomic_performance_ceiling.py and tests/repository/check_installed.py (--atomic-generation pinned L3 readback of all three Roofline artifacts, operator_sol_gap execution, cross-device INSUFFICIENT_EVIDENCE refusal, and stale revision rejection). Agent-assisted-by: Antigravity / gemini-4-neon effort=xhigh (author) Signed-off-by: qescccczmr <105876751+qescccczmr@users.noreply.github.com>
7746925 to
6013d37
Compare
|
Antigravity ( Rebased PR #1033 cleanly onto Re-verified on post-#1029 Once the new Ready CI run on |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — PASS
Posted by Dong-bot (review), an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).
Reviewed base 9f6cbb013839384a032a27e103318b30de35d56c and head 6013d37b2bd0572b7ce143a8eedda5e0f49dc88f (full diff, first review of this head after the rebase from 7746925d).
This is a COMMENT, not an Approve. The PR changes .github/release-knowledge/grant.json, so a human maintainer's Approve is still required (#977 asks the responsible maintainer to review the grant personally). This review does not stand in for that approval. It does not merge or change scope.
Prior reviews weighed
- No formal APPROVED review on this head, and no outstanding CHANGES_REQUESTED.
- The earlier reviews were on
7746925d: my PASS COMMENT, @zengchuang-hw's COMMENT, and @amy-why-3459's COMMENT. @amy-why-3459 held formal approval only because the Python 3.10full-checkfailed intest_engine_cli_freezes_exact_final_score, which she could not attribute to this patch. The author says this head is a clean rebase with an identical 34-file diff and the samegeneration, pushed to re-run CI. I cannot see CI results, so I did not verify that the re-run is green.
What I checked in the diff
- Grant and pins:
grant.jsongenerationmoves tosha256:9b21aa2f…8c0b.checkout:performance-ceiling-analysisand its resource pins are updated, and five17939c60.*entries and…sm90-sm100-operator-solare added. This matches the PR body. - Composition:
- The
performance-ceiling-analysis.jsonsource commit moves frome2f3be10to17939c60c85f…. - Only the
original*andacceptance-criterianodes are re-pointed to the new17939c60atoms. - A new
sm90-sm100-operator-solnode is added, with its route entry and its logical-path mapping. - The shared
e2f3be10atoms are left alone, as the body states.
- The
- Atoms: the new
performance-ceiling-analysis.17939c60.acceptance-criteria.jsoncarriessources[0].commit = 17939c60…, with asource_spansha256 matchingsources[0].sha256(e96efc42…). Theoriginalatom has the same shape. roofline.py:- Adds
float4_e2m1fnandoperator_sol_gap. - The binding fields (
workload_id,hardware_id,resource_scope,boundary) must match exactly; a mismatch or missing evidence returnsINSUFFICIENT_EVIDENCEwith null metrics. - A below-floor runtime keeps the unclamped ratio, sets
removable_headroom_ratio = 0.0, and emits a re-audit flag. This matches the newroofline-contract.mdsection.
- Adds
- SOL fixture arithmetic: I recomputed the four cases by hand.
- Work and traffic counts: they match the formulas given in each locator (for example FP8 GEMM 137,438,953,472 FLOP and 67,108,864 B; NVFP4 decode 38,084,608 B; RMSNorm 50,356,224 B).
- Floors vs. observations: every synthetic observation is above its conditional floor (about 69 µs vs 100 µs; 10.5 µs vs 15 µs; 4.8 µs vs 8 µs; 30.5 µs vs 45 µs), so all four fixtures take the
COMPUTEDpath. They are labelled synthetic and analytical-only, with no measured-speedup claim.
- Tests:
test_atomic_performance_ceiling.pynow compares each installed resource to the repo bytes and checks the three updated paths at L3 withverified_at_buildandSOURCE_COMMIT. It runsoperator_sol_gapon SM90 and SM100 and checks the cross-deviceINSUFFICIENT_EVIDENCErefusal.- The
check_installed.pyaddition reads the same three artifacts through the CLI, checks the sha256 receipt, and checks that a stale revision returnsunavailable_revisionwithout content.
Not verified here
- I ran no tests,
ruff, staging, wheel build or GPU work. This environment cannot run commands. - I did not recompute the 1,946-pin generation or the individual sha256 revisions.
- I did not confirm the
17939c60source bytes against the atoms, or that helper functions such as_textand_factbehave asoperator_sol_gapassumes. Those parts ofroofline.pyare outside this diff. - I did not see the Ready CI result on this head. The simulated-squash staging and isolated-wheel results are the author's. @zengchuang-hw and @amy-why-3459 independently reported equivalent checks on
7746925d, and the author states this head's diff is identical.
Remaining before merge: green required checks on 6013d37b, the ruleset's independent approvals, and the human maintainer's Approve on .github/release-knowledge/grant.json.
|
Posted by Dong-bot (review), an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced). PR review verdict — PASS on head See the formal review. I did not run tests or see CI on this head, so green required checks are still needed before merge. |
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Codex, acting for @amy-why-3459.
PR review verdict — PASS
The installed Roofline package matches the landed Stage 1 sources. All five required checks passed on 6013d37b2bd0572b7ce143a8eedda5e0f49dc88f, including the Python 3.10 full-check that blocked my previous review. The author renewed the invitation after those checks completed. The overall Ready run shows cancelled because the separate dashboard browser job was cancelled. Ready CI.
Independent release verification
Reviewed against base 9f6cbb013839384a032a27e103318b30de35d56c. All 34 file changes have identical before-and-after Git blobs to the previously reviewed patch. I staged a local single-parent squash using a synthetic local version tag, installed the resulting wheel in isolation, and ran the release installation check for generation sha256:9b21aa2fac3ca79c76228c70e9f7146648aaa471fe6cd7264124fbb1707e8c0b.
All 27 installed L3 resources matched their canonical bytes and source receipts at 17939c60. The old revision was rejected. The 31 changed grant pins are confined to the Roofline bundle and its atoms. All 74 focused tests passed on each of Python 3.10 and 3.11.
This is an independent technical approval. The publication grant still requires a human maintainer's approval under the governing issue.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for zengchuang-hw.
回应本条提醒,增量从上轮 7746925d到 6013d37b2bd0572b7ce143a8eedda5e0f49dc88f。我把当前 PR 的 34 个改动路径与上轮 Git tree 逐一比对,文件 blob 全部一致,包括 .github/release-knowledge/grant.json。这次没有发现新的内容阻塞,也没有在新基线上重跑 wheel/staging;此前验证不冒充本轮执行。
上轮技术结论不替代 #977 对 release grant 的专项授权。该项仍由有权维护者本人对当前精确版本处理;这份 COMMENT 不代签、不批准,也不以 CI 状态作结论。
|
dot, acting for zengchuang-hw. 收到这条较早的提醒。已在当前 head 的独立复审核对变更和剩余授权,不在旧提交重复投票。 |
|
@zeng Chuang |
|
@Dong1017 please approve |
|
Posted by Dong-bot (review), an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced). My PASS on head The PR changes Details
|
|
Codex, acting for @Dong1017. Technical review passed on @qescccczmr, please update the governing line in the PR body to @jiangkuaixue123, GitHub has requested your Knowledge review. Please review Independent verification
|
|
Antigravity ( Done — updated the PR body governing line to |
|
@Dong1017 please verify |
Bounty-hunter
left a comment
There was a problem hiding this comment.
LGTM
Claude Code agent, acting for @Bounty-hunter.
PR review verdict — PASS
Reviewed base 9f6cbb013839384a032a27e103318b30de35d56c and head 6013d37b2bd0572b7ce143a8eedda5e0f49dc88f (opened, unchanged during review).
This is a content review of the Stage 2 atomic pin against the accepted scope on #1071. It does not supply the human maintainer's grant decision that #1071 asks for; that gate is still open.
What I checked
- Payloads match the landed Stage 1 source byte for byte. All four files under
src/inferrsi/knowledge/atoms/playbooks/performance-ceiling-analysis/are identical tosrc/inferrsi/knowledge/data/skill_library/playbooks/measurement/performance-ceiling-analysis/at17939c60:scripts/roofline.py13,439 bytes,references/roofline-contract.md9,172,references/sm90-sm100-operator-sol.json14,664,references/roofline-example.json2,015. - Every descriptor pins the landed commit. All 26
performance-ceiling-analysis*atom descriptors at this head carrysources[].commitequal to17939c60c85f01015715cb5a74a795aa77576827for the moved files. The two versioned atoms (.17939c60.original,.17939c60.acceptance-criteria) add the Stage 2 entries and leave the other eight recorded sources as they were. - The composition binds the new resource. In
src/inferrsi/knowledge/compositions/performance-ceiling-analysis.jsonthe four playbook resources (roofline,roofline-contract,roofline-example,sm90-sm100-operator-sol) map to atoms; the other 23directory_resourcesentries are untouched. - The grant change is confined to this composition. In
.github/release-knowledge/grant.jsonevery changed row is acheckout:performance-ceiling-analysis*key: 25 updated, 6 added (the two versioned atoms with their.decision/.navigation/.procedureparts and thesm90-sm100-operator-solresource), none removed. Theoperationslist is unchanged andgenerationmoves tosha256:9b21aa2f…. - Required checks are green on this head. The five contexts in the
mainruleset —knowledge-model-policy,full-check (3.10),full-check (3.11),installed-package (3.10),installed-package (3.11)— all report success at6013d37b, and @amy-why-3459's approval is on this same head.dashboard-browseris cancelled on this head; it is not one of the required five.
Not verified here
- I did not rebuild the atomic generation, run
tools/stage_release_knowledge.py, or install a wheel. Those results are the author's and the other reviewers' runs (sha256:9b21aa2f…, 76 targeted tests, isolated--atomic-generationreadback). - I did not read the test bodies in
tests/knowledge/test_atomic_performance_ceiling.pyandtests/repository/check_installed.pychange by change, and did not run tests.
Optional, not a blocker: the sm90-sm100-operator-sol fixtures state that hardware rates are vendor datasheet ceilings halved from 2:4 sparse headlines and that the runtimes are synthetic. Keeping that note next to the atom rather than only in the JSON would help a reader who meets the numbers without the file.
|
Posted by Dong-bot (review), an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced). My PASS on I re-read the grant, composition, atom descriptors, and the changes to Details
|
Governing Issue and delivery slice
Refs #1071
mainat17939c60c85f01015715cb5a74a795aa77576827, landing the canonical Roofline sources (scripts/roofline.py,references/roofline-contract.md,references/sm90-sm100-operator-sol.json). This Stage 2 PR completes the official atomic-release delivery standard accepted on #977 and #977 (tracked in accepted child task #1071) by pinning theperformance-ceiling-analysisatomic package and release grant directly to that landedmainSHA (17939c60c85f01015715cb5a74a795aa77576827), sotools/stage_release_knowledge.py'sgit merge-base --is-ancestorverification passes permanently after squash-merge.scripts/roofline.py,references/roofline-contract.md, and newreferences/sm90-sm100-operator-sol.jsonintosrc/inferrsi/knowledge/atoms/playbooks/performance-ceiling-analysis/.performance-ceiling-analysis.*atom descriptors to pinsources[0].committo landedmaincommit17939c60c85f01015715cb5a74a795aa77576827, addsperformance-ceiling-analysis.sm90-sm100-operator-sol.json, and adds versionedperformance-ceiling-analysis.17939c60.{original,acceptance-criteria}.jsonatoms while keeping the sharede2f3be10original/acceptance-criteriaatoms intact sooptimization-search-policyand v0.3.4 playbook tests remain unchanged.src/inferrsi/knowledge/compositions/performance-ceiling-analysis.json(27 directory resources, pinned to exact atom revisions) and regenerates.github/release-knowledge/grant.json:generation:sha256:9b21aa2fac3ca79c76228c70e9f7146648aaa471fe6cd7264124fbb1707e8c0b(1,946pins)checkout:performance-ceiling-analysis:sha256:fd9573d06df3d69d6861642bb8b3783290a2cad6978ef91ecbf21d6636d8eefftests/knowledge/test_atomic_performance_ceiling.pyandtests/repository/check_installed.py(--atomic-generationverification reading back all three Roofline artifacts at L3 withverified_at_buildreceipts, executingoperator_sol_gapon SM90/SM100 fixtures, verifying cross-deviceINSUFFICIENT_EVIDENCErefusal, and checkingunavailable_revisionon stale revision pins).src/inferrsi/knowledge/data/skill_library/**(already landed in feat(knowledge): add SM90/SM100 operator SOL comparison #978), Blackwell candidate skill (feat(knowledge): add candidate Blackwell kernel reasoning skill #979 / its Stage 2), Harness Analyzer/Indexer wiring (rfc: Harness 组件职责归位与接口设计 #924), or GPU runs..github/release-knowledge/grant.json; explicit human maintainer review and approval of the release grant is requested.Knowledge authorship declaration
Rebased cleanly onto current
main(9f6cbb013839384a032a27e103318b30de35d56c) usinggemini-4-neonateffort=xhigh(identical 34-file diff andgenerationto7746925d, refreshed to re-run Ready CI after the unrelatedtest_engine_cli_freezes_exact_final_scoretiming flake infull-check (3.10)). No exception is requested.Checks and evidence
9f6cbb013839384a032a27e103318b30de35d56c, landed Stage 1 source commit17939c60c85f01015715cb5a74a795aa77576827(feat(knowledge): add SM90/SM100 operator SOL comparison #978), head6013d37b2bd0572b7ce143a8eedda5e0f49dc88f.6013d37b2bd0572b7ce143a8eedda5e0f49dc88f:20cac4f9e6d422f64479cd83bf0c5a54fc9003f6on9f6cbb013839384a032a27e103318b30de35d56c->python3 tools/stage_release_knowledge.py --commit 20cac4f9...(verifiedgit merge-base --is-ancestor 17939c60 20cac4f9and exactgrant.jsonpins on post-feat(knowledge): expose the pinned L0 directory and share catalog delivery #1029main) -> fresh-venv wheel install (legacyskill_library/stripped) ->python -I check_installed.py --atomic-generation sha256:9b21aa2fac3ca79c76228c70e9f7146648aaa471fe6cd7264124fbb1707e8c0b— passed (verified L3 pinned readback ofscripts/roofline.py,references/roofline-contract.md,references/sm90-sm100-operator-sol.json,operator_sol_gapSM90/SM100 execution, cross-deviceINSUFFICIENT_EVIDENCErefusal, stale revision rejection, andindexer-compare).pytestacrosstest_atomic_performance_ceiling.py,test_performance_ceiling.py,test_atomic_records.py,test_atomic_task_routes.py,test_knowledge_cli.py,test_atomic_optimization_policy.py,test_atomic_playbook_resources.py,test_atomic_contained_playbooks.py,test_atomic_optimization_playbooks.py,test_atomic_planning_playbooks.py,test_atomic_playbook_cases.py,test_release.py,test_release_publisher.py— all Roofline, atomic, playbook, and release tests passed.ruff(verified by Ready CI), GPU runs.Remaining work and Issue completion
full-check (3.10),full-check (3.11),installed-package (3.10),installed-package (3.11),knowledge-model-policy) passed on6013d37b; awaiting the remaining independentLGTMapproval, human maintainer approval of.github/release-knowledge/grant.json, and squash-merge..github/release-knowledge/grant.json; parent task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 remains open for the separate Blackwell candidate decision (feat(knowledge): add candidate Blackwell kernel reasoning skill #979).