| Files | Last commit | Last update |
|---|---|---|
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
fix(interpreter): Fix tensor dump coredump Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5380 merge 0810_dump into master fix(interpreter): Fix tensor dump coredump Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: ## 问题 开启 tensor dump 时可能 coredump。 旧地址解析走 DuppedData: - ROOT_INCAST / ROOT_OUTCAST → Incast/Outcast 地址 - 其它 → runtimeWorkspace + addrOffset 当 RuntimeWorkspace 为 0 或地址无效时,仍会 DevMemcpyS,从空/非法地址拷贝导致崩溃。该路径与 AICore 实际取址不一致。 ## 修复 1. **对齐 AICore 取址**:经 DynFuncData 解析(同 schema_trace_utils::GetTensorAddr) - LOCAL → workspaceAddr + offsetOrIndex - 否则 → rawTensorAddr[offsetOrIndex] & DUMP_RAW_TENSOR_ADDR_MASK 2. **空地址防护**:tensorAddr == 0 时跳过 dump,不再 memcpy 3. **增强日志**:#sche.dump.addr / #sche.dump.copy / #sche.dump.data,便于定位 ## 影响 - 仅影响 dump 路径,不影响正常算子执行 - 非法地址时降级为跳过 dump + 告警,避免 coredump - 若仍取到 0,需结合上述日志继续排查 DynFuncData 是否就绪 See merge request: cann/pypto!5380 | 3 months ago | |
feat(machine): Add basic data structure header for cord. Co-authored-by: Jie Yin<yinjie27@huawei.com> # message auto-generated for no-merge-commit merge: !5349 merge cord-data into master feat(machine): Add basic data structure header for cord. Created-by: yinjie27_ Commit-by: Jie Yin Merged-by: cann-robot Description: feat(machine): Add basic data structure header for cord. See merge request: cann/pypto!5349 | 3 months ago | |
fix(tests): Fix ut bug. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5018 merge pr_5013 into master fix(tests): Fix ut bug. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: ut bug 修复 See merge request: cann/pypto!5018 | 4 months ago | |
refactor(build): Replace hardcoded paths with CMake imported targets Co-authored-by: wangmingjun<wangmingjun13@huawei.com> # message auto-generated for no-merge-commit merge: !5147 merge header-deps into master refactor(build): Replace hardcoded paths with CMake imported targets Created-by: hwwangmingjun Commit-by: wangmingjun Merged-by: cann-robot Description: 为实现全量源码构建场景(issue #2573),将 CMake 构建系统中对 cann-toolkit 头文件、库文件的硬编码路径依赖(ASCEND_CANN_PACKAGE_PATH) 替换为 CMake imported targets,通过 find_cann_package 查找 acl_rt、ascend_hal、hcomm/hccl、runtime、atrace、slog 等依赖。 Changes: - 顶层 CMakeLists.txt 增加 acl_rt、ascend_hal、hcomm、hccl、runtime 的 find_cann_package 调用,并处理 hcomm_headers 别名 - cmake/device/CMakeLists.txt 增加 ascend_hal、atrace、hcomm/hccl、slog 的依赖查找 - adapter/machine/device 各 CMakeLists.txt 移除硬编码 include/link 目录,改用 target_link_libraries 引用 imported targets - c_sec 安装改用 $<TARGET_FILE> 生成表达式,头文件安装改用 $<TARGET_PROPERTY> - version.cmake 增加 runtime、hcomm 的构建依赖声明 Related Issues: #2573 See merge request: cann/pypto!5147 | 3 months ago | |
refactor(ci): Adapt common cmake build process. Co-authored-by: Feiteng Zheng<zhengfeiteng1@h-partners.com> # message auto-generated for no-merge-commit merge: !5145 merge 20260728-add-pre-package into master refactor(ci): Adapt common cmake build process. Created-by: zhengfeiteng Commit-by: Feiteng Zheng Merged-by: cann-robot Description: 适配通过cmake公共仓的build.sh拉起pypto编译,打出pypto的run包。该场景为“全量源码构建”的一个子场景。 - install命令添加COMPONENT参数,在通过cmake公共仓拉起多个子包编译时,用于区分不同子包的编译产物。 - add_pypto_device_project使用add_cann_device_project公共函数替换。 - ENABLE_UNIFIED_BUILD场景set_cann_cpack_config添加PRE_PKG参数,打包前调用pre_package.cmake脚本,打出whl包。 Related Issue: #2573 See merge request: cann/pypto!5145 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago |