| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(machine): fix log level mismatch, magic number and grammar errors Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5720 merge pyptolog_fix2 into master fix(machine): fix log level mismatch, magic number and grammar errors Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 日志规范性整改 See merge request: cann/pypto!5720 | 3 个月前 | |
fix(machine): Compile monitor info fix. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5321 merge compile_fix into master fix(machine): Compile monitor info fix. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除重复warning信息;删除重复compile_monitor标识 See merge request: cann/pypto!5321 | 3 个月前 | |
feat(pypto): Add pypto.experimental.auto_mix_partition 0/1 config Co-authored-by: bytecode<dubingjia1@huawei.com> # message auto-generated for no-merge-commit merge: !6648 merge automixdocs into master feat(pypto): Add pypto.experimental.auto_mix_partition 0/1 config Created-by: bytecode Commit-by: bytecode Merged-by: cann-robot Description: feat(pypto): Add pypto.experimental.auto_mix_partition 0/1 config The level-based auto_mix_partition config (off/default/high strings and the N>100 custom op-limit) is removed from pypto.set_pass_options. The auto CV Mix merging switch of the ReduceCopyMerge pass is now configured solely via pypto.experimental.auto_mix_partition(0/1), defaulting to disabled (0). The C++ ReduceCopyMerge level mapping (MapAutoMixPartitionToLimits) is kept unchanged. Changes: - Add pypto.experimental.auto_mix_partition(value) accepting only 0/1, other values raise ValueError - Remove the auto_mix_partition parameter from pypto.set_pass_options and its read-back key from pypto.get_pass_options - Converge the tile_fwk_config default to 0 and tighten the schema range to 0~1 - Update the interface UT (test_config_options.py) and the set_pass_options API doc - Remove the sg_set_atomic_scope description from the set_pass_options doc Related Issues: #3431 See merge request: cann/pypto!6648 | 2 个月前 | |
fix(interface): Reduce UT time and resolve code style. Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !3697 merge review into master fix(interface): Reduce UT time and resolve code style. Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: 1. 减少ut耗时 2. 整改代码规范 See merge request: cann/pypto!3697 | 5 个月前 | |
feat(ir): Support dump function attribute Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !6675 merge attr into master feat(ir): Support dump function attribute Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!6675 | 2 个月前 | |
compilation issue fixed Co-authored-by: hsqnb<heshouqi@h-partners.com> # message auto-generated for no-merge-commit merge: !5798 merge master into master compilation issue fixed Created-by: hsqnb Commit-by: hsqnb Merged-by: cann-robot Description: fix(interface): Add missing cstdint header in pre_def The pre_def.h uses uint8_t (via BinDataPtr typedef) but does not include <cstdint> that defines it. This causes compilation failures on strict toolchains where <cstdint> is not transitively included. Changes: - Add #include <cstdint> to framework/src/interface/inner/pre_def.h Related Issue: #3172 See merge request: cann/pypto!5798 | 2 个月前 | |
fix(machine): Add control flow encode Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> Co-authored-by: wan_jianfen<wanjianfen@hisilicon.com> # message auto-generated for no-merge-commit merge: !6666 merge br_test into master fix(machine): Add control flow encode Created-by: wan_jianfen Commit-by: wan_jianfen;LordOfMysteries 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!6666 | 2 个月前 | |
fix(pypto_pro): Upload for tile check Co-authored-by: liuyu<liuyu205@hisilicon.com> # message auto-generated for no-merge-commit merge: !6468 merge master_sub into master fix(pypto_pro): Upload for tile check Created-by: liuyu205 Commit-by: liuyu Merged-by: cann-robot Description: Upload for tile check See merge request: cann/pypto!6468 | 2 个月前 | |
perf(machine): Replace two CAS with AtomicExch Co-authored-by: huanglu<huanglu22@hisilicon.com> # message auto-generated for no-merge-commit merge: !6687 merge master into master perf(machine): Replace two CAS with AtomicExch Created-by: lululu40888 Commit-by: huanglu Merged-by: cann-robot Description: perf(machine): Replace two CAS with AtomicExch See merge request: cann/pypto!6687 | 2 个月前 | |
refactor(operation): Replace GatherInUB magic numbers with named constants Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !6589 merge codex/gather-in-ub-remove-magic-number into master refactor(operation): Replace GatherInUB magic numbers with named constants Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: gatherinub 代码中魔鬼数字整改 Related Issue: https://gitcode.com/cann/pypto/issues/3413 See merge request: cann/pypto!6589 | 2 个月前 | |
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 个月前 | |
fix(interpreter): Fix bug of verify output have empty dir Co-authored-by: dingbo929<dingbo24@h-partners.com> # message auto-generated for no-merge-commit merge: !6095 merge master into master fix(interpreter): Fix bug of verify output have empty dir Created-by: dingbo929 Commit-by: dingbo929 Merged-by: cann-robot Description: 1. 修复开启精度工具后,产物output目录会有一个空目录 See merge request: cann/pypto!6095 | 2 个月前 | |
fix store/store_tile/move about phase/acctovec/scale Co-authored-by: ChenYongji123<chenyongji6@huawei.com> # message auto-generated for no-merge-commit merge: !6651 merge master into master fix store/store_tile/move about phase/acctovec/scale Created-by: ChenYongji123 Commit-by: ChenYongji123 Merged-by: cann-robot Description: fix store/store_tile/move about phase/acctovec/scale Related Issue: [#3345](https://gitcode.com/cann/pypto/issues/3345) See merge request: cann/pypto!6651 | 2 个月前 | |
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 个月前 | |
fix(ir): Sort ComputeIncast inputs by magic for deterministic ordering Co-authored-by: Catherie<mayuan33@huawei.com> # message auto-generated for no-merge-commit merge: !6592 merge fix/incast-magic-sort into master fix(ir): Sort ComputeIncast inputs by magic for deterministic ordering Created-by: Catherie Commit-by: Catherie Merged-by: cann-robot Description: fix(ir): Sort ComputeIncast inputs by magic for deterministic ordering std::unordered_set 的遍历序取决于其存储的 shared_ptr 元素的堆地址,而堆地址受 ASLR 影响在不同进程间不同。这导致 hiddenfunc 的入参顺序不确定,函数 hash 与生成的 CCE 文件名每次运行都会变化。 Changes: - 在 RootFunctionBuilder::ComputeIncast 中遍历前按 tensor magic 对所有输入排序, 保证 hiddenfunc 入参序跨进程确定 - test(ir): Add UT for ComputeIncast deterministic ordering —— 补充 test_compute_incast_deterministic_order:loop-body 段消费 6 个独立参数,通过 golden 快照与入参顺序断言验证 hiddenfunc 入参序恒为 magic 升序(修复前 8/8 次 运行用例失败并呈现随机排列,修复后跨进程稳定) See merge request: cann/pypto!6592 | 2 个月前 | |
fix(tileop): Correct packed FP4 UB offsets Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !6691 merge codex/fix-fp4-ub-offset-mainline into master fix(tileop): Correct packed FP4 UB offsets Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: 在 A5 上的 TileTensor::GetLinearAddr 中,将逻辑的 FP4 瓦片偏移量转换为打包的字节偏移量。 Related Issue: https://gitcode.com/cann/pypto/issues/3443 See merge request: cann/pypto!6691 | 2 个月前 | |
fix(dfx): Fix crash-path log hang caused by localtime() re-entry Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !6535 merge fix/logbug_localtime into master fix(dfx): Fix crash-path log hang caused by localtime() re-entry Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 性能用例批跑时,若线程在 libc 时间转换过程中持有 tzset_lock,此时被信号打断,TerminateHandler 回调打印日志会再次通过 std::localtime() 申请同一把锁,导致线程自我死锁。 修改内容 - 新增私有 log_time.h/.cpp,迁移 dlog 的整数日历换算算法。 - 在启动阶段初始化时区和夏令时配置,并在注册异常处理回调前显式确保初始化完成。 - 日志时间和文件名时间共用换算路径,运行期间不再调用 localtime/localtime_r/tzset。 - 保持原有日志格式、三位毫秒精度及文件名格式不变。 See merge request: cann/pypto!6535 | 2 个月前 | |
fix(pro): fix profiling for cann 9.3.0 Co-authored-by: gravel1997<shili19@huawei.com> # message auto-generated for no-merge-commit merge: !6634 merge profiling_fix_0922 into master fix(pro): fix profiling for cann 9.3.0 Created-by: gravel1997 Commit-by: gravel1997 Merged-by: cann-robot Description: fix(pro): fix profiling for cann 9.3.0 Related Issue: [#3299](https://gitcode.com/cann/pypto/issues/3299) See merge request: cann/pypto!6634 | 2 个月前 |