| Files | Last commit | Last update |
|---|---|---|
refactor(models): Remove models directory and dependent tests. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5724 merge delete_models into master refactor(models): Remove models directory and dependent tests. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除models目录及相关内容 See merge request: cann/pypto!5724 | 2 months 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(dfx): Adapt to latest msaicerr changes Co-authored-by: meiqing2<meiqing2@hisilicon.com> # message auto-generated for no-merge-commit merge: !6237 merge mtr2 into master fix(dfx): Adapt to latest msaicerr changes Created-by: meiqing2 Commit-by: meiqing2 Merged-by: cann-robot Description: PR 应该避免没有描述信息,描述信息的最重要的作用是描述修改意图,应该清晰明了。例如:标题中包含了 fix 标签,如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性。如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后。 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!6237 | 2 months ago | |
perf(pypto_pro): avoid duplicate exception dump processing Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !7663 merge bugfix into master perf(pypto_pro): avoid duplicate exception dump processing Created-by: fafafafafa Commit-by: fa Merged-by: cann-robot Description: PR 应该避免没有描述信息,描述信息的最重要的作用是描述修改意图,应该清晰明了。例如:标题中包含了 fix 标签,如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性。如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后。 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7663 | 7 days ago | |
feat(machine): Support aic error probe & analyze Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !7165 merge aic_print into master feat(machine): Support aic error probe & analyze Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: 为 AICore error 调试链路补充 probe(printf插桩) 与 analyze(解析定位) 能力 See merge request: cann/pypto!7165 | 30 days 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 | |
feat(codegen): Emit CCE opMagic/semanticLabel debug maps for TOOLKIT Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !7086 merge ide_codegen into master feat(codegen): Emit CCE opMagic/semanticLabel debug maps for TOOLKIT Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: Codegen适配 IDE(TOOLKIT)四联动场景:在生成 CCE 源码时补充调试映射能力,向 IDE 提供 CCE 代码位置与对应 TileOp 的 opMagic、semanticLabel 之间的关系,便于在调试过程中完成 CCE 与 TileOp 语义的关联跳转。 当 CFG_COMPILE_DEBUG_MODE 为 CFG_DEBUG_ALL 时,CodeGenNPU 在 CCE 生成完成后调用 tools/scripts/gen_cce_debug_map.py,扫描 CCE 输出目录并生成 cce_opmagic_map.json 与 cce_semantic_label.json。同时 InsertOpComment 会可选追加 [semanticLabel:...] 标记,供脚本解析。 另外,在compile_debug_mode模式下将 kernel_aicore 目录的绝对路径写入 run.data(key: kernel_aicore_path), 便于 IDE / 调试工具定位 CCE 源码目录。 Changes: - 新增 tools/scripts/gen_cce_debug_map.py,从 CCE 注释构建 opMagic / semanticLabel 映射表 - 在全量调试模式下由 CodeGenNPU::GenCode 调用调试映射脚本 - 扩展 InsertOpComment,在 opMagic 旁输出 semanticLabel - 新增 KEY_KERNEL_AICORE_PATH,并在 GenCode 阶段将 kernel_aicore 路径写入 run.data - 通过 MANIFEST.in / CMakeLists.txt 打包并安装该脚本 See merge request: cann/pypto!7086 | 10 days ago | |
feat(operation|pass)Adapt pre-stage quant for Kirin9030/KirinX90 Co-authored-by: fangrui_32<fangrui30@h-partners.com> # message auto-generated for no-merge-commit merge: !7180 merge master into master feat(operation|pass)Adapt pre-stage quant for Kirin9030/KirinX90 Created-by: fangrui_32 Commit-by: fangrui_32 Merged-by: cann-robot Description: Related issues:[[Requirement|需求建议]: Adapt pre-stage quant for Kirin9030/KirinX90](https://gitcode.com/cann/pypto/issues/3663) See merge request: cann/pypto!7180 | 3 days 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 | |
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): Flush gcov data for pytest-forked subprocess coverage Co-authored-by: chengding888<chengding1@hisilicon.com> # message auto-generated for no-merge-commit merge: !6148 merge master into master fix(build): Flush gcov data for pytest-forked subprocess coverage Created-by: chengding888 Commit-by: chengding888 Merged-by: cann-robot Description: ## 背景 Python UT 通过 --forked(pytest-forked)并行执行用例,子进程以 os._exit() 退出,会跳过 atexit 钩子,导致 gcov 的 __gcov_exit 不被调用、.gcda 覆盖率数据不落盘。因此 --gcov 无法统计到由 Python UT 触发的 C++ 覆盖率(issue #2705)。 ## 解决方案 1. **python/tests/ut/conftest.py**:新增 pytest_runtest_teardown 钩子,当环境变量 PYPTO_GCOV_FLUSH=1 时手动调用 __gcov_dump(),把内存中的计数器写入 .gcda;并补充 duration_estimate 装饰器。 2. **build_ci.py**:--gcov 时注入 PYPTO_GCOV_FLUSH=1。 3. **cmake/intf.cmake**:gcov 模式追加链接选项 -Wl,--export-dynamic,-u,__gcov_dump,--whole-archive,-lgcov,--no-whole-archive。仅加 -u,__gcov_dump 时 _gcov_dump.o 不会被 lgcov.a 拉入,__gcov_dump 保持未定义,ctypes.CDLL(None) 找不到该符号,必须用 --whole-archive 强制拉入。 4. **cmake/scripts/gen_coverage.py**:lcov >= 2.0 时追加 --ignore-errors inconsistent,将 lcov 2.3.1 对 pybind11.cpp 的 mismatched end line 由 ERROR 降级为 WARNING,避免覆盖率生成失败。 5. **tools/scripts/pre_commit_check.sh**: - 修正覆盖率开关(--py_cov → --gcov)、clang 失败退出码、GTEST_FILTER 保存/恢复、覆盖率标签等; - 移除本地增量覆盖率门禁:本地 gen_coverage.py --increment 与 CI 的 get_ai_inc_cov.py(addlcov) 是两套独立实现,增量覆盖率无法保证与 CI 一致,门禁统一由 CI 兜底。 ## 验证 - bash tools/scripts/pre_commit_check.sh --full 全部通过(gnu / clang+ASan / Python / costmodel 仿真,耗时约 4779s)。 - 确认 Python UT 触发场景下 C++ 覆盖率数据(.gcda)可正常落盘并被 --gcov 统计。 Related Issue: #2705 See merge request: cann/pypto!6148 | 2 months 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 | |
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 |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 7 days ago | ||
| 30 days ago | ||
| 4 months ago | ||
| 10 days ago | ||
| 3 days ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 4 months ago |