Skip to content

feat(knowledge): add candidate Blackwell kernel reasoning skill - #979

Open
qescccczmr wants to merge 2 commits into
InferMatrixLab:mainfrom
qescccczmr:review/946-blackwell
Open

qescccczmr wants to merge 2 commits into
InferMatrixLab:mainfrom
qescccczmr:review/946-blackwell

Conversation

@qescccczmr

@qescccczmr qescccczmr commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Governing Issue and delivery slice

Refs #977

  • Accepted scope and sequencing: @Dong1017 recorded whole-scope acceptance of the candidate Blackwell slice (reason-blackwell-kernels and its three references, keeping status: candidate and empirical_validation: not_run) in #977 comment 7426981671 and applied status:accepted in #977 comment 7428087578. Both Roofline PRs (#978 Stage 1 and #1033 Stage 2) have landed on main, and this branch is cleanly rebased onto current main (2db553ad6d0b32a74e4ffd9cc2406e0be46bde83). Because this repository enforces Squash and merge and tools/stage_release_knowledge.py requires every atom's pinned sources[0].commit to be an ancestor of the staged main commit (git merge-base --is-ancestor), this follows the two-stage squash-safe delivery established on feat(knowledge): add SM90/SM100 operator SOL comparison #978/feat(knowledge): pin Roofline operator SOL in official atomic release (Stage 2) #1033:
    • Stage 1 (this PR — canonical source on main): Lands reason-blackwell-kernels and its three references under skill_library/, bidirectional cross-links, catalog/SearchSpace projections, rebuilt _compiled/, CPU unit tests, #1088 offline pinned-source test fixture entries, and auxiliary legacy wheel checks (check_legacy_knowledge()) via standard squash-merge, without modifying atoms/, compositions/, skill-registry.json, or .github/release-knowledge/grant.json. Verified on a simulated single-parent squash commit so main stays release-stageable immediately after merge.
    • Stage 2 (immediate follow-up PR after this PR merges, Refs #977): Pins reason-blackwell-kernels + all three references, compositions/reason-blackwell-kernels.json, skill-registry.json, .github/release-knowledge/grant.json, test_atomic_blackwell.py, and check_installed.py --atomic-generation to Stage 1's actual squash-merged main SHA, verifies stage_release_knowledge.py + isolated official atomic wheel CUDA find, non-CUDA exclusion, pinned read (candidate/empirical_validation: not_run), and all three reference bindings on a simulated squash commit, and requests human maintainer approval on grant.json. Issue task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 stays open until Stage 2 lands.
  • What this Stage 1 PR delivers:
    • Register reason-blackwell-kernels under systems/platforms/cuda/reason-blackwell-kernels/ with status: candidate, empirical_validation: not_run, pinned CUDA 12.8.0 / PTX ISA 8.7 and Blackwell Tuning Guide sources, and explicit applicability, refusal_point, failure_modes, validation_plan, and limitations.
    • Add three references covering tcgen05/TMEM (references/tcgen05-and-tmem.md, separating TMEM vs SMEM budgets — matrix A via SMEM a-desc or TMEM tmem-a, matrix B data always via SMEM b-desc vs TMEM block-scale factors — and noting sm_90a WGMMA is not executable on SM100), Cluster Launch Control and SM90-to-SM100 scheduling shifts (references/clc-and-scheduling.md), and native block-scaled FP8/MXFP4/NVFP4 contracts (references/block-scaled-fp4-fp8.md).
    • Add bidirectional cross-links in reason-hopper-kernels/SKILL.md and kernel-writing-guide/SKILL.md, and preserve their exact historical e2f3be10 blobs (SHA-256 verified) in tests/fixtures/atomic-reader/pinned-library-test-sources.zip (6 -> 8 entries) so offline atomic unit tests introduced in refactor(knowledge): derive remaining library atoms from pinned sources #1088 continue to replay e2f3be10-pinned atoms cleanly before Stage 2 re-pins them.
    • Update skill-index.json, docs/searchspace-matrix.md, docs/skill-coverage.md, docs/searchspace-index.json, _compiled/, CPU unit tests (test_blackwell_knowledge.py, test_skill_library.py, test_skill_index.py, test_knowledge_contract.py, test_cli_catalog.py, test_source_snapshot.py, test_knowledge_find.py), and check_legacy_knowledge() in tests/repository/check_installed.py (139 records, 91 skills, 787 resources + CLI find and pinned read for SKILL.md and all three references).
  • What it does not deliver yet: Official atomic package registration/re-pinning and .github/release-knowledge/grant.json update (Stage 2 follow-up PR pinned to the landed main SHA of this PR), runnable CUDA/Triton/CUTLASS kernels, SM100 GPU compilation/profiling, Skill Eval runs, or performance claims.

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "ca7c368ad51f7218baa14847eb851f443440f976",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Antigravity",
      "model_id": "gemini-4-neon",
      "effort": "xhigh",
      "role": "author"
    }
  ]
}

Rebased onto current upstream main (2db553ad6d0b32a74e4ffd9cc2406e0be46bde83), updated the #1088 offline test fixture zip, and regenerated _compiled/ using gemini-4-neon at effort=xhigh. No exception is requested.

Checks and evidence

  • Base / Source / Head: base 2db553ad6d0b32a74e4ffd9cc2406e0be46bde83, canonical source commit 826318f1209c071186ec2afde3821142e0dff020, head ca7c368ad51f7218baa14847eb851f443440f976.
  • Executed checks on head ca7c368ad51f7218baa14847eb851f443440f976:
    • Simulated squash-merge release staging & isolated official atomic wheel install: created single-parent squash commit 904241b13c79c7741c2d52781cb90a1bdc632e5d on 2db553ad6d0b32a74e4ffd9cc2406e0be46bde83 -> tools/stage_release_knowledge.py --commit 904241b13c79c7741c2d52781cb90a1bdc632e5d -> generation=sha256:9b21aa2fac3ca79c76228c70e9f7146648aaa471fe6cd7264124fbb1707e8c0b -> fresh-venv wheel install (INFERRSI_CHECKOUT_RESOURCES=<staged>/src/inferrsi) -> python -I check_installed.py --atomic-generation sha256:9b21aa2fac3ca79c76228c70e9f7146648aaa471fe6cd7264124fbb1707e8c0b — passed (Installed atomic Knowledge release matches sha256:9b21aa2fac3ca79c76228c70e9f7146648aaa471fe6cd7264124fbb1707e8c0b).
    • Simulated squash-merge auxiliary legacy wheel install: fresh-venv wheel install from simulated squash commit 904241b13c79c7741c2d52781cb90a1bdc632e5d (INFERRSI_CHECKOUT_RESOURCES=<wt>/src/inferrsi) -> python -I check_installed.py — passed (139 source-grounded records available, 787 files, sha256 791e2182420cd05ea084cd40eb257b7c4f43984d2a43823b8bcee89de02ea37c, verifying Roofline and Blackwell CLI find/pinned read, plus indexer-compare).
    • pytest across 15 knowledge & atomic test suites (test_blackwell_knowledge.py, test_hopper_knowledge.py, test_skill_library.py, test_skill_index.py [non-Git-2.45], test_knowledge_contract.py, test_knowledge_find.py, test_skill_coverage_view.py, test_searchspace_index.py, test_source_snapshot.py [non-Git-2.45], test_atomic_remaining_cuda_platform.py, test_atomic_kernel_guide.py, test_atomic_performance_ceiling.py, test_atomic_playbook_resources.py, test_atomic_records.py, test_atomic_optimization_policy.py) plus 4 apps/release suites (test_cli_catalog.py, test_release.py, test_release_publisher.py, test_template_layout.py) — 423 passed (303 knowledge/atomic + 120 apps/release; 9 Git >= 2.45 snapshot tests deferred to Ready CI since local host has Git 2.43.0).
    • PYTHONPATH=src python3 tools/build_skill_coverage.py --check, --searchspace-index --check, git diff --check, <= 100-char Python line-length check, check_pr_references.py, and check_knowledge_model_policy.assess() — passed.
  • Not run locally: ruff, full pytest across all repository modules, and tools/build_skill_index.py --source-revision 826318f1209c071186ec2afde3821142e0dff020 --check (Git >= 2.45) — all covered by Ready CI on this head; no SM100 GPU compilation, numerical parity, profiling, or Skill Eval run was executed.

Remaining work and Issue closure

  • Ready CI (full-check, installed-package, declarations, knowledge-model-policy) confirmation and reviewer sign-off on head ca7c368ad51f7218baa14847eb851f443440f976.
  • Immediately after Stage 1 feat(knowledge): add candidate Blackwell kernel reasoning skill #979 squash-merges onto main, submit Stage 2 follow-up PR (Refs #977) wiring reason-blackwell-kernels, its three references, skill-registry.json, and .github/release-knowledge/grant.json pinned to Stage 1's landed main SHA, verified via simulated squash staging + isolated --atomic-generation CUDA find and pinned read.

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Reviewed base 42588d7 and head 907fb53 (first review on opened, full diff).

Blockers

  1. Knowledge authorship declaration fails the model policy gate. The PR changes protected paths: src/inferrsi/knowledge/data/skill_library/**, including the new systems/platforms/cuda/reason-blackwell-kernels/ directory (confirmed at head), the skill registry and compiled index, and the SearchSpace matrix (.github/knowledge-model-policy.json lines 4-13). The body's declaration lists two authors that fail model_errors in tools/check_knowledge_model_policy.py (lines 195-209):

    • Antigravity / gemini-4-neon at effort high. The policy allows only xhigh for this model (.github/knowledge-model-policy.json line 49), so this is "effort is not allowed".
    • Codex / model_id unknown / effort unknown. This is not an approved model in the policy, and the attribution is not explicit.
      The declaration has no exception field. Dong-bot grants no knowledge exception. An exception needs a by-hand knowledge-policy-approval comment from an approval owner (approval_owners: Dong1017; checker lines 212-254). The body itself says admission is "pending re-authoring under admitted settings or an explicit maintainer exception".
  2. Same blocker as the #946 review on head 4d49a67 (Dong-bot 2 Dec 15:52Z; Dong1017 2 Dec 23:52Z). The split skill slice has not yet been re-authored on an admitted model at xhigh with a truthful declaration. Nothing in this head resolves it.

  3. Governing scope is not accepted. The governing Issue #977 is status:proposed, with scope marked "Proposed" and implementation delegation "Pending". Its own triage asks for the skill scope to be accepted by @jiangkuaixue123 and the goal by Dong1017, and it notes the skill needs re-authoring. The 2 Dec #946 decision (15:49Z) split the work but did not accept this slice. A PASS needs the governing scope accepted.

Non-blocking

  • The body says "Keep this draft pending knowledge admission", but pr/meta.json shows draft: false. Please align the body and PR state.

Formal review state

  • No formal review is seeded on this head (pr/prior-reviews.md: no APPROVED review, no outstanding CHANGES_REQUESTED). Nothing in this review claims independent approval.

Verified here

  • pr/meta.json, pr/head.sha, pr/base.sha, pr/prior-reviews.md, decisions.md, and skills/review-pr/SKILL.md with both references.
  • The knowledge-model policy JSON and the checker's declaration/model/exception logic at head 907fb53.
  • The #977 and #946 threads (body and comments), and the reason-blackwell-kernels directory at head.
  • The declaration head_sha matches 907fb53, so the SHA binding is correct. The model and effort failures above are the defect.

Not verified here

  • The full diff was not readable in this run (pr/diff.patch was written out of workspace). I did not review the skill markdown, references, registry, index or tests line by line.
  • The author's reported results (6 focused tests, ruff, build_skill_index.py --check on Git 2.49.1, coverage checks) are taken as author-reported. I did not run them.
  • CI status is not seeded. Under the #977 triage note, Git 2.45 or later CI is the authority for the test_skill_index.py checks.
  • GPU verification and Skill Eval are not run. The PR states empirical_validation: not_run, which is the correct candidate state.

To clear

  • Re-author the protected changes on a new head, using an admitted model at an admitted effort (xhigh), with a truthful knowledge-model-policy declaration. Or get a by-hand approval from Dong1017 for an exception covering the exact protected paths.
  • Get the scope for this slice accepted on #977 (@jiangkuaixue123 for the skill, Dong1017 for goal and policy).
  • Dong-bot will re-read after the author pushes a new head.

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO PASS
dot, acting for zengchuang-hw.

首次检视,base 42588d7552f2f5ffda3a5e2f8e4fac3b5da9d9dd,head 907fb53f1f4ea37c5e4782f5a5c2b3d40ff7aaed。

GitHub 已转 Ready,但 #977 的实施范围仍待接受。实际 diff 把 Blackwell 指南作为候选并接入 CUDA 检索,新增测试分别检查未验证状态、资源保留和声明依赖;没有设备 qualification 可据此推定。当前不能批准:受保护的技能、引用和索引声明含 gemini-4-neon/high 及 unknown/unknown,不满足主干 Knowledge policy 的 Neon xhigh 和来源要求。请补 #977 scope 决议与合规来源/有权维护者明确例外,保持 candidate 标记。本轮核对了实际技能、投影、测试及声明;未做硬件或 Skill Eval,不作性能结论。

@Dong1017 Dong1017 added the area:knowledge Knowledge line: packs, skill library, knowledge admission label Dec 3, 2026
@qescccczmr
qescccczmr marked this pull request as draft December 3, 2026 02:45
@qescccczmr
qescccczmr marked this pull request as ready for review December 3, 2026 03:10
@qescccczmr
qescccczmr marked this pull request as draft December 3, 2026 03:20
@qescccczmr
qescccczmr force-pushed the review/946-blackwell branch from 9ea529b to 29474bd Compare December 3, 2026 03:37
@qescccczmr
qescccczmr marked this pull request as ready for review December 3, 2026 03:40
@amy-why-3459

Copy link
Copy Markdown
Collaborator

@amy-why-3459 @Dong1017 @zengchuang-hw @Bounty-hunter @david6666666

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dot, acting for @david6666666.

PR review verdict — DO NOT PASS(非表决 COMMENT)

检查与评分

PR base ef9b6b86460a9a473cd7dafe2b85de33a87f56ba,head 29474bd04b84cbb8f6d1717ea9bf8f48a9a59ca5;审查规则取自 ed143a77fd1aca61de011147fee748a5c7c38dd5。

技能按 candidate / empirical_validation: not_run 登记,没有把目录测试当成 Blackwell 实机验证。源码侧已更新目录测试,但同 head 的 wheel 验证 仍在旧的 len(records) == 138 断言失败;这条报错不能证明缺文件。请从安装后的 CLI 验证能 Find、Read 新卡与三份 reference,并同步安装侧预期。#977 scope、适用范围签核和必需 CI 都还没齐。

55/100:范围 1/3、正确性 2/3、验证 1/3、主张证据 N/A(不宣称实机性能)、简洁度 3/3。

核对 diff 与已报告/托管测试,未独立运行 PR 代码。

@qescccczmr
qescccczmr force-pushed the review/946-blackwell branch from 29474bd to d492442 Compare December 3, 2026 04:37

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO PASS
dot, acting for zengchuang-hw.

回应本条提醒。Base ed143a77fd1aca61de011147fee748a5c7c38dd5,head d4924423e26ed06c4d59c0ac296892a245ece5bd。

复核从 907fb53f(上轮)到当前 head。当前绑定声明为 gemini-4-neon/xhigh,上轮声明档位阻塞不再适用;未独立证实重做过程。新增已安装检查覆盖 CUDA Find、固定 revision Read、三份引用的精确字节及 candidate/not_run,不应写成 GPU 或 Skill Eval 已验证。批准前仍需在 #977 记录整体范围和候选技能范围的明确接受。本轮静态核对声明、方法和断言,未重跑 wheel、设备或 CI。

@qescccczmr

Copy link
Copy Markdown
Contributor Author

@amy-why-3459 @Dong1017 @zengchuang-hw @Bounty-hunter @david6666666

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dot, acting for @amy-why-3459.

复核 d4924423,补一个发行验证边界:新增 Blackwell Find/固定版本 Read、三份引用字节和候选状态断言全部在 check_legacy_knowledge()。同文件的 --atomic-generation 路径不会调用它,只核对通用 Collect→Read。因此这些断言能证明旧版知识目录安装行为,不能证明封存原子库发行版的 CUDA Find 会找到该候选。

请在 PR 与 #977 的拟验收范围标明是 legacy/checkout 可发现,还是也包含封存发行。若包含后者,请用不含 legacy 目录的实际封存 wheel 验证 Find → pinned Read,覆盖新卡、三份引用及 candidate/not_run;若暂不包含,收窄发行表述即可。这是静态复核,未构建 wheel 或运行 GPU;#977 仍待范围决议,未批准。

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

请修正两项会影响 SM100 内核诊断的指引:tcgen05.mma 的 B 操作数来自共享内存,SM100 也无法执行 Hopper 的 WGMMA 指令。对应行内意见给出了可替换的诊断步骤和 PTX 依据。#977 的候选技能范围仍待负责人确认。范围决议请求

复核版本和验证

目标 main,base ed143a77fd1aca61de011147fee748a5c7c38dd5,head d4924423e26ed06c4d59c0ac296892a245ece5bd。本地通过 158 项 CPU 测试及 2 个子测试。覆盖率、SearchSpace 和编译目录与源文件一致。独立构建并安装普通 wheel 后核对了 139 条记录、786 个资源,以及 CUDA Find 返回的新卡、固定版本 Read 和三个引用文件。实机编译和 GPU 性能仍未经验证。

当前 head 的知识贡献声明检查已通过。GitHub Ready 运行仍显示 action_required。Ready 运行

2. **Joint budget with epilogue and scales:** budget TMEM columns across:
- Double-buffered (or multi-stage) MMA accumulators when overlapping the
mainloop with the epilogue.
- TMEM-resident A/B operands (when used in TS/TT modes) and block-scale

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex, acting for @amy-why-3459.

这里的 “A/B operands … TS/TT modes” 会让读者为 B 操作数分配 TMEM 并尝试一个无法编码的 TT 主循环。在 SM100 的 tcgen05.mma 中,A 可以用共享内存描述符或 TMEM 地址,B 使用共享内存描述符 b-desc。请按这个约束分别列出预算。块缩放指令的 B 缩放因子可以驻留 TMEM,需与 B 矩阵数据区分。NVIDIA PTX 指令格式

## Discriminating diagnostic signals

- **High register count or spills on SM100:** check whether the compiled kernel
fell back to a Hopper WGMMA path or whether epilogue warps materialize an

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex, acting for @amy-why-3459.

在实际 SM100 设备上排查溢出时,沿着“Hopper WGMMA 回退”查不到可执行路径。wgmma.mma_async 要求 sm_90a,该架构专用目标不能向前兼容。建议先核对实际分派的 kernel 和 SM100 的 PTX/SASS,再检查可执行的通用 MMA 路径或 epilogue 是否把整块累加结果驻留在寄存器里。PTX 目标要求 · NVIDIA 架构兼容说明

@qescccczmr
qescccczmr force-pushed the review/946-blackwell branch 2 times, most recently from 4f8ba17 to bd32032 Compare December 3, 2026 05:42
@qescccczmr

Copy link
Copy Markdown
Contributor Author

Antigravity (gemini-4-neon, effort=xhigh), acting for @qescccczmr.

Updated PR #979 at head bd32032873bac5a9ceff2f5071770a9244ca4a3d to correct both SM100 PTX guidance issues (tcgen05.mma B operand source and sm_90a-only WGMMA) and to narrow installed-packaging acceptance explicitly to checkout + legacy packaged wheel (check_legacy_knowledge(), excluding --atomic-generation); requesting re-review from @amy-why-3459 on bd32032873bac5a9ceff2f5071770a9244ca4a3d (candidate skill scope acceptance remains pending on #977).

Changes and verification on head bd32032
  • PTX ISA corrections (addressing @amy-why-3459 CHANGES_REQUESTED inline comments):
    • references/tcgen05-and-tmem.md: separated TMEM vs SMEM budgets per CUDA 12.8.0 PTX ISA #tensorcore-5th-generation-instructions-tcgen05-mma — matrix A may come from SMEM (a-desc) or TMEM (tmem-a, SS/TS), while matrix B data always comes from SMEM (b-desc) (no TT matrix-data mainloop), with TMEM-resident A/B scale-factor tensors explicitly distinguished from SMEM-resident B matrix data.
    • references/tcgen05-and-tmem.md and SKILL.md: removed the Hopper WGMMA fallback wording and cited PTX 12.8.0 #asynchronous-multiply-and-accumulate-instruction-wgmma-mma-async and the Hopper Compatibility Guide to state that sm_90a WGMMA is not executable on SM100; diagnostics now point to dispatched kernel / SM100 PTX/SASS inspection for generic forward-compatible MMA (mma.sync / SM80-style) or epilogue register materialization. Pinned SKILL.md sources[0] to CUDA 12.8.0 / PTX ISA 8.7.
  • Installed-packaging acceptance boundary (addressing @amy-why-3459 review on d4924423): narrowed both this PR body and task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977's proposed scope explicitly to checkout and legacy packaged wheel discovery/read (check_legacy_knowledge()), stating that --atomic-generation sealed release wheels are out of scope for this slice.
  • Rebuilt artifacts and checks on bd32032873bac5a9ceff2f5071770a9244ca4a3d (source commit 35a3ffe44b1f50275d66eb7c53ad6dfba24f8265, base ed143a77fd1aca61de011147fee748a5c7c38dd5):
    • Rebuilt docs/skill-coverage.md, docs/searchspace-index.json, _compiled/inputs.json, and _compiled/_provenance.json; verified build_skill_coverage.py --check and --searchspace-index --check passed.
    • Isolated fresh-venv legacy wheel install + python -I check_installed.py (with INFERRSI_CHECKOUT_RESOURCES, INFERRSI_SESSION_LOCK_PROBE, INFERRSI_PRE_CHANGE_SESSIONS): passed (139 source-grounded records, 786 files, verifying check_legacy_knowledge() CLI find -> pinned read across SKILL.md and all three references with exact byte match).
    • pytest tests/apps/test_cli_catalog.py tests/knowledge/test_knowledge_find.py tests/knowledge/test_source_snapshot.py::test_compiled_inputs_expand_to_public_records tests/knowledge/test_blackwell_knowledge.py tests/knowledge/test_skill_library.py tests/knowledge/test_knowledge_contract.py tests/knowledge/test_skill_index.py tests/knowledge/test_skill_coverage_view.py tests/knowledge/test_searchspace_index.py tests/repository/test_template_layout.py -k "not committed_source_hashes and not replacement_refs and not checks_drift and not repinned_corpus": 175 passed (4 deselected).
    • tools/check_pr_references.py and tools/check_knowledge_model_policy.py --dry-run against live main (ed143a77fd1aca61de011147fee748a5c7c38dd5): passed (compliant).
  • Not run locally / pending: ruff and Git >= 2.45 build_skill_index.py --check await Ready CI run approval on bd32032873bac5a9ceff2f5071770a9244ca4a3d; no --atomic-generation sealed wheel, SM100 GPU run, or Skill Eval was executed; scope acceptance remains open on task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 (@jiangkuaixue123, @Dong1017).

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO PASS
dot, acting for zengchuang-hw.

Base ed143a77fd1aca61de011147fee748a5c7c38dd5; head bd32032873bac5a9ceff2f5071770a9244ca4a3d.

本轮新增提醒:原评论。较上轮 d4924423,本轮将 PTX 引用固定到 CUDA 12.8,区分 A 的 SMEM/TMEM、B 矩阵数据的 SMEM 与 TMEM 上的 scale factors,也不再把 Hopper 的架构专用 WGMMA 当成 SM100 可执行的 fallback。已核对文档实际差异、生成清单和候选/未实测分级;Python 测试文件未变。

批准前仍需 #977 的 Blackwell 技能范围及目标负责人确认;目前仍是 status:proposed。未独立重建 wheel、运行 CUDA 编译或测量,本轮结论不认证硬件能力。

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

上轮两处 PTX 指引已修复:矩阵 B 使用共享内存描述符,B 的缩放因子可单独驻留 TMEM;SM100 诊断已移除 Hopper WGMMA 回退路径。PR 与 #977 的拟验收范围也都明确限定为 checkout 和普通 wheel。当前仍待 jiangkuaixue123 的候选技能范围意见,以及 Dong1017 在 #977 的接受决定。PTX 指令规范 · 待决范围

当前提交的验证

目标 main,base ed143a77fd1aca61de011147fee748a5c7c38dd5,head bd32032873bac5a9ceff2f5071770a9244ca4a3d。158 项 CPU 测试及 2 个子测试通过。覆盖率、SearchSpace 和编译目录与源文件一致。重新构建并安装普通 wheel,验证 CUDA Find、固定版本 Read、三份引用文件和候选状态,核对了 139 条记录和 786 个资源。实机验证状态仍为 not_run。

@qescccczmr

Copy link
Copy Markdown
Contributor Author

@amy-why-3459 @Dong1017 @zengchuang-hw @Bounty-hunter @david6666666

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex, acting for @amy-why-3459.

补充本次提醒后的 CI 复核:bd320328 的 Ubuntu / Python 3.10 全量检查出现一项失败。test_engine_known_timeout_settles_usage_and_releases_domain 已验证超时清理和用量结算,但最后期望 doc["blocked"] 为真,实际为假。建议先重跑该失败作业;若重现,可从超时结算记录和阻塞标志查起。失败日志

对照验证

该用例及涉及的调度实现均在本 PR 的差异之外。本地 macOS / CPython 3.10.22 单独运行同一用例,在目标基线 ed143a77 和当前提交 bd320328 上各通过一次。GitHub 的 Python 3.11 全量检查和两个版本的安装检查均已通过。候选技能范围仍待负责人在 #977 确认。上轮正式审阅

@qescccczmr
qescccczmr force-pushed the review/946-blackwell branch from bd32032 to 106e8b2 Compare December 3, 2026 06:24
@qescccczmr

Copy link
Copy Markdown
Contributor Author

Antigravity (gemini-4-neon, effort=xhigh), acting for @qescccczmr.

Rebased PR #979 cleanly onto main (7526f1ed3d421618bcbdc67d2d9f65ce60698636) at head 106e8b2770cef9e64b8ac4c7c03d4d19b12825a7 solely to pick up the upstream Ready CI stabilization commit (7526f1ed, addressing the full-check (3.10) test_engine_known_timeout_settles_usage_and_releases_domain failure on run 47044554449), with zero changes to skill, doc, or test files vs bd320328; requesting Ready CI approval on 106e8b2770cef9e64b8ac4c7c03d4d19b12825a7 from @amy-why-3459 when convenient.

Rebase delta and verification on head 106e8b2
  • Why rebased: Run 47044554449 on bd320328 passed 7/8 jobs (full-check (3.11), installed-package (3.10/3.11), dashboard-browser, pr-references, Windows/macOS host-compatibility) and failed 1 unrelated test in full-check (3.10) (tests/apps/test_search_benchmarks.py::test_engine_known_timeout_settles_usage_and_releases_domain). Upstream main subsequently landed 7526f1ed (test: stabilize Ready CI Knowledge and Engine timeout checks) stabilizing both that test and tests/knowledge/test_knowledge_store.py.
  • Delta vs reviewed head bd320328: Only _compiled/_provenance.json (source_revision updated to rebased source commit ac228a998997097a53ebb15dadddbaa2883268fc) and PR body knowledge-model-policy head_sha (106e8b2770cef9e64b8ac4c7c03d4d19b12825a7). All skill, reference, doc, _compiled/inputs.json, and test files are byte-identical to bd320328.
  • Checks executed on 106e8b2770cef9e64b8ac4c7c03d4d19b12825a7:
    • Isolated fresh-venv legacy wheel install + python -I check_installed.py: passed (139 source-grounded records, 786 files).
    • Targeted pytest suite including both stabilized upstream tests (test_engine_known_timeout_settles_usage_and_releases_domain[within-budget|over-budget] and test_operations_leave_sources_evidence_and_matrices_unchanged): 178 passed (4 deselected).
    • build_skill_coverage.py --check, --searchspace-index --check, check_pr_references.py, and check_knowledge_model_policy.py --dry-run against live main (7526f1ed): passed (compliant).
  • Pending: Ready CI run approval on 106e8b2770cef9e64b8ac4c7c03d4d19b12825a7 (Run 47049750481), knowledge-model-policy status refresh, and scope acceptance on task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 (@jiangkuaixue123, @Dong1017).

@Dong1017

Dong1017 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

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 — DO NOT PASS on head e92bbb2c599ab78c8c5c8777a72122a9c6612920. The formal review is here.

Dong-bot (authorized delegate), role=review. Blockers on this head:

  1. @jiangkuaixue123 has not confirmed the candidate content scope on task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977, and the PR links no confirmation. Dong-bot does not accept the content for them.
  2. Ready CI has not run on e92bbb2c. Approval stays with the maintainers.
  3. Stage 1 alone does not meet the task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 official-atomic-wheel standard. Stage 2 must pass --atomic-generation before the slice counts as delivered.

The two PTX fixes (B from SMEM b-desc, no WGMMA fallback on SM100) are present in tcgen05-and-tmem.md. @amy-why-3459's CHANGES_REQUESTED on 396a4576 is not cleared by this review.

Details
  • Read: pr/body.md, pr/thread.md, pr/trigger-comment.md, pr/prior-reviews.md, pr/head.sha, pr/meta.json, the review-pr skill, task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977, and the head versions of SKILL.md and tcgen05-and-tmem.md.
  • Not verified: the full diff was not read end to end. No tests, wheel installs or squash simulation were run, so the author-reported results are unconfirmed here.
  • Not granted: scope acceptance, Ready CI approval, a knowledge-policy exception, merge or closure.

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO PASS
dot, acting for zengchuang-hw.

增量比较 396a4576 至 e92bbb2c,对照上轮。实际差异仍是候选 Skill 源内容、导航与 CPU 断言,未引入 Stage 2 的 atomic grant。两项 Blackwell 知识测试通过。#977 仍未记录候选内容负责人对这一范围的明确接受;现有阶段顺序不代替该决定。这轮不批准,未做 GPU 实测、实装 wheel 或统计性能验证。

原提醒。

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

回应这条提醒。收到较早的 rebase 说明和复审提醒。已按 e92bbb2c 发布正式意见;需要补的是 #977 的候选内容范围决定。本条不重复投票。

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

回应这条提醒。收到这条单独提醒。仍按本轮正式检视的结论;#977 的范围确认没有随 rebase 自动完成。

@Dong1017

Dong1017 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

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 — DO NOT PASS stands on head e92bbb2c599ab78c8c5c8777a72122a9c6612920. This mention-only comment changes no head and clears no blocker, so I am not posting a second formal review. My 14:00Z review already covers this head.

Dong-bot (authorized delegate), role=review. Still open:

  1. Candidate content scope. @jiangkuaixue123 has not confirmed reason-blackwell-kernels and its three references on #977. The latest task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 comments (to 14:20Z) record no confirmation, and this PR links none. Dong-bot does not accept the content for them.
  2. Delivery standard. task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 requires the official atomic wheel for both slices. Stage 1 alone does not meet it. The slice counts as delivered only after the Stage 2 pin to the landed main SHA passes --atomic-generation.
  3. Outstanding CHANGES_REQUESTED. @amy-why-3459's request on 396a4576 is still active. No Approve or dismissal exists on this head, and a comment from me does not clear it.

The decision on content scope and acceptance stays with @jiangkuaixue123 and @Dong1017. I record none here. Ready CI approval, knowledge-policy exceptions and merge stay with the maintainers. A re-review follows a new head or a recorded #977 scope confirmation.

Details

@qescccczmr

Copy link
Copy Markdown
Contributor Author

@amy-why-3459 @Dong1017 @zengchuang-hw @Bounty-hunter @david6666666

@Dong1017

Dong1017 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Posted by Dong-bot (review), an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Posted by Dong-bot (review), an automated agent acting on behalf of @Dong1017.

PR review verdict — DO NOT PASS stands on head e92bbb2c599ab78c8c5c8777a72122a9c6612920. This comment only lists mentions, the head has not changed, and no blocker has cleared, so I am not posting a second formal review. The 14:00Z review covers this head.

Still open:

  1. Candidate content scope. @jiangkuaixue123 has not confirmed reason-blackwell-kernels and its three references on #977. The latest task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 comment (03:27Z) is the author asking again, and this PR links no confirmation. Dong-bot does not accept the content for them.
  2. Delivery standard. task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 requires the official atomic wheel for both slices. Stage 1 alone does not meet it. The slice counts as delivered only after the Stage 2 pin to the landed main SHA passes --atomic-generation.
  3. Outstanding CHANGES_REQUESTED. @amy-why-3459's request on 396a4576 is still active. A comment from me does not clear it.

The scope decision stays with @jiangkuaixue123 and @Dong1017. I record none here. Ready CI approval, knowledge-policy exceptions and merge stay with the maintainers. For a re-review, say PTAL once the #977 confirmation is linked or a new head is pushed.

Details
  • Read: pr/body.md, pr/thread.md, pr/trigger-comment.md, pr/prior-reviews.md, pr/head.sha, pr/meta.json, the review-pr skill, and task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 (body and comments).
  • decisions.md is not present in this workspace.
  • Not verified: I did not re-read the diff in full for this reply, because the head is unchanged since the 14:00Z review. I ran no tests, wheel installs or squash simulation. The author-reported results (403 tests, simulated squash staging, --atomic-generation, Ready CI 8/8) are unconfirmed here.

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

收到本条提醒。当前仍是 已检视的 e92bbb2c。本条没有新提交或新证据,因此不重复投票;上轮意见仍适用。

Copy link
Copy Markdown
Collaborator

inferRSI, acting for @amy-why-3459.

继续 review 本次 @ 请求(评论 7402248910),增量查看 396a4576edc6218630cd5c2edfdaf525d9ea28b2..e92bbb2c599ab78c8c5c8777a72122a9c6612920。

上次的阻塞仍在:#977 上仍没有 @jiangkuaixue123 对候选内容范围(reason-blackwell-kernels 及三份参考资料)的确认;最近的维护者记录仍把该决定留在内容负责人(见 #977 评论 7409783463)。请在 #977 留下确认或修订,并在本 PR 链接该评论后再提复核。

变基到 #978 之后的 main,以及 Stage 1 源文件落地,与上次已接受的交付顺序一致,本身不清除上述阻塞。当前 head 上 Dong1017 与 zengchuang-hw 的 DO NOT PASS / NO PASS 同样指向这一未确认范围,本次不 Approve。

@qescccczmr

Copy link
Copy Markdown
Contributor Author

@jiangkuaixue123

@Dong1017
Dong1017 dismissed amy-why-3459’s stale review December 4, 2026 23:22

范围确认已由 maintainer 在 #977 记录:#977 (comment) 。此项不再作为 #979 的变更请求。

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已复核 #977 的最新范围决定:Dong 记录接受 reason-blackwell-kernels 和三份参考资料,仍是 candidate / empirical_validation: not_run。当前 PR 的实际差异只交付 Stage 1 源文件、目录和测试,没有引入 Stage 2 的原子描述或发布授权。

本轮暂不 Approve:缺当前主线合并候选的验证。 我核对了 Ready 日志:两组全量及安装检查虽通过,测的是 e92bbb2c 合入 17939c60 的树 c49dbd3。当前 main 已是 2407313d。这个 PR 会改目录生成物和 check_installed.py 的资源计数,不能沿用旧合并树的通过结果。请链接 #977 决定,同步当前 main 并重新生成目录,再补同一候选树的 Ready、隔离安装与 Stage 1 模拟 squash 暂存结果。Stage 2 仍应使用实际落地的 SHA;不需要补跑 SM100 来证明本轮范围。

Dot, acting for @amy-why-3459.

@Bounty-hunter Bounty-hunter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code agent, acting for @Bounty-hunter.

Comment only (partial check, not a formal verdict). Base 17939c60c85f01015715cb5a74a795aa77576827, head e92bbb2c599ab78c8c5c8777a72122a9c6612920.

I agree the current-main merge candidate is unverified and should be re-run before approval. I also checked whether anything on that path is actually hostile to this PR; it does not look high-risk:

  1. The drift is narrow. Of the 20 files this PR touches, the only one main also changed after the base is tests/repository/check_installed.py (commits 7b9be244, 9057189e, bc0a894f, 2407313d). skill-index.json, _compiled/inputs.json, docs/skill-coverage.md and docs/searchspace-index.json are untouched on main after 17939c60.
  2. The counts still line up. On main@2407313d, check_installed.py still asserts 138 records, 90 skill abstracts and 90 registry entries — the same values this PR bumps to 139/91/91.
  3. The staging tool changed imports only. tools/stage_release_knowledge.py differs between 17939c60 and 2407313d solely in the inferrsi.knowledge.atomic.* import paths introduced by #1063; the staging logic, including the ancestor pin check, is identical.
  4. The new test's legacy imports still resolve. tests/knowledge/test_blackwell_knowledge.py imports inferrsi.knowledge.catalog, inferrsi.knowledge.knowledge_operations and inferrsi.knowledge.skill_catalog. Those files no longer exist on main, but src/inferrsi/knowledge/__init__.py appends atomic/_compat to __path__, and each shim re-exports the relocated module, so the imports keep working.

One check-status note so it is not misread: the declarations failure at 13:37:49Z (job 144293042660) was superseded about 40 seconds later by a passing run (job 144293646123). Every current check on the head is green and knowledge-model-policy is success.

So the re-run looks like a confirmation step rather than a suspected defect — but "should pass" is not "did pass", and this PR changes staged artifact counts, so the Ready log on c49dbd3 cannot stand in for the 2407313d merge tree. Sync to current main, regenerate, and re-run Ready plus the isolated install and the Stage 1 simulated-squash staging, then ping for re-review.

Not checked: the PTX/SM100 technical content of the skill and its three references, the simulated-squash staging run itself, the wheel build, CUDA compile or device runs.

Details - Read: the PR file list and hunks for the overlapping files, `main@2407313` and its comparison against `17939c60`, `tests/repository/check_installed.py` and `tools/stage_release_knowledge.py` at both refs, `src/inferrsi/knowledge/__init__.py` and `atomic/_compat` shims under `atomic/_compat/`, and the check runs on the head. - PR state: `mergeable: true`, `mergeable_state: blocked` (required-review gate, not a conflict). - Ran no tests and made no writes.

@qescccczmr

Copy link
Copy Markdown
Contributor Author

@amy-why-3459 @Dong1017 @zengchuang-hw @Bounty-hunter @david6666666

Dong1017
Dong1017 previously approved these changes Dec 6, 2026

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Reviewed base 2db553ad6d0b32a74e4ffd9cc2406e0be46bde83 (per seed; the PR body states a rebase onto 51282aa8) and head e47e52748be1b26b2d35835141c1d9448b37761f (full diff; earlier Dong-bot review was on e92bbb2c).

Earlier blockers on this head

  1. Candidate content scope — cleared. Dong1017 recorded whole-scope acceptance of reason-blackwell-kernels and its three references (candidate / empirical_validation: not_run) in #977 comment 7426981671. status:accepted was applied afterwards. The PR body links both. That acceptance is not a PR approval, and I do not treat it as one.
  2. Delivery standard — now matches. The #977 body records the two-stage squash-safe standard: Stage 1 (canonical skill_library/ source, catalog, tests, legacy wheel checks) then Stage 2 (atoms, composition, registry, grant.json, --atomic-generation, pinned to the landed SHA). This head is Stage 1 only. The diff touches no atoms/, compositions/, skill-registry.json or .github/, so no human-maintainer grant.json approval is needed here. #977 stays open until Stage 2 lands.
  3. PTX fixes (@amy-why-3459, bd320328) — present. In references/tcgen05-and-tmem.md, matrix A may come from SMEM (a-desc) or TMEM (tmem-a), B matrix data always comes from SMEM (b-desc), and block-scale factors are budgeted in TMEM separately. The diagnostics say not to look for a Hopper WGMMA fallback, because wgmma.mma_async needs sm_90a. SKILL.md repeats this in its failure modes and its "Establish the actual contract" step.
  4. Authorship declaration. The body's knowledge-model-policy block names head_sha e47e5274… (the current head), Antigravity gemini-4-neon at xhigh, with no exception requested. That matches the admitted setting in the earlier review record. I did not re-run the checker.

What I checked in the diff

  • reason-blackwell-kernels/SKILL.md: status: candidate, empirical_validation: not_run, backend cuda, architectures sm100/sm100a, wgmma listed in excluded_mechanisms. It has applicability, refusal_point, failure_modes, validation_plan and limitations. Sources are pinned to CUDA 12.8.0 / PTX ISA 8.7 and the Blackwell Tuning Guide. It makes no performance or GPU-validation claims.
  • The three references are consistent with the skill: the 1-CTA / 2-CTA hazards, CLC with its counter-signals, and the block-scaled format table (MXFP8 and MXFP4 use UE8M0 per 32 elements; NVFP4 uses UE4M3 per 16 elements plus an optional global scale).
  • Relative links resolve by path depth: ../../../../playbooks/... in SKILL.md, ../../../../../playbooks/... in references/, and ../../../systems/... in kernel-writing-guide.
  • Cross-links in reason-hopper-kernels and kernel-writing-guide route to Blackwell. They add no Hopper claims.
  • Count updates are consistent across skill-index.json, docs/searchspace-index.json, docs/skill-coverage.md (90→91 skills, cuda 5→6, 153→154 SKILL.md), _compiled/inputs.json and the tests. check_installed.py goes 138→139 records, 90→91 skills and registry, and 783→787 resources (+4 Blackwell files). The new CLI find plus pinned read check covers SKILL.md and all three references, and compares their bytes.
  • test_blackwell_knowledge.py covers cuda-only discovery, candidate / not_run state, resource byte equality in the checkout and package views, and declared dependencies.

Not verified here (no commands run)

  • CI. Ready CI, knowledge-model-policy, ruff and the Git ≥ 2.45 snapshot tests are not confirmed for e47e5274 in the seed. The body reports them as pending. Please do not merge until the required checks are green on this exact head.
  • The author-reported 423 tests, simulated-squash staging, isolated wheel installs and sha256 values.
  • The rebuilt _compiled/ hashes, and the binary pinned-library-test-sources.zip fixture (6→8 entries). I read neither byte for byte.
  • Whether current main has moved since the PR's base. @amy-why-3459 asked on e92bbb2c for a Ready run on a tree matching current main, and the maintainers should confirm that on this head.
  • The vendor PTX details against NVIDIA documentation, beyond internal consistency with the corrected review comments. No SM100 hardware, compilation or Skill Eval was run, and none is claimed.

This review does not accept scope, grant a knowledge-policy exception, approve Ready CI, or merge. Stage 2 needs its own review, a pin to the landed main SHA, and a human-maintainer Approve on grant.json.


@Dong1017

Dong1017 commented Dec 6, 2026

Copy link
Copy Markdown
Collaborator

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 e47e52748be1b26b2d35835141c1d9448b37761f: I posted a formal Approve with LGTM (review). It covers the Stage 1 content only.

Dong-bot (review role, authorized delegate): the two earlier blockers are cleared. Whole-scope acceptance is recorded on #977, and this head matches the two-stage delivery standard in the #977 body. The PTX fixes are present in tcgen05-and-tmem.md.

Still open and not decided here:

  • Ready CI, knowledge-model-policy and ruff are not confirmed for this head in my seed, so please do not merge before the required checks are green.
  • Stage 2 (atoms, registry, grant.json, --atomic-generation) needs its own PR, review, and a human-maintainer Approve on grant.json.
  • Merge and CI approval stay with the maintainers.
Details
  • Read: pr/body.md, pr/thread.md, pr/trigger-comment.md, pr/prior-reviews.md, pr/meta.json, pr/head.sha, the full pr/diff.patch, the review-pr skill, and task: split SM90/SM100 operator SOL and Blackwell kernel knowledge from #946 #977 (body and comments).
  • The trigger comment contains only @mentions. I treated it as a review request because it mentions @Dong1017 on a head with no Dong-bot verdict.
  • Not run: tests, wheel installs, the squash simulation, and the binary fixture zip check. The author-reported results are unconfirmed here. The review lists the full limits.

Copy link
Copy Markdown
Collaborator

inferRSI, acting for @amy-why-3459.

继续 review 本次 @ 请求(评论 7453033654),增量查看 e92bbb2c599ab78c8c5c8777a72122a9c6612920..e47e52748be1b26b2d35835141c1d9448b37761f(基线是上次评论对应的 head;当前分支基于 51282aa876c203cd842f7b0ccbdf85a6d02716b2)。

上次阻塞里已解决的部分:PR 正文已链接 #977 的范围决定,与上次已复核的接受记录一致;本轮仍只交付 Stage 1,没有引入 Stage 2 的原子描述或 grant.json。已变基到 51282aa8,并在 e47e5274 按源提交 1c9a034d 重新生成 _compiled/。当前 head 上 knowledge-model-policy、declarations、pr-references 以及 installed-package(3.10 / 3.11)已通过。

仍不 Approve:上次要求的「同一候选树的 Ready」尚未完成。full-check(3.10 与 3.11)仍在 Ready run 47618268841 上运行。推送前约 3 分钟 #1103 已合入 main(2db553ad),本 head 仍基于 51282aa8;与基于 2db553ad 的文件集合相同(#1103 不触及本 PR 的知识目录与资源计数),因此不把落后 1 个无关 harness 提交当作新的内容阻塞,但 Ready 全量检查仍需在本 head 上跑完。

请在 e47e52748be1b26b2d35835141c1d9448b37761f 的 Ready full-check 通过后再次 @ 请求复核。本次不 Approve,也不 Request changes。

@Bounty-hunter Bounty-hunter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code agent, acting for @Bounty-hunter.

Comment only — partial increment check on head e47e5274. No new blocking finding in the regenerated artifacts; this is not a formal verdict.

What I checked on `e47e5274`

Base and head. Branch base 51282aa876c2, head e47e52748be1. Since my previous comment the only new commit is chore(knowledge): rebuild compiled skill catalog inputs for Blackwell, touching exactly two files: _compiled/inputs.json and _compiled/_provenance.json.

The recorded digests reproduce from the head tree. I recomputed sha256 for every file whose hash this commit changed and each matches inputs.json / _provenance.json byte for byte:

  • systems/platforms/cuda/reason-blackwell-kernels/SKILL.md → 3591f2b2…5072e2
  • …/reason-blackwell-kernels/references/block-scaled-fp4-fp8.md → d7f676ea…cf3ed0
  • …/reason-blackwell-kernels/references/clc-and-scheduling.md → e85f6879…a7b58c1
  • …/reason-blackwell-kernels/references/tcgen05-and-tmem.md → 74fc92be…42cf6b9
  • systems/platforms/cuda/reason-hopper-kernels/SKILL.md → 904f2a1c…17925e
  • playbooks/optimization/kernel-writing-guide/SKILL.md → d951ce61…cc4f9a
  • skill-index.json → 40f03f5a…8e4472e, which is also the registry.sha256 recorded in _provenance.json

Counts stay consistent. inputs.json now holds 91 entries and skill-index.json 91, matching the 139/91/91 values check_installed.py is bumped to in this same PR; reason-blackwell-kernels is present in the registry as {"path": "systems/platforms/cuda/reason-blackwell-kernels", "backend": "cuda"}.

The current-main drift is now empty in this PR's surface. main has moved once since the branch base: 51282aa876c2 → 2db553ad6d0b, one commit touching only src/inferrsi/harness/executor/_ordinary.py, harness/executor/launch_records.py, harness/manager/_attempt_recovery.py, harness/manager/_sequential_project.py and tests/harness/test_sequential_project.py. None of those five is among this PR's 21 files, and no generated knowledge artifact changed on main. The outstanding request to re-verify against current main is therefore now a CI re-run question, not a drift question.

Stage sequence. _provenance.json.source_revision is this branch's own commit 1c9a034d…, so it will not be reachable from main after the squash-merge; tools/build_skill_index.py resolves the revision with git rev-parse --verify, so regeneration from main depends on Stage 2 repinning as the PR body describes. The previous value (dcf4d15c…) was likewise not on main, so this is not a new behavior — just a reminder that the two stages stay coupled.

Not verified by me: the CI runs, the isolated install, the simulated squash staging, any GPU execution, or the wheel checks. I read the branch tree and the diff only. A formal verdict should come from someone who has the current-tree CI results in hand.

@Bounty-hunter Bounty-hunter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code agent, acting for @Bounty-hunter.

Comment only (interim, not a formal verdict). Reviewed base 2db553ad6d and head e47e52748b.

The only change since my last comment (e92bbb2c..e47e5274) is the _compiled/ rebuild, and it matches the tree:

  1. I recomputed sha256 for every entry in _compiled/inputs.json — 649 file hashes across 91 skills — against the head tree: 0 mismatches, 0 missing.
  2. The six changed hashes correspond exactly to the changed sources: the new reason-blackwell-kernels/SKILL.md and its three references, plus the cross-link edits in reason-hopper-kernels/SKILL.md and kernel-writing-guide/SKILL.md. The kernel-writing-guide hash was stale before this commit and is correct now.
  3. _compiled/_provenance.json now pins source_revision to 1c9a034d, the commit that introduced the skill content, and that commit is an ancestor of this head.
  4. Counts are internally consistent: skill-index.json holds 91 skills and 91 registry entries; tests/repository/check_installed.py asserts 139 records and 91 skill abstracts.
  5. Candidate status is preserved end to end: status: candidate and empirical_validation: not_run in the skill frontmatter, and docs/skill-coverage.md / docs/searchspace-matrix.md both render it as candidate / not_run with no GPU validation.

I also checked the one-commit lag: 51282aa8..2db553ad (#1103) touches only four src/inferrsi/harness/ files and tests/harness/test_sequential_project.py, so it does not affect this PR's knowledge directories or artifact counts.

No blocking finding on the rebuild itself. I am not recording a verdict on this head yet: installed-package (3.10, 3.11), declarations, pr-references and knowledge-model-policy are green, but Ready full-check (3.10 and 3.11) is still in progress on e47e5274. Ping for a formal re-review once it completes on this head.

Not checked: PTX/SM100 technical accuracy of the three references, the simulated-squash staging run, the wheel build, CUDA compilation or device runs.

Details - Read: `_compiled/inputs.json` and `_provenance.json`, all 91 skill trees under `skill_library/`, `skill-index.json`, `docs/skill-coverage.md`, `docs/searchspace-matrix.md`, `docs/searchspace-index.json`, `tests/repository/check_installed.py`, and commit check-runs on the head. - `mergeable: true`, `mergeable_state: blocked` (review gate). - Ran no repo tests; verified hashes locally from the head tarball.

Add candidate CUDA platform skill reason-blackwell-kernels covering SM100/SM100a tcgen05/UMMA, TMEM lifetimes and column budgets, 1-CTA vs 2-CTA cluster MMA, Cluster Launch Control scheduling, and native block-scaled FP8/NVFP4/MXFP4 contracts, with empirical_validation: not_run.

Add bidirectional cross-links in reason-hopper-kernels and kernel-writing-guide, preserve their pinned e2f3be1 historical inputs in tests/fixtures/atomic-reader/pinned-library-test-sources.zip for offline atomic tests after InferMatrixLab#1088, update skill-index.json, docs/searchspace-matrix.md, docs/skill-coverage.md, docs/searchspace-index.json, add CPU discovery/resource/count tests, and update auxiliary legacy wheel checks.

Agent-assisted-by: Antigravity / gemini-4-neon effort=xhigh (author)
Signed-off-by: qescccczmr <105876751+qescccczmr@users.noreply.github.com>
… skill

Regenerate _compiled/inputs.json and _compiled/_provenance.json against canonical Blackwell source commit 826318f.

Agent-assisted-by: Antigravity / gemini-4-neon effort=xhigh (author)
Signed-off-by: qescccczmr <105876751+qescccczmr@users.noreply.github.com>

@Bounty-hunter Bounty-hunter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code agent, acting for @Bounty-hunter.

Status note on e47e52748be1b26b2d35835141c1d9448b37761f — no verdict from me, and I did not review the knowledge content that Dong-bot and @amy-why-3459 already covered.

full-check (3.11) finished red at 06:48Z in run 47618268841: 2 failed, 10392 passed. Both failures are the same assertion at tests/box/conformance/test_structural_transactions.py:1956:

>       assert box.uninstall("p1")["code"] == "ok" and not box.isolated
E       AssertionError: assert ('in_doubt' == 'ok'

full-check (3.10) passed the same suite in the same run, and the other eight checks on this head are green. The changed set is 21 files under docs/, src/inferrsi/knowledge/data/skill_library/, tests/knowledge/, tests/apps/ and tests/repository/; it does not touch src/inferrsi/box or tests/box.

Suggestion: rerun the full-check (3.11) job before treating the red state as a content blocker, since the failing assertion is outside this slice and passed on 3.10 in the same run. If it reproduces after a rerun, the useful datum is whether it also fails on 2db553ad without this branch, which would make it a main-branch or runner issue rather than this PR's.

I read the check-run output for this head, the file list of the PR, and the stop chain (#979, #977 — no bot:stop, no stop comment). I did not re-read the skill, reference or compiled-content diffs, so this comment says nothing about their accuracy.

@Bounty-hunter Bounty-hunter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code agent, acting for @Bounty-hunter.

Comment only — increment check on the new head ca7c368ad51f. No blocking finding; this is not a formal verdict.

The head moved after my previous note (e47e5274): it is now rebased onto 2db553ad plus ca7c368, and ca7c368 changes exactly two files, _compiled/inputs.json (+14/-2) and _compiled/_provenance.json (+2/-2).

The rebuild reproduces from the head tree. I recomputed sha256 for every entry in _compiled/inputs.json: 91 skills, 653 file entries. 650 files are present in the head archive and all 650 match; the 3 remaining entries (ascend-operator-profiling/SKILL.md, ascend-operator-tuning/SKILL.md, ascendc-tiling-design/SKILL.md) are export-ignore in .gitattributes:39,41,43, so their absence from the archive is expected, not a mismatch.

Counts and provenance stay consistent. inputs.json and skill-index.json both carry 91 skills, and skill-index.json hashes to 40f03f5a…8e4472e, the registry.sha256 recorded in _provenance.json. tests/repository/check_installed.py asserts 139 records and 91 abstracts at :210,:233 and 91 registry entries at :436. _provenance.source_revision is 826318f1…, an ancestor of this head; the earlier caveat is unchanged — that revision will not be on main after a squash-merge, which the body's Stage 2 repinning handles.

Checks on this head. installed-package (3.10, 3.11), pr-references, declarations, dashboard-browser and both host-compatibility jobs are green. full-check (3.10) and full-check (3.11) are still running on ca7c368. The full-check (3.11) red I reported at 07:02Z was on e47e5274 (tests/box/conformance/test_structural_transactions.py:1956, in_doubt != ok); this head's run will show whether it recurs, so I do not treat it as a blocker here.

Please ping for a formal re-review once full-check is green on ca7c368; if the 3.11 failure reproduces I will check whether it also fails at 2db553ad without this branch.

Not checked: the knowledge content of the skill and three references (covered by Dong-bot and @amy-why-3459), the isolated wheel install, the simulated squash staging, any GPU run, and the full-check results that are still in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:knowledge Knowledge line: packs, skill library, knowledge admission

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants