| Files | Last commit | Last update |
|---|---|---|
perf(machine): Host ctrl-flow / stitch hot-path opts for 9.2.0 Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> Co-authored-by: songyangyang18<songyangyang18@huawei.com> # message auto-generated for no-merge-commit merge: !7305 merge optimize/ctrlflow-host-perf-920-v2 into 9.2.0 perf(machine): Host ctrl-flow / stitch hot-path opts for 9.2.0 Created-by: LordOfMysteries Commit-by: LordOfMysteries;songyangyang18 Merged-by: cann-robot Description: ## Summary 将 master 上已落地的三笔 host ctrl-flow / stitch 热路径优化合入 9.2.0: 1. **#7244** fix(machine): Compile out host DEV_VERBOSE_ when ENABLE_COMPILE_VERBOSE_LOG=0 host 侧 DEV_VERBOSE_* 与 device 对齐,用 DEV_IF_VERBOSE_LOG 编译期剔除,避免 CF 录制时假热。 2. **perf(machine): Skip unused ctrl-flow cache payload memset** CreateHostCtrlFlowCache 不再整页 memset ~100MB;只清元数据前缀,payload 在 AllocateCache 按块清零。 3. **perf(machine): Gate host stitch verify/dump behind VERIFY mode** 默认跳过 CheckStitch / topo dump;仅 runtime_debug_mode=VERIFY 时开启。对外门控直接使用 topo_dump::DumpEnabled()。 ## Test plan - [ ] 相关 machine UT / emulation launcher 编译通过 - [ ] 默认路径:ctrl-flow cache 构建无整块 100MB memset,stitch 热路径不跑 verify dump - [ ] runtime_debug_mode=3:topo dump / CheckStitch 仍可工作 - [ ] Engram / 典型算子上板精度与功能回归   See merge request: cann/pypto!7305 | 25 days ago | |
refactor(all): Remove trailing whitespace Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2188 merge pre-commit into master refactor(all): Remove trailing whitespace Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Introduce pre-commit tools, and remove trailing white space with default plugin Related Issue: #1017 See merge request: cann/pypto!2188 | 7 months ago | |
fix(machine): Fix security risks Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !2467 merge os into master fix(machine): Fix security risks Created-by: W4termy Commit-by: W4termy 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 规范](https://gitcode.com/cann/pypto/blob/master/docs/contribute/pull-request.md#commit-message) See merge request: cann/pypto!2467 | 7 months 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 | |
perf(machine): Host ctrl-flow / stitch hot-path opts for 9.2.0 Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> Co-authored-by: songyangyang18<songyangyang18@huawei.com> # message auto-generated for no-merge-commit merge: !7305 merge optimize/ctrlflow-host-perf-920-v2 into 9.2.0 perf(machine): Host ctrl-flow / stitch hot-path opts for 9.2.0 Created-by: LordOfMysteries Commit-by: LordOfMysteries;songyangyang18 Merged-by: cann-robot Description: ## Summary 将 master 上已落地的三笔 host ctrl-flow / stitch 热路径优化合入 9.2.0: 1. **#7244** fix(machine): Compile out host DEV_VERBOSE_ when ENABLE_COMPILE_VERBOSE_LOG=0 host 侧 DEV_VERBOSE_* 与 device 对齐,用 DEV_IF_VERBOSE_LOG 编译期剔除,避免 CF 录制时假热。 2. **perf(machine): Skip unused ctrl-flow cache payload memset** CreateHostCtrlFlowCache 不再整页 memset ~100MB;只清元数据前缀,payload 在 AllocateCache 按块清零。 3. **perf(machine): Gate host stitch verify/dump behind VERIFY mode** 默认跳过 CheckStitch / topo dump;仅 runtime_debug_mode=VERIFY 时开启。对外门控直接使用 topo_dump::DumpEnabled()。 ## Test plan - [ ] 相关 machine UT / emulation launcher 编译通过 - [ ] 默认路径:ctrl-flow cache 构建无整块 100MB memset,stitch 热路径不跑 verify dump - [ ] runtime_debug_mode=3:topo dump / CheckStitch 仍可工作 - [ ] Engram / 典型算子上板精度与功能回归   See merge request: cann/pypto!7305 | 25 days ago | |
feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5007 merge perf/aot-cf-code-pool into master feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool Replace single-slot AOT CF binary caching with a multi-slot LRU pool, plus coding micro-optimizations that share encode_program surfaces (RuntimeVerify moved out of header, workspace/start-args tidy). Commits: - feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool - refactor(machine): Apply coding and style micro-optimizations Changes: - AOT_CODE_POOL multi-slot LRU - Encode hashKey assert for empty-slot sentinel - ST test_aot_code_pool - RuntimeVerify / workspace micro cleanups Related Issues: N/A See merge request: cann/pypto!5007 | 4 months ago | |
refactor(all): Remove trailing whitespace Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2188 merge pre-commit into master refactor(all): Remove trailing whitespace Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Introduce pre-commit tools, and remove trailing white space with default plugin Related Issue: #1017 See merge request: cann/pypto!2188 | 7 months ago | |
refactor(all): Remove trailing whitespace Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2188 merge pre-commit into master refactor(all): Remove trailing whitespace Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Introduce pre-commit tools, and remove trailing white space with default plugin Related Issue: #1017 See merge request: cann/pypto!2188 | 7 months ago | |
fix(machine): export std::any<long> manager for bundle cross-DSO type identity Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !6079 merge 9.2.0 into 9.2.0 fix(machine): export std::any<long> manager for bundle cross-DSO type identity Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: fix(machine): export std::any<long> manager for bundle cross-DSO type identity fix(machine): prevent offline exception dump segfault on bundle launch 合入9.2.0 See merge request: cann/pypto!6079 | 2 months ago | |
fix(machine): Improve ctrl cache replay performance Co-authored-by: qq_52905393<liuzhen180@huawei.com> # message auto-generated for no-merge-commit merge: !6382 merge dev-pingpong1-9.2.0 into 9.2.0 fix(machine): Improve ctrl cache replay performance Created-by: qq_52905393 Commit-by: qq_52905393 Merged-by: cann-robot Description: 1、将 PredCount 以及 readyque 改为 A B 两份,通过pingpong 结构,当前轮次 ctrl push task 之后,对 B 做 restore ,利用 ctrl 结尾空闲时间掩盖 restore 开销 See merge request: cann/pypto!6382 | 2 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 25 days ago | ||
| 7 months ago | ||
| 7 months ago | ||
| 3 months ago | ||
| 25 days ago | ||
| 4 months ago | ||
| 7 months ago | ||
| 7 months ago | ||
| 2 months ago | ||
| 2 months ago |