| Files | Last commit | Last update |
|---|---|---|
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 months ago | |
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 months ago | |
feat(machine): Support host ctrlflow cache by jit Co-authored-by: qq_52905393<liuzhen180@huawei.com> # message auto-generated for no-merge-commit merge: !5741 merge dev-host-ctrl-jit into master feat(machine): Support host ctrlflow cache by jit Created-by: qq_52905393 Commit-by: qq_52905393 Merged-by: cann-robot Description: 1、支持通过 jit ready_on_host_tensors 配置 npu_name: cpu_name 传入配对关系,算子 kernel 传入值依赖 tensor 对应的 cpu tensor 2、支持传入值依赖 tensor 场景下在 host 侧做 controlflow cache See merge request: cann/pypto!5741 | 2 months ago | |
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 months ago | |
fix(ir): Preserve token dependencies for inplace operations Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5766 merge fix_inplace_op into master fix(ir): Preserve token dependencies for inplace operations Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: fix(ir): Preserve token dependencies for inplace operations PR 描述(中文): ## 问题背景 inplace 算子的输入与输出共享底层存储。原有 token 推导逻辑会为 inplace输入生成新的 read token,覆盖此前 reader 在输入 tensor 上保存的 read token,导致读后写(WAR)依赖无法正确传递。 在创建 root/hidden function 时,原始 tensor 会被本地 incast tensor 替换。如果没有同步 token 元数据,后续 Function 展开也无法识别该依赖。 ## 修改内容 - 识别与当前算子输出共享存储的 inplace 输入,不再为其生成新的 read token。 - 保留此前 reader 产生的 read token,并将其作为 inplace 写操作的 WAR依赖。 - 使用 inplace op 的 write token 表示其内部读写操作完成。 - 创建 hidden function 的 incast tensor 时,将原始 tensor 的 read/write token 复制到实际参与计算的本地 tensor。 - 更新 inplace token 相关 UT 的预期 IR。 ## 修改效果 修复以下依赖场景: - 普通读之后执行 inplace 写时,写操作正确等待此前的读 token。 - 连续 inplace 写之间保留正确的 WAW 依赖。 - 通过 alias 读取或写入时,依赖能够基于共享 storage 正确传播。 - 拆分 root/hidden function 后,token 元数据不会丢失。 See merge request: cann/pypto!5766 | 2 months ago | |
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 months ago | |
fix(interface): Fix log wording and unify logging interface Co-authored-by: HuYiSheng01<hys123456aaa@163.com> # message auto-generated for no-merge-commit merge: !5764 merge pr_log_fix_ut into master fix(interface): Fix log wording and unify logging interface Created-by: HuYiSheng01 Commit-by: HuYiSheng01 Merged-by: cann-robot Description: 在 CANN 日志质量评测中发现 framework/src/interface 及 python/src/bindings 多处日志问题:部分日志文案存在英文拼写错误或语法错误,影响排障时按关键字检索;部分业务代码绕过统一日志接口,直接使用 std::cout / std::cerr / printf / py::print / fprintf 输出,不符合统一日志规范(3.1.9 统一英文、3.1.10 统一日志接口)。本 PR 在不改变任何计算逻辑的前提下,对上述日志问题统一收敛修复。 See merge request: cann/pypto!5764 | 3 months ago | |
fix(ir): Preserve token dependencies for inplace operations Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5766 merge fix_inplace_op into master fix(ir): Preserve token dependencies for inplace operations Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: fix(ir): Preserve token dependencies for inplace operations PR 描述(中文): ## 问题背景 inplace 算子的输入与输出共享底层存储。原有 token 推导逻辑会为 inplace输入生成新的 read token,覆盖此前 reader 在输入 tensor 上保存的 read token,导致读后写(WAR)依赖无法正确传递。 在创建 root/hidden function 时,原始 tensor 会被本地 incast tensor 替换。如果没有同步 token 元数据,后续 Function 展开也无法识别该依赖。 ## 修改内容 - 识别与当前算子输出共享存储的 inplace 输入,不再为其生成新的 read token。 - 保留此前 reader 产生的 read token,并将其作为 inplace 写操作的 WAR依赖。 - 使用 inplace op 的 write token 表示其内部读写操作完成。 - 创建 hidden function 的 incast tensor 时,将原始 tensor 的 read/write token 复制到实际参与计算的本地 tensor。 - 更新 inplace token 相关 UT 的预期 IR。 ## 修改效果 修复以下依赖场景: - 普通读之后执行 inplace 写时,写操作正确等待此前的读 token。 - 连续 inplace 写之间保留正确的 WAW 依赖。 - 通过 alias 读取或写入时,依赖能够基于共享 storage 正确传播。 - 拆分 root/hidden function 后,token 元数据不会丢失。 See merge request: cann/pypto!5766 | 2 months ago | |
fix(machine): Convert DrcoDeviceTaskReadyQueue to ringbuffer Co-authored-by: rongziran<rongziran@huawei.com> # message auto-generated for no-merge-commit merge: !5802 merge aicore-reslove into master fix(machine): Convert DrcoDeviceTaskReadyQueue to ringbuffer Created-by: rongziran Commit-by: rongziran Merged-by: cann-robot Description: ## 问题描述 DrcoDeviceTaskReadyQueue 使用固定大小 100 的线性队列,Append() 直接以 size 为索引写入数组且无越界检查。当单个 RuntimeDataRingBuffer slot 内 device task 数量超过 100 时,静默写穿数组,踩踏相邻内存,且无任何报错。 ## 修改方案 将线性队列改为 ringbuffer:head/tail 保持单调递增计数器,数组访问加取模回绕。 See merge request: cann/pypto!5802 | 2 months ago | |
fix(Operation): clean up implementation and magic numbers | 2 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(interface): Fix log wording and unify logging interface Co-authored-by: HuYiSheng01<hys123456aaa@163.com> # message auto-generated for no-merge-commit merge: !5764 merge pr_log_fix_ut into master fix(interface): Fix log wording and unify logging interface Created-by: HuYiSheng01 Commit-by: HuYiSheng01 Merged-by: cann-robot Description: 在 CANN 日志质量评测中发现 framework/src/interface 及 python/src/bindings 多处日志问题:部分日志文案存在英文拼写错误或语法错误,影响排障时按关键字检索;部分业务代码绕过统一日志接口,直接使用 std::cout / std::cerr / printf / py::print / fprintf 输出,不符合统一日志规范(3.1.9 统一英文、3.1.10 统一日志接口)。本 PR 在不改变任何计算逻辑的前提下,对上述日志问题统一收敛修复。 See merge request: cann/pypto!5764 | 3 months ago | |
feat(pypto_pro):Enhance synchronization support and validation Co-authored-by: gcw_bTlukKC6<xuxinlei1@huawei.com> # message auto-generated for no-merge-commit merge: !5754 merge my_new_branch into master feat(pypto_pro):Enhance synchronization support and validation Created-by: gcw_bTlukKC6 Commit-by: gcw_bTlukKC6 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!5754 | 2 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 | |
feat(ir): Optimize tensor nextversion Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5820 merge fix_nextverstion into master feat(ir): Optimize tensor nextversion Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: Optimize tensor next version, error messsage See merge request: cann/pypto!5820 | 2 months ago | |
fix(Operation): clean up implementation and magic numbers | 2 months ago | |
feat(indexing): Support A5 SIMT gather and index put Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !5404 merge feat/a5-simt-mixed into master feat(indexing): Support A5 SIMT gather and index put Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: gather indexput 支持的simt 实现,在离散场景下提升性能 当 Gather 的 source 位于 GM、indices 位于 UB 时,A5 Codegen 会选择 SIMT MGATHER 实现: 1. 使用 SIMD 批量计算 Gather 的元素偏移。 2. 使用 SIMT MGATHER 根据偏移直接从 GM source 读取数据。 3. source 位于 UB 时继续使用原有实现。 4. int64 indices 暂不使用 SIMT,回退到原有 Scalar 实现。 同时补充了 SIMT Kernel 的端到端识别与下发机制: 1. Pass 识别需要 SIMT 的 Gather,并设置 requiresSimt 属性。 2. 将 requiresSimt 信息传递到 Device Program 和编译流程。 3. 为包含 SIMT 的 A5 Kernel 生成相应的 ELF metadata。 4. Runtime 根据 Kernel 是否包含 SIMT,选择对应的 UB 配置。 5. SIMT Kernel 配置 216 KB 动态 UB,并为 DCache 预留 32 KB。 6. 纯 SIMD Kernel 保持原有 Runtime 下发方式和 UB 配置。 此外,完善了 GM GatherElement 在内存类型推导、动态参数注册、动态 valid shape 处理和 OoO 调度中的支持。 Related Issue: #3162 ``` 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!5404 | 2 months ago | |
feat(conv): Support conv tileshape infer transdata vec tileshape Co-authored-by: Catherie<mayuan33@huawei.com> # message auto-generated for no-merge-commit merge: !5148 merge conv_tile_to_vec_tile into master feat(conv): Support conv tileshape infer transdata vec tileshape Created-by: xinweiliu Commit-by: Catherie Merged-by: cann-robot Description: 支持A2A3 通过Conv tileshape 内部推导Transdata Vec TileShape,用户不需要前端显示配置 See merge request: cann/pypto!5148 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 5 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 7 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 3 months ago |