| Files | Last commit | Last update |
|---|---|---|
fix(machine): fix mismatch and incomplete error descriptions in machine and misc files Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5806 merge pyptolog_fix3 into master fix(machine): fix mismatch and incomplete error descriptions in machine and misc files Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: machine 日志内容整改 See merge request: cann/pypto!5806 | 2 months ago | |
feat(pass): Enable VF fusion for ROWSUMLINE op Co-authored-by: Catherie<mayuan33@huawei.com> # message auto-generated for no-merge-commit merge: !6860 merge feat/vf-fuse-rowsumline into master feat(pass): Enable VF fusion for ROWSUMLINE op Created-by: Catherie Commit-by: Catherie Merged-by: cann-robot Description: feat(pass): Enable VF fusion for ROWSUMLINE op ROWSUMLINE 是与 ROWSUM_SINGLE / ROWMAX_SINGLE / ROWMIN_SINGLE / ROWPROD_SINGLE 同类的 AIV 行规约算子,后四者已在 SUPPORT_VF_FUSE_OPS 中,放开后 ROWSUMLINE 即可加入 VF 融合 loop 组。 VF 融合的 loop body 每次迭代只处理各 operand 的最后 2 维切片,因此 ROWSUMLINE 仅当 reduce 轴落在最后 2 维内时可融合;若 reduce 轴位于 leading 维,规约需要跨迭代累加,融合后结果是错的。对可融合情形,现有 TRowSumLine tile 模板天然兼容 2 维 loop 张量(axis 归一化到 5 维坐标系下恒为 3),无需修改模板。 变更内容: - SUPPORT_VF_FUSE_OPS 中增加 Opcode::OP_ROWSUMLINE,使 ROWSUMLINE 可编入 VF 融合 loop 组 - 注册 loop body tensor 时跳过 ROWSUMLINE 复用的 tmp buffer(ID1),与 _SINGLE 系列 reduce 算子保持一致 - LoopaxesProc 中按 reduce 轴做编组门控:携带 reduce AXIS 属性的算子,仅当轴落在输入 tensor 最后 2 维内时才允许加入 VF 组,否则断组走原有全维生成路径 ## 附带修复:ASan UTest 退出阶段崩溃 ### 问题描述 现象:ASan UT(Cpp-Clang-1x/2x/3x)所有用例 [ PASSED ],但每个进程在退出阶段崩溃,CI 失败: text Tracer caught signal 11: addr=0x43xxx ==xxxx==LeakSanitizer has encountered a fatal error. → 进程退出码 1 根因链(CANN 库 × 进程退出时序): text 每个 UT 进程 ├─ 静态初始化:两条路径 dlopen CANN 库 │ ① REGISTER_BACKEND_OP → BackendCCE → CreateSoC → CannRuntime → libruntime.so │ ② platform 查询 → CannHostRuntime → libprofapi/libruntime/libascendcl │ └─ 退出(glibc atexit 按注册逆序执行): ① TU 静态析构 + _dl_fini(运行所有已加载 .so 的析构,含 CANN 库) ← 先执行 ② LeakSanitizer 退出检查(ASan preinit 期注册,最后执行) ← 后执行 └─ CANN 库在退出链遗留的失效状态(线程/TLS)→ tracer SIGSEGV 触发源为 CI 环境 nightly CANN 包内容变化。无 NPU 构建机上 SoC 查询本就恒定失败并回退默认值,这两条加载路径在 UT 中属无收益的风险源。 ### 修改逻辑 思路:UTest 构建下双端均不加载 CANN 运行时(编译期裁剪),非 UTest 构建行为不变。 | 提交 | 文件 | 改动 | 作用 | |---|---|---|---| | edde29027 | cann_runtime.cpp | 构造函数加载逻辑包进 #ifdef BUILD_WITH_CANN | 堵路径①:tile_fwk_interface 在 UTest 构建本就不定义该宏(interface/CMakeLists.txt 既有设计),原代码未判断宏、无条件 dlopen,补上判断即编译期裁剪 | | 8e18b71b1 | cann_host_runtime/CMakeLists.txt | BUILD_WITH_CANN 定义加 NOT ENABLE_UTEST 条件 | 堵路径②:源码本有 #ifdef BUILD_WITH_CANN,但该目标无条件定义宏,UT 构建仍会加载;对齐 adapter 既有门控模式 | | 27a8ae3c8 | executable.py | 枚举失败时打印被捕获的子进程 stdout/stderr | 纯诊断:此前 check=True 子进程失败时输出被吞,CI 日志看不到真实报错 | 为什么两条都要堵:只堵单边会被另一条路径复活——此前仅门控 CannRuntime 的版本,1x/2x/3x 仍复现退出崩溃(CannHostRuntime 路径存活)。 行为影响:UTest 构建 = 不加载 + 走默认规格(与无 NPU 构建机现状等价);非 UTest 且 BUILD_WITH_CANN=ON = 加载照旧;BUILD_WITH_CANN=OFF = 原先也是加载失败回退默认值,仅少两条告警。 ## 验证 pypto-gym mhc_sinkhorn / mhc_pre 全部用例通过(同时覆盖可融合的 row_sum 与不可融合的 col_sum 场景,含 bs8/bs64/bs128/bs1024 的 golden 精度对比),pypto ST 用例回归通过。 Related Issues: cann/pypto#3550 See merge request: cann/pypto!6860 | 1 month ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
fix(build_ci): auto-derive job_num from CPU count and cgroup memory Co-authored-by: chen_chenn<chenchen167@huawei.com> # message auto-generated for no-merge-commit merge: !5721 merge fix_build_ci_job_num into master fix(build_ci): auto-derive job_num from CPU count and cgroup memory Created-by: chen_chenn Commit-by: chen_chenn Merged-by: cann-robot Description: 修复 1. build_ci默认并发度过高导致高核低内存环境编译OOM 2. [文档] 编译(pip install .)未说明内存/并行度要求,默认并行在 32Gi 内存仍 OOM(exit 137) See merge request: cann/pypto!5721 | 3 months ago | |
fix(build_ci): auto-derive job_num from CPU count and cgroup memory Co-authored-by: chen_chenn<chenchen167@huawei.com> # message auto-generated for no-merge-commit merge: !5721 merge fix_build_ci_job_num into master fix(build_ci): auto-derive job_num from CPU count and cgroup memory Created-by: chen_chenn Commit-by: chen_chenn Merged-by: cann-robot Description: 修复 1. build_ci默认并发度过高导致高核低内存环境编译OOM 2. [文档] 编译(pip install .)未说明内存/并行度要求,默认并行在 32Gi 内存仍 OOM(exit 137) See merge request: cann/pypto!5721 | 3 months ago | |
feat(machine): Support offline compilation and packaging Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4974 merge jd into master feat(machine): Support offline compilation and packaging Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 支持离线打包二进制 See merge request: cann/pypto!4974 | 3 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago | |
fix(machine): fix mismatch and incomplete error descriptions in machine and misc files Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5806 merge pyptolog_fix3 into master fix(machine): fix mismatch and incomplete error descriptions in machine and misc files Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: machine 日志内容整改 See merge request: cann/pypto!5806 | 2 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago | |
fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago |