已开启
docs: clarify current sample layout in changelog #133
tianjun创建于 8 天前
docs: clarify current sample layout in changelog #133
已开启
合并受阻
8 天前 添加了label:cann-cla/yes
CANN-robot
8 天前 评论:
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
/approveor/lgtm- Commenting
/approveimplies 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. 👍


CANN-robot
8 天前 评论:
8 天前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


8 天前 添加了label:ci-pipeline-running
此处折叠了7条事件消息 查看更多
CANN-robot
1 天前 评论:
1 天前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


1 天前 删除了label:ci-pipeline-failed
1 天前 添加了label:ci-pipeline-running
1 天前 删除了label:ci-pipeline-running
1 天前 添加了label:ci-pipeline-failed
CANN-robot
1 天前 评论:
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 668externally-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。安装阶段即失败, 测试用例零执行。 - 修复方向(工程维护者二选一):
- runner 镜像/环境补齐 conda env
cannbot(消除 fallback 到系统 python 的路径) - 测试脚本 fallback 分支改用
python3 -m venv虚拟环境, 或 pip 安装命令追加--break-system-packages
- runner 镜像/环境补齐 conda env
由门禁失败定界分析自动生成 | repo: cannbot-dsl | run: 99f2bd35b90a4364b73dd23a1abeb63d | PR#133


CANN-robot
4 小时前 评论:
4 小时前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


4 小时前 删除了label:ci-pipeline-failed
4 小时前 添加了label:ci-pipeline-running
3 小时前 删除了label:ci-pipeline-running
3 小时前 添加了label:ci-pipeline-passed
修改
为更新日志增加 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。
验证
基于 master
81ba8619759fe1f32a633a34313e58261883e13f,源 SHA06eaf358117dfeb5d19adc11e943e070eafb171e;远端分支及 PR/commits API 回读确认一个源提交、当前无冲突。旧失败标签不代表新 SHA 的 CI 结论;本轮单次/compile后等待两套 CI 核实。Fixes #26
AI 参与
使用 OpenAI Codex 的本机模型检查冲突、准备文档修复并分析验证证据;源码、检查和 Git 操作均在 DevEnvC_mmdv8 执行。提交者账号为 Ethan_Zou。