已开启
docs: clarify current sample layout in changelog #133
docs: clarify current sample layout in changelog #133
已开启
tianjun创建于 8 天前
tianjun
8 天前

修改

为更新日志增加 2026-09-30 的样例与 0.7.0 版本说明,并说明 flash_kda_metadata 已并入 samples/flash_kda/、fused_recurrent_kda_snapshot 独立目录已移除;保留 9 月 15 日历史条目。

基于最新 master,保留上游同日期的 attn_epilogue 新特性条目及全部历史日志,把本 PR 原说明合并进既有 9 月 30 日标题,不重复日期标题。范围仍只有 CHANGELOG.md。

验证

  • 与最新 README 和 Git tree 核对 0.7.0 版本、六个列举的样例目录、QLI/QSLI 入口、metadata 脚本实际位置及两个已撤并目录的缺席。
  • 原 PR 的说明文本和上游全部非空日志行均保留。
  • diff --check 通过;当前 pre-commit 适用检查全部通过,无适用文件的检查为 skip。OAT 实际扫描一个改动文件并通过。未修改已有 deprecated stage 配置。
  • 完整改动文档无个人版权声明,未添加或改写版权/许可证。
  • 仅远端 Host 静态文档及目录检查,未执行算子、NPU、精度或性能测试。

基于 master 81ba8619759fe1f32a633a34313e58261883e13f,源 SHA 06eaf358117dfeb5d19adc11e943e070eafb171e;远端分支及 PR/commits API 回读确认一个源提交、当前无冲突。旧失败标签不代表新 SHA 的 CI 结论;本轮单次 /compile 后等待两套 CI 核实。

Fixes #26

AI 参与

使用 OpenAI Codex 的本机模型检查冲突、准备文档修复并分析验证证据;源码、检查和 Git 操作均在 DevEnvC_mmdv8 执行。提交者账号为 Ethan_Zou。

likedislike
合并受阻
Ttianjun
8 天前 创建了 pull request,commit 4672a0b0
Ttianjun
8 天前 关联了issue:[Documentation|文档反馈] CHANGELOG 未记录 9 月 30 日的当前样例目录状态
CANN-robotCANN-robot成员
8 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
8 天前 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)

Module Approval Details

module lgtm status approve status
repo-cann/cannbot-dsl ❌ (0/2)(You can also ask: 陈振宇, 刘佳玮, 沈敏, 陆玲辉, 金炯) ❌ (0/1)(You can also ask: 沈敏, liujun2025, yang-jiwei, 陈振宇, 刘佳玮)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

Ethan_Zou, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
tianjun
8 天前 评论:

/compile

likedislike
Ttianjun
8 天前 预合并成功(commit_id: 71081634ba5aa3bc4a13d4f53ce7846e0c73bde5)
CANN-robot
CANN-robot成员
8 天前 评论:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robot成员
8 天前 添加了label:ci-pipeline-running
此处折叠了7条事件消息 查看更多
Ttianjun
1 天前 修改了pull request 的描述
tianjun
1 天前 评论:

/compile

likedislike
Ttianjun
1 天前 预合并成功(commit_id: 75da0b198a08d05d9eec982b85ebef2d1e852fbb)
CANN-robot
CANN-robot成员
1 天前 评论:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robot成员
1 天前 删除了label:ci-pipeline-failed
CANN-robotCANN-robot成员
1 天前 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
1 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
1 天前 添加了label:ci-pipeline-failed
CANN-robot
CANN-robot成员
1 天前 评论:

流水线分析报告 — cannbot-dsl run#430

流水线: https://gitcode.com/CANN/cannbot-dsl/actions/runs/99f2bd35b90a4364b73dd23a1abeb63d | PR#133 | 2026-10-09 19:35:45 ~ 19:41:23 | 失败 Job 2 个

定界结论: 工程问题 / 配置错误 — cannbotdsl wheel 安装被 PEP 668 拦截
  • 失败类型: 工程问题(CI 环境配置, 与 PR 代码变更无关)
  • 根因: 测试 Job 期望的 conda 环境 cannbot 不存在, 脚本回退到系统 python3.12 后, pip install 本地 wheel 被 PEP 668 externally-managed-environment 拦截, 测试未执行即退出(exit 1)
  • 处置建议: 转 CI/工程维护者: ① runner 环境补齐 conda env cannbot; 或 ② 测试脚本 fallback 到系统 python 时改用 venv / pip 加 --break-system-packages
  • 排除项: 非 PR 提交者代码问题(失败发生在环境准备阶段, 任何测试用例都未执行); 属确定性失败, 重试无法恢复

失败根因分析

根因 #1: 工程问题 / 配置错误 — wheel 安装被 PEP 668 externally-managed-environment 拦截
  • 影响 Job: Test(JOB_test_cpu_0) 与 Test(JOB_test_npu_0) — 两 Job 同因, 各 14s 失败
  • 定位步骤: 3_run_tests.log
  • 根因证据(日志原文):
[WARN] conda env 'cannbot' not found, using default python
[INFO] installing local cannbotdsl wheel: /opt/cannbot-dsl/whl/20260817_141417/cannbotdsl-0.3.dev126+gfd7852302-cp312-cp312-linux_x86_64.whl
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
note: If you believe this is a mistake, ... you can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
[ERROR] failed to install cannbotdsl wheel: /opt/cannbot-dsl/whl/20260817_141417/cannbotdsl-0.3.dev126+gfd7852302-cp312-cp312-linux_x86_64.whl
::error::Process exited with code 1
  • 因果链: 测试脚本预期 conda env cannbot(WARN: not found) → 回退系统 python3.12(受 PEP 668 管控) → pip 系统级安装本地 wheel 被拦截 → exit 1。安装阶段即失败, 测试用例零执行。
  • 修复方向(工程维护者二选一):
    1. runner 镜像/环境补齐 conda env cannbot(消除 fallback 到系统 python 的路径)
    2. 测试脚本 fallback 分支改用 python3 -m venv 虚拟环境, 或 pip 安装命令追加 --break-system-packages

由门禁失败定界分析自动生成 | repo: cannbot-dsl | run: 99f2bd35b90a4364b73dd23a1abeb63d | PR#133

likedislike
tianjun
4 小时前 评论:

compile

likedislike
Ttianjun
4 小时前 预合并成功(commit_id: 5f8bd7b06166d455ea929fbc4d81e11e620534af)
CANN-robot
CANN-robot成员
4 小时前 评论:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robot成员
4 小时前 删除了label:ci-pipeline-failed
CANN-robotCANN-robot成员
4 小时前 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
3 小时前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3 小时前 添加了label:ci-pipeline-passed