| Files | Last commit | Last update |
|---|---|---|
fix(machine): Enable drco by default Co-authored-by: rongziran<rongziran@huawei.com> # message auto-generated for no-merge-commit merge: !6955 merge drco-default-on into master fix(machine): Enable drco by default Created-by: rongziran Commit-by: rongziran 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!6955 | 1 month ago | |
feat(machine): Vendor AICore asc_debug and unify printf/dump wrappers Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !6960 merge cce_print into master feat(machine): Vendor AICore asc_debug and unify printf/dump wrappers Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: 统一 printf/dump 封装,与asc解耦,内置 AICore pto_debug See merge request: cann/pypto!6960 | 1 month 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 | |
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(ir): TerminateHandler init time change Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !7054 merge master into master fix(ir): TerminateHandler init time change Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: 修复:仅 import pypto 时候,即全局接管 std::terminate,从而导致的其他模块的未捕获异常被误记为 PyPTO 报错 See merge request: cann/pypto!7054 | 1 month ago | |
fix(ir): TerminateHandler init time change Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !7054 merge master into master fix(ir): TerminateHandler init time change Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: 修复:仅 import pypto 时候,即全局接管 std::terminate,从而导致的其他模块的未捕获异常被误记为 PyPTO 报错 See merge request: cann/pypto!7054 | 1 month ago | |
fix(interface): Prevent dynamic kernel hash collision after reset Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5617 merge 0822_hash into master fix(interface): Prevent dynamic kernel hash collision after reset Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: 将DYNAMIC类型的Function magic与其他function分开管理,并且在复跑时不复用,避免在这一层计算哈希时哈希冲突 See merge request: cann/pypto!5617 | 3 months ago | |
fix(codegen): Propagate parallel task exceptions instead of swallowing them Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !5266 merge compile_fix into master fix(codegen): Propagate parallel task exceptions instead of swallowing them Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: 1. 多线程 Codegen 确定性 Kernel 编译 Related Issue:[https://gitcode.com/cann/pypto/issues/2913](https://gitcode.com/cann/pypto/issues/2913) 2. Issue 背景:GenCode 内的 ExecuteParallelCompile 编译失败抛出 COMPILE_CODE_FAILED 被吞掉,leafDict[hash] = leaf 未执行,leafDict不完整。下游 ConstructCodeInfo → RunCompileAicoreKernelStage → RunEncodeStage 继续访问不完整的 leafDict,触发 std::unordered_map::at() 越界,抛出 F00003 RuntimeError: _Map_base::at 二次异常,掩盖了真实的编译错误 根因:codeGen在并行编译遇到错误抛出异常时,只记录日志,并不传播异常和终止剩余task,导致报错在第二现场F00003 RuntimeError: _Map_base::at处 解决方法:修改 ParallelExecuteAndWait,使其在 task 失败时记录错误、提前终止剩余 task、并在所有线程 join 后重新抛出首个 COMPILE_CODE_FAILED异常 修改前:  修改后:  See merge request: cann/pypto!5266 | 3 months ago | |
fix(codegen): Propagate parallel task exceptions instead of swallowing them Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !5266 merge compile_fix into master fix(codegen): Propagate parallel task exceptions instead of swallowing them Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: 1. 多线程 Codegen 确定性 Kernel 编译 Related Issue:[https://gitcode.com/cann/pypto/issues/2913](https://gitcode.com/cann/pypto/issues/2913) 2. Issue 背景:GenCode 内的 ExecuteParallelCompile 编译失败抛出 COMPILE_CODE_FAILED 被吞掉,leafDict[hash] = leaf 未执行,leafDict不完整。下游 ConstructCodeInfo → RunCompileAicoreKernelStage → RunEncodeStage 继续访问不完整的 leafDict,触发 std::unordered_map::at() 越界,抛出 F00003 RuntimeError: _Map_base::at 二次异常,掩盖了真实的编译错误 根因:codeGen在并行编译遇到错误抛出异常时,只记录日志,并不传播异常和终止剩余task,导致报错在第二现场F00003 RuntimeError: _Map_base::at处 解决方法:修改 ParallelExecuteAndWait,使其在 task 失败时记录错误、提前终止剩余 task、并在所有线程 join 后重新抛出首个 COMPILE_CODE_FAILED异常 修改前:  修改后:  See merge request: cann/pypto!5266 | 3 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 | |
feat(ir): Replace SourceLocation with ir::Span Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !3135 merge fix/span into master feat(ir): Replace SourceLocation with ir::Span Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. Fix CHECK macro compile conflict 2. Change Status to enum, this is part2 of compile conflict 3. Disable move constructor for logical_tensor 4. ir: Add fp64 dtype 5. ir: Add ScalarOpStmt, TensorOpStmt 6. ir: Add pybind for Add ScalarOpStmt, TensorOpStmt 7. ir: Rewrite span implement 8. Replace SourceLocation with ir::Span Related Issue: #1185 See merge request: cann/pypto!3135 | 6 months ago | |
Initial commit | 10 months ago | |
feat(operation): support A5 adaptive in-place overwrite Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !6174 merge codex/scatter-upstream-master into master feat(operation): support A5 adaptive in-place overwrite Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: scatter 算子 现在阶段使用 标量来实现,A5 有了 simt 能力,可以提高效率。 同时,部分场景中,在ub 中使用 Tscatter 性能更有优势 。 我们相当于支持了 scatter 自适应的 ub 和 gm,并且在gm 场景中使用 simt 来提高性能。 单算子场景中,性能平均提升 4~5,在ub 场景中无劣化。 Related Issue: https://gitcode.com/cann/pypto/issues/3470 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!6174 | 1 month 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 |
| Files | Last commit | Last update |
|---|---|---|
| 1 month ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 7 months ago | ||
| 6 months ago | ||
| 10 months ago | ||
| 1 month ago | ||
| 4 months ago |