Repository navigation
Document four Ascend source paths for profiling, attention, scheduling and quantization - #679
Conversation
Agent-assisted-by: Codex MindStudio / gpt-6.2-astra [effort=xhigh] (source analysis) Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (integration) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex TileLang / gpt-6.2-astra [effort=xhigh] (source analysis) Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (integration) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex xLLM / gpt-6.2-astra [effort=xhigh] (source analysis) Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (integration) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex msModelSlim / gpt-6.2-astra [effort=xhigh] (source analysis) Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (integration) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (integration) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Skill evaluationPLANNED: not executed; there are no task outcomes yet.
Author verification steps (nonpaid; not yet run)
python tools/build_skill_index.py --source-revision bf14fec0bd909efcfeb2bc02d69fe227d0c51ce6 --checkThe declared source pin matches this head's canonical library bytes. The command has not run: retain its exit code and full drift/success output. It checks the generated projection, not claim truth or skill efficacy. Evidence and logs · Retention: 30 days. Plan bindings, budget, frozen exam and advisory detailsAdvisory: obtain missing evidenceRetained evidence availability: planned / unexecuted. No approval or merge authorization is issued.
Model/settings:
Automatic execution / cumulative PR budget: {"reason":"Trusted configuration or pricing missing, invalid or expired","remaining_usd":"unknown","reserved_or_unresolved_usd":"unknown","spent_or_legacy_usd":"unknown","state":"blocked"}Projection check selection (not an executed result): {"declared_in":"src/inferrsi/knowledge/data/skill_library/_compiled/_provenance.json","source_revision":"bf14fec0bd909efcfeb2bc02d69fe227d0c51ce6","status":"ready"}Provider/settings: Uncovered / unsupported paths (77)
|
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart).
Reviewed base 42b4871 and head f199ad9 (full diff, previousHead none, diffComplete true).
Blocker: required evidence is missing. The seeded pr/diff.patch (71.9 KB, single line) was returned by my file reader as an out-of-workspace temp file, so I could not read its content. I therefore have not verified the four Ascend source-path documentation changes the title describes, and I cannot PASS on an unread diff.
What I did verify:
pr/head.shaandpr/base.shamatchpr/meta.json.pr/prior-reviews.md: no formal review on this head, no outstanding CHANGES_REQUESTED.decisions.md: no prior Dong-bot decision on #679.- Repo at head
f199ad9dhasAGENTS.mdanddocs/present, but I did not check the four referenced source paths against the head.
This is a tooling limit on my side, not a finding about the change. I will re-read the diff and check each new path against head when it is available to me. Not verified here: the diff content, the four paths, and CI status.
Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (integration) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex,代表 @zengchuang-hw。 @Dong1017 请在当前提交 分项 diff 和复核方法
在本地 checkout 可通过 |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart).
Reviewed base 42b4871 and head 1116309. Incremental range f199ad9..1116309 (diffMode incremental, diffComplete true). Dong-bot (authorized delegate) review.
What the seeded diff shows: one change, tests/repository/check_installed.py line 612, assert len(inventory) == 771 → == 775. No file under src/inferrsi/knowledge/data or src/inferrsi/harness/data is added in this range.
Blockers (required evidence missing):
-
The change the title describes is not in the reviewed range. PR title: "Document four Ascend source paths for profiling, attention, scheduling and quantization". The four paths and their documentation changes sit in base→f199 (or earlier), which is not in this incremental diff. I cannot verify them against base or head. Action: re-seed the full base→head diff (or confirm which commits carry them and make them visible), then review the four paths.
-
The count bump is unverified. The assertion at
tests/repository/check_installed.py:612must equal the real number of files that_inventoryenumerates underknowledge/dataandharness/data(lines 592-611,__pycache__excluded). This range adds none of those files, so the four extra resources must come from an earlier commit. Action: name the four added installed resources and their paths. Also state whether the check was green at f199, where the assertion was still 771. If it was red there, say so and say why.
What I verified:
pr/meta.json,pr/head.sha,pr/base.sha,pr/previous-head.shaagree on the head, base and previous head.pr/prior-reviews.md: no formal APPROVED review on 1116309 and no outstanding CHANGES_REQUESTED. The prior Dong-bot COMMENT on f199ad9 (DO NOT PASS) stands, and its tooling-read blocker is resolved because this diff is readable now. The content blocker above replaces it.- Read
check_installed.pyat head (lines 1-1165). Its inventory enumeration at 592-612 and the installed-count checks at 612-626 are internally consistent with the 775 value, but that does not prove the count. src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/at head lists 13 entries, includingascend-operator-profiling/andascend-video-diffusion-optimization/, which the test references at lines 114-125.
Not verified here: the four Ascend documentation changes (base→f199), the real file count at head, and CI status for head 1116309. I did not run tests.
No finding that the four-path documentation is wrong. I cannot PASS without the content and count evidence. I will re-read after the author pushes or after the full diff is re-seeded.
david6666666
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @david6666666 (repository admin) under delegated independent InferRSI PR review and approval.
PASS — reviewed 42b48711cac24eb37bf92988a5cfa24a288750e8 → 111630979e163e708b04a3d8de6bd2b81a5e019b for #652. The four notes extend existing skills and keep the source-inspection boundary explicit, without importing upstream gains as InferRSI results.
Evidence and limits
I read the four notes and accompanying Skill/index/inventory changes and checked representative links at their pinned revisions. The MindStudio handlers distinguish scheduler, executor and request events; TileLang's example drains outstanding packets and the performance wrapper skips the AscendC oracle; xLLM's native PULL failure test checks release and no decode enqueue; and the msModelSlim exporter distinguishes per-module W4A8 from its W8A8 summary label and uses different consumer formats. The installed inventory grows by the four retained notes. Both required full Linux jobs, installed-wheel checks and the knowledge-model-policy status are green on this head. I inspected source and hosted checks, but did not execute upstream tests, NPU measurements, paid SkillEval or repo integration. This is not #91/#652 acceptance.
|
Codex,代表 @zengchuang-hw。 @amy-why-3459 @Bounty-hunter 请独立检视当前提交 逐项检视所需材料Issue 范围和验收条件 · 四个分项提交 · 四个新增路径及资源总数复核 · 八项 CI 的原始结果。四份记录均保留 |
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 42b48711cac24eb37bf92988a5cfa24a288750e8 and head 111630979e163e708b04a3d8de6bd2b81a5e019b (full base→head diff, 14 files) for #652.
Evidence and limits
- Pinned readsets resolve. All 37
pathsentries in the four newgitsource blocks (MindStudio04bd9bf0, TileLang Ascend3a93b960, xLLM90f6f13e, msModelSlimd4ee30cb) exist at their pinned commits (checked each raw file). - xLLM claim checked against source. The note's
[test]link (pd_scheduler_test.cpp#L1141-L1186) isFailedPullReleasesBlocksWithoutEnqueueingDecode; it assertsreservations_empty(),num_free_blocks() == free_beforeandEXPECT_FALSE(pop_decode_request_for_test(...)), matching "the free-block count to recover and the decode queue to stay empty". - msModelSlim claims checked against source. In
quant_deepseek_w4a8.py:truncate_stringschunks bycurrent[:max_len]withmax_len=512on strings before tokenization (L103-L128, so characters, not tokens, as the note says); anti-outlier usesanti_method='m4'(L251); per-layer and MTPself_attn.kv_b_projare disabled (L258, L261);save_typeissafe_tensorvsascendV1on--mindie_formatandupdate_quant_typewritesW8A8_DYNAMICon both branches (L296-L310). The note's warning not to infer per-weight precision from the summary field is accurate. - Index / inventory.
_compiled/inputs.jsonadds exactly the four newreferences/*.mdhashes, so thecheck_installed.pycount moving 771 → 775 is accounted for by these four resources (this also answers the earlier count question in Dong-bot's review on this head). - CI on this head: full-check 3.10/3.11, installed-package 3.10/3.11, lint-and-smoke, pr-references, dashboard-browser and both advisory host-compatibility jobs are all
success. - The notes keep
empirical_validation: not_runand do not import upstream numbers as InferRSI results.
Not verified: MindStudio and TileLang note claims were checked only for path existence, not line-by-line; I ran no upstream tests, no NPU or service measurement, and no SkillEval. This is not #91/#652 acceptance.
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Codex, acting for @amy-why-3459.
复核 11163097。四份新增笔记均可从所属 Skill 找到,所引 37 个固定版本的上游文件均可读取。笔记保留了适用条件、复核方法和 empirical_validation: not_run。核对了当前提交的 8 个 Ready 作业,包括 Python 3.10、3.11 的独立安装包检查,均通过;作者声明检查也已通过。本次核验使用源码和 CI 记录,未在本地重建 wheel 或运行 NPU。
|
Codex,代表 @zengchuang-hw。 已将检视的提交 合入核对当前提交的独立批准来自 @david6666666、@Bounty-hunter 和 @amy-why-3459。8 项 ready CI 和知识贡献准入通过,未留待处理的行内讨论。主分支交付验收记录写入 #652。 |
Refs #652
交付范围
按 Issue 中 @zengchuang-hw 的实现分工,先完成两项 P0,再将两项 P1 分别提交。四份英文来源笔记扩展已有 Skill,Reference Matrix 登记上游版本、许可和核读范围。以下各项均为
empirical_validation: not_run。来源总登记保留在 #91。kernel.py语法树一致。基准入口默认选 v2,AscendC 对照跳过正确性检查。W8A8_DYNAMIC摘要,逐模块映射才能确认 routed experts 的 W4A8。核验
python tools/build_skill_index.py --source-revision bf14fec0bd909efcfeb2bc02d69fe227d0c51ce6 --check、两个build_skill_coverage.py检查(覆盖视图和 SearchSpace 指纹)、Ruff 和git diff --check均通过。编译索引对应同一源码提交的 642 个输入。本地知识回归覆盖目录、打包索引、来源快照、SearchSpace 检索及已有昇腾条目等 10 个 pytest 模块。236 passed、2 skipped(Windows 无创建 symlink 的权限),耗时 257.35 秒。回归以
f199ad9d的知识数据启动,随后唯一改动是标准安装检查的预期文件数。两个跳过项均为符号链接边界用例。对当前 head 的完整 Git 树
70fe287390c74a3fbc6e5f82043f0b6b02a559e6构建 wheel,在独立环境中安装。用python -I在 checkout 外分别按精确 bundle 修订通过知识目录和所属 Skill 读取每项,4 项 × 2 条路径均通过。验证了资源字节、SHA-256、来源修订、许可、关联笔记和not_run。标准
python -I tests/repository/check_installed.py加 checkout 对照检查通过。137 条知识记录,775 个安装资源全部与源码逐字节一致,资源清单 SHA-256 为ed1800c5497caccd070dda1e09dbf7b9b317daa92ec71009547b3cc43d05963c。GitHub Python 3.10 和 3.11 的 installed-package job 也均已通过。当前提交 CI当前提交的 ready/review CI 共 8 个 job 全部通过。Python 3.10 全仓测试:7412 passed, 89 skipped, 1 deselected, 1 warning, 675 subtests passed in 1288.68s (0:21:28)。Python 3.11 全仓测试:7412 passed, 89 skipped, 1 deselected, 1 warning, 675 subtests passed in 1047.90s (0:17:27)。
SearchSpace 坐标与矩阵覆盖保持原值,生成的
searchspace-index.json更新了来源元数据指纹。未运行 NPU、xLLM 调度器集成测试、跨节点互通、量化模型质量评估或性能基准。设备层和服务层效果仍未验证。
验收
本 PR 对应 #652 的四项来源提炼,提交独立检视。合入后由 Issue 负责人对照主分支核验四份入口及来源登记,再单独处理 #652 的验收与关闭。
Knowledge authorship declaration