| Files | Last commit | Last update |
|---|---|---|
fix(interpreter): Fix tensor dump for new ir Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5643 merge 0822_dump into master fix(interpreter): Fix tensor dump for new ir Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: 精度工具更改匹配规则,适配新ir的loop info格式 See merge request: cann/pypto!5643 | 3 months ago | |
fix(config|frontend): Refresh JIT options when global config changes Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !7567 merge fix/jit-config-refresh into master fix(config|frontend): Refresh JIT options when global config changes Created-by: nanguag Commit-by: zhaojunhan Merged-by: cann-robot Description: ## 问题 同一个 JIT kernel 在不同静态 shape 下重新编译时,可能继续使用首次创建 KernelModule 时读取的配置: - 全局 compile_monitor_enable 从 2 改为 0 后,后续编译仍输出监控信息。 - 全局 runtime_debug_mode 按 3 → 0 → 3 切换时,dump 开关未随配置变化。 ## 修改 - 每次调用 JIT kernel 时读取当前全局配置,刷新未在 @pypto.jit 中显式指定的 compile_monitor_enable 和 runtime_debug_mode;JIT 显式参数保持更高优先级。 - 将这两个配置值纳入 KernelModule 缓存键,使配置变化后创建使用新配置的模块。 - 移除三个 dump 入口对 runtime_debug_mode 首次读取结果的静态缓存。 ## 验证 使用不同静态 shape 触发重新编译: - Host DFX 用例:compile_monitor_enable 从 2 改为 0,监控输出从 178 行降为 0 行,2/2 断言通过。 - Debug DFX 用例:runtime_debug_mode 按 3 → 0 → 3 切换,三次编译分别产生 7、0、7 个 dump 文件,3/3 断言通过。 在当前测试环境中,需设置 PTO_TILE_LIB_CODE_PATH=/home/zjh/pto-isa,以使用与 PyPTO 匹配的 PTO 头文件。 ## 性能 固定 shape、复用已编译 kernel 的测量显示:刷新配置使 Python 调用路径增加约 8 µs/次;完整 NPU 调用观察到约 15 µs/次的差值,其中包含设备调度波动。 See merge request: cann/pypto!7567 | 11 days ago | |
feat(dfx): Runtime memory overlap check Co-authored-by: duanhaotian<duanhaotian@huawei.com> # message auto-generated for no-merge-commit merge: !5107 merge duanhaotian7 into master feat(dfx): Runtime memory overlap check Created-by: duanhaotian Commit-by: duanhaotian Merged-by: cann-robot Description: dump运行时各个op的读写信息以及每个op的读写范围大小并dump运行时整体内存使用情况统计,基于相关dump数据和topo序,设计内存重叠检测脚本,检测是否存在 内存重叠 See merge request: cann/pypto!5107 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 11 days ago | ||
| 3 months ago |