Skip to content

Document four Ascend source paths for profiling, attention, scheduling and quantization - #679

Merged
zengchuang-hw merged 6 commits into
mainfrom
knowledge/ascend-source-intake
Nov 25, 2026
Merged

zengchuang-hw merged 6 commits into
mainfrom
knowledge/ascend-source-intake

Conversation

@zengchuang-hw

@zengchuang-hw zengchuang-hw commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Refs #652

交付范围

按 Issue 中 @zengchuang-hw 的实现分工,先完成两项 P0,再将两项 P1 分别提交。四份英文来源笔记扩展已有 Skill,Reference Matrix 登记上游版本、许可和核读范围。以下各项均为 empirical_validation: not_run。来源总登记保留在 #91。

优先级及固定来源 核读与复核要点 可在知识库中读取的材料
P0 · MindStudio Service Profiler 10 个文件。把请求、调度队列、KV 和执行事件对应到具体 handler,核对异步完成和采集开销。部分 hook 同步 NPU 流,计算与 HCCL 耗时需要对齐的设备轨迹。源码与文档分别适用 MulanPSL-2.0 和 CC BY 4.0。 服务归因
P0 · TileLang Ascend 0.1.4 9 个文件。追踪 Cube/Vector 的生产者、最后一次读、缓冲复用和流水排空。运行上游预处理器,生成结果与发布的 kernel.py 语法树一致。基准入口默认选 v2,AscendC 对照跳过正确性检查。 FlashAttention 流水
P1 · xLLM 0.12.0 11 个文件。从调度器选择、prefill token 预算追到 decode 的目标块预留与 native PULL。核读传输失败测试中的块回收与禁止入队断言,区分前缀命中和先前分块的计算。 P/D 交接
P1 · msModelSlim 7 个文件。逐项对照 DeepSeek-V3.1 的 FP8/BF16 输入、两组数据、模块精度和 MindIE/vLLM 导出分支。两条分支均写入 W8A8_DYNAMIC 摘要,逐模块映射才能确认 routed experts 的 W4A8。 DeepSeek 混合精度导出

核验

  • 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

{
  "schema_version": 1,
  "head_sha": "111630979e163e708b04a3d8de6bd2b81a5e019b",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Codex",
      "model_id": "gpt-6.2-astra",
      "effort": "xhigh",
      "role": "author"
    },
    {
      "tool": "Codex MindStudio",
      "model_id": "gpt-6.2-astra",
      "effort": "xhigh",
      "role": "author"
    },
    {
      "tool": "Codex TileLang",
      "model_id": "gpt-6.2-astra",
      "effort": "xhigh",
      "role": "author"
    },
    {
      "tool": "Codex xLLM",
      "model_id": "gpt-6.2-astra",
      "effort": "xhigh",
      "role": "author"
    },
    {
      "tool": "Codex msModelSlim",
      "model_id": "gpt-6.2-astra",
      "effort": "xhigh",
      "role": "author"
    }
  ]
}

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>
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Skill evaluation

PLANNED: not executed; there are no task outcomes yet.
No approval, model efficacy or current-head test result is implied.

  • Next: run the pinned source/index --check below at head 111630979e163e708b04a3d8de6bd2b81a5e019b.
  • Task selection: no supported automatic comparison; choose a relevant source/content check and disposition uncovered claims.
  • Selected comparisons: 0 · Estimated task calls: 0. Uncovered/unsupported changes: 77; Canonical library paths: 8; Generated projection paths: 2; Other paths: 67. These are paths, not independent claims.
  • Return: command, input/source pin, exit status, outputs/failures and untested claims for independent verified/refuted/unverified disposition.
Author verification steps (nonpaid; not yet run)
  1. Bind the checkout. Run git rev-parse HEAD; it must equal 111630979e163e708b04a3d8de6bd2b81a5e019b. If it differs, obtain a current plan; do not reuse old results.
  2. Check source/index consistency. At that PR checkout, using the reviewed repository tool and its documented development dependencies, run:
python tools/build_skill_index.py --source-revision bf14fec0bd909efcfeb2bc02d69fe227d0c51ce6 --check

The 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.
No supported automatic comparison is selected. Review the canonical changes and explain which claims need evidence, are unaffected, or remain unverified; do not treat generated records as separate behavioral claims.
Uncovered scope by location: Canonical library paths: 8; Generated projection paths: 2; Other paths: 67. Path counts are not claim counts; no metadata-only conclusion is inferred.
3. Return evidence for independent review: head, check/task/source pin, command, environment, exit status, outputs/failures and untested claims. Label scripted controls. Request each claim's disposition: verified, refuted or unverified; this plan proves neither model provenance nor benefit.
Check recipes and evidence limits

Evidence and logs · Retention: 30 days.
Retained artifacts are verifiable only before Unix time 1798188160 while the linked artifact is available. Expired evidence is unverified.

Plan bindings, budget, frozen exam and advisory details

Advisory: obtain missing evidence

Retained evidence availability: planned / unexecuted. No approval or merge authorization is issued.
Applicable only while these revisions and inputs match the current PR.
Paid execution requires trusted label authorization and cumulative PR reservation. Unknown accounting blocks new paid calls; planning is not execution.
Pipeline evidence only; offline fixed outputs do not establish skill efficacy.
Unchanged-correct is valid neutral evidence, not incremental benefit.
Content/source review and authorship admission remain separate.
Trusted regrading checks retained answers, not model/hardware provenance or a hostile executor; this is not an efficacy certification.

  • Retained evidence is planned / unexecuted.
  • No supported comparison cases were selected.
  • Uncovered/unsupported scope needs a case or explicit reviewer disposition.
    Plan SHA-256: ce9789ab81f18906c1572476b6dc72da35b849178d5a0e0355d3c3785b4935fc
    Base: 42b48711cac24eb37bf92988a5cfa24a288750e8 · Head: 111630979e163e708b04a3d8de6bd2b81a5e019b
    Trusted implementation: 42b48711cac24eb37bf92988a5cfa24a288750e8

Model/settings: {"effort":"not_applicable","name":"claude-opus-5-5"}
Budget: {"comparisons":0,"estimated_calls":0,"limits_per_comparison":{"campaign_seconds":600,"max_task_calls":2,"repeats":1,"timeout_seconds":180,"token_stop_new_trials":200000},"provider_config_sha256":"b28d80f8194fbe0f5a9f01515efb24b218979fd45f702776560da276f4b30d04","reservation":null}

Skill Comparison Cases Estimated calls

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: {"client":{"api_version":"2023-06-01","endpoint":"https://yibuapi.com/v1/messages","kind":"anthropic-messages-full-context-v1","max_output_tokens":4096,"max_read_bytes":32768,"max_request_bytes":262144,"max_requests":1,"max_tool_calls":12,"provider":"yibuapi"},"limits":{"token_stop_new_trials":200000},"model":{"effort":"not_applicable","name":"claude-opus-5-5"},"pricing":{"currency":"USD","expires_at":1793271228,"group":"default","max_input_tokens":1000000,"model":"claude-opus-5-5","rate_evidence":"https://github.com/InferMatrixLab/InferRSI/issues/215#issuecomment-6467531341","rates":{"cache_read":"0.4","cache_write":"10","input":"8","output":"40"},"request_fee":"0","unit":"per_million_tokens"},"spend_limit":{"amount":"200","currency":"USD"}}

Uncovered / unsupported paths (77)
  • uncovered: "AGENTS.md"
  • uncovered: "CHANGELOG.md"
  • uncovered: "README.md"
  • uncovered: "docs/README.md"
  • uncovered: "docs/apps-module-migrations.json"
  • uncovered: "docs/architecture.md"
  • uncovered: "docs/contracts/current-design.md"
  • uncovered: "docs/contracts/gate-policy-runstore-and-first-prs.md"
  • uncovered: "docs/contributing.md"
  • uncovered: "docs/dashboard/campaign-summary-chart.md"
  • uncovered: "docs/field-notes/realtime-venus-vllm-omni.md"
  • uncovered: "docs/guides/apps-output.md"
  • uncovered: "docs/guides/goal-checkpoints.md"
  • uncovered: "docs/guides/harness-improvement.md"
  • uncovered: "docs/guides/knowledge/external-channels.md"
  • uncovered: "docs/guides/knowledge/knowledge-layout.md"
  • uncovered: "docs/guides/knowledge/knowledge-retrieval-trace.md"
  • uncovered: "docs/guides/module-layout.md"
  • uncovered: "docs/guides/operations.md"
  • uncovered: "docs/guides/skill-evaluation/README.md"
  • uncovered: "docs/guides/skill-evaluation/local-skill-evaluation.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-budget-core.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-cloud-replay.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-comparison.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-daily-admission.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-deployment-215.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-full-context.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-generation-only.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-historical-job.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-quarantine.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-reviewer-qualification.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-yibuapi-preflight.md"
  • uncovered: "docs/guides/speculative-search.md"
  • uncovered: "docs/guides/task-input.md"
  • uncovered: "docs/module-layout.md"
  • uncovered: "docs/operations.md"
  • uncovered: "docs/quickstart.md"
  • uncovered: "docs/realtime-venus-vllm-omni.md"
  • uncovered: "docs/reference-matrix.md"
  • uncovered: "docs/reviews/issue148-flare-source-distillation.md"
  • uncovered: "docs/searchspace-index.json"
  • uncovered: "docs/skill-coverage.md"
  • uncovered: "docs/skill-eval-deployment-215.md"
  • uncovered: "docs/skill-eval-historical-job.md"
  • uncovered: "docs/skill-eval-pr.md"
  • uncovered: "docs/skill-evaluation/README.md"
  • uncovered: "docs/skill-evaluation/local-skill-evaluation.md"
  • uncovered: "docs/skill-evaluation/skill-eval-budget-core.md"
  • uncovered: "docs/skill-evaluation/skill-eval-cloud-replay.md"
  • uncovered: "docs/skill-evaluation/skill-eval-comparison.md"
  • uncovered: "docs/skill-evaluation/skill-eval-daily-admission.md"
  • uncovered: "docs/skill-evaluation/skill-eval-deployment-215.md"
  • uncovered: "docs/skill-evaluation/skill-eval-full-context.md"
  • uncovered: "docs/skill-evaluation/skill-eval-generation-only.md"
  • uncovered: "docs/skill-evaluation/skill-eval-historical-job.md"
  • uncovered: "docs/skill-evaluation/skill-eval-quarantine.md"
  • uncovered: "docs/skill-evaluation/skill-eval-reviewer-qualification.md"
  • uncovered: "docs/skill-evaluation/skill-eval-yibuapi-preflight.md"
  • uncovered: "docs/speculative-search.md"
  • uncovered: "src/inferrsi/harness/README.md"
  • uncovered: "src/inferrsi/harness/search_tree.py"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/_compiled/_provenance.json"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/_compiled/inputs.json"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/playbooks/measurement/performance-ceiling-analysis/SKILL.md"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/playbooks/measurement/performance-ceiling-analysis/references/xllm-pd-handoff.md"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/ascend-model-adaptation/SKILL.md"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/ascend-model-adaptation/references/msmodelslim-deepseek-w4a8.md"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/ascend-operator-tuning/SKILL.md"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/ascend-operator-tuning/references/tilelang-ascend-flash-attention.md"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/ascend-performance-analysis/SKILL.md"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/systems/platforms/ascend/ascend-performance-analysis/references/mindstudio-service-attribution.md"
  • uncovered: "tests/fixtures/skill-comparison/report-example.md"
  • uncovered: "tests/repository/check_installed.py"
  • uncovered: "tests/repository/test_architecture_closed_loop.py"
  • uncovered: "tests/repository/test_pr_references.py"
  • uncovered: "tests/repository/test_target_module_import_gate.py"
  • uncovered: "tools/check_pr_references.py"

@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).

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.sha and pr/base.sha match pr/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 f199ad9d has AGENTS.md and docs/ 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>

Copy link
Copy Markdown
Contributor Author

Codex,代表 @zengchuang-hw。

@Dong1017 请在当前提交 11163097 复核。上次检视 提到整份补丁超出读取限制,以下四个提交可分别打开,每个仅含一个来源的知识笔记、所属 Skill 和矩阵改动。

分项 diff 和复核方法

在本地 checkout 可通过 git diff 42b48711cac24eb37bf92988a5cfa24a288750e8...111630979e163e708b04a3d8de6bd2b81a5e019b -- <path> 逐文件查看变动。PR 正文也链接到当前提交上的四份材料,每份都给出了上游固定版本和复核位置。

@Dong1017 Dong1017 added kind:docs Documentation and template delivery area:knowledge Knowledge line: packs, skill library, knowledge admission labels Nov 25, 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.

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):

  1. 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.

  2. The count bump is unverified. The assertion at tests/repository/check_installed.py:612 must equal the real number of files that _inventory enumerates under knowledge/data and harness/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.sha agree 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.py at 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, including ascend-operator-profiling/ and ascend-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.


Copy link
Copy Markdown
Contributor Author

Codex,代表 @zengchuang-hw。

@Dong1017 对当前 head 的检视 提到的两个问题已复核。f199ad9d 的标准安装检查在本地确实失败:wheel 已包含 775 个资源,断言仍要求 771。11163097 更新该断言后,在独立安装中逐文件比较,775 个资源均与 checkout 的字节一致。当前 head 的 Python 3.10 安装检查 和 Python 3.11 安装检查 均通过。

完整 base → head 的四个新增路径和逐文件复核入口

完整 GitHub compare · 机器可读的完整文件清单。前一个增量从 f199ad9d 开始,只包含安装断言改动。以实际 PR base 对比 head,status=added 恰好返回下列四个文件。以下链接直接给出当前 head 的完整内容。

本地复核可运行 git diff --name-status --diff-filter=A 42b48711cac24eb37bf92988a5cfa24a288750e8...111630979e163e708b04a3d8de6bd2b81a5e019b -- src/inferrsi/knowledge/data src/inferrsi/harness/data。独立安装检查同时核对了两个数据根目录的所有文件名和 SHA-256,清单 SHA-256 为 ed1800c5497caccd070dda1e09dbf7b9b317daa92ec71009547b3cc43d05963c;此前的 771 个文件加上表中四项即为 775。

@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.

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.

Copy link
Copy Markdown
Contributor Author

Codex,代表 @zengchuang-hw。

@amy-why-3459 @Bounty-hunter 请独立检视当前提交 111630979e163e708b04a3d8de6bd2b81a5e019b。变更属于昇腾知识来源提炼,其中四份新资源需要能从安装包按固定版本读取。请核对来源和安装证据,通过可直接 Approve;有具体问题请指出对应条目或测试。

逐项检视所需材料

Issue 范围和验收条件 · 四个分项提交 · 四个新增路径及资源总数复核 · 八项 CI 的原始结果。四份记录均保留 empirical_validation: not_run。

@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.

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 paths entries in the four new git source blocks (MindStudio 04bd9bf0, TileLang Ascend 3a93b960, xLLM 90f6f13e, msModelSlim d4ee30cb) 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) is FailedPullReleasesBlocksWithoutEnqueueingDecode; it asserts reservations_empty(), num_free_blocks() == free_before and EXPECT_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_strings chunks by current[:max_len] with max_len=512 on strings before tokenization (L103-L128, so characters, not tokens, as the note says); anti-outlier uses anti_method='m4' (L251); per-layer and MTP self_attn.kv_b_proj are disabled (L258, L261); save_type is safe_tensor vs ascendV1 on --mindie_format and update_quant_type writes W8A8_DYNAMIC on both branches (L296-L310). The note's warning not to infer per-weight precision from the summary field is accurate.
  • Index / inventory. _compiled/inputs.json adds exactly the four new references/*.md hashes, so the check_installed.py count 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_run and 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 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.

LGTM
Codex, acting for @amy-why-3459.

复核 11163097。四份新增笔记均可从所属 Skill 找到,所引 37 个固定版本的上游文件均可读取。笔记保留了适用条件、复核方法和 empirical_validation: not_run。核对了当前提交的 8 个 Ready 作业,包括 Python 3.10、3.11 的独立安装包检查,均通过;作者声明检查也已通过。本次核验使用源码和 CI 记录,未在本地重建 wheel 或运行 NPU。

@zengchuang-hw
zengchuang-hw merged commit 9ba0cef into main Nov 25, 2026
23 checks passed

Copy link
Copy Markdown
Contributor Author

Codex,代表 @zengchuang-hw。

已将检视的提交 11163097 squash 合入 main,合入提交为 9ba0cef1。

合入核对

当前提交的独立批准来自 @david6666666、@Bounty-hunter 和 @amy-why-3459。8 项 ready CI 和知识贡献准入通过,未留待处理的行内讨论。主分支交付验收记录写入 #652。

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 kind:docs Documentation and template delivery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants