| Files | Last commit | Last update |
|---|---|---|
feat(pass): Split token in ExpandFunction Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5537 merge 0819_token into master feat(pass): Split token in ExpandFunction Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: token有tensor graph->tile graph的转化 See merge request: cann/pypto!5537 | 3 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 | |
revert: 恢复 rebase 误带入的 origin/dev 杂质文件至主干版本 rebase 提交 47625ae0f 将 origin/dev 内容带入 dev_wsh,混入 15 个与 convbp 开发无关的文件。 对照 dev_backup_0824 真实改动范围排查,恢复至 origin/master 版本,避免合入主干时引入差异。 | 3 months ago | |
revert: 恢复 rebase 误带入的 origin/dev 杂质文件至主干版本 rebase 提交 47625ae0f 将 origin/dev 内容带入 dev_wsh,混入 15 个与 convbp 开发无关的文件。 对照 dev_backup_0824 真实改动范围排查,恢复至 origin/master 版本,避免合入主干时引入差异。 | 3 months ago | |
fix(ir): Update valueDependDescDict in CurrentDynamicFunction Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !4879 merge fix/ir-value-depend-current-dynamic-function into master fix(ir): Update valueDependDescDict in CurrentDynamicFunction Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 修复新 IR 路径下 valueDependDescDict 没有写入 dynamic function 的问题。 Changes: - 把SetCurrentDynamicFunction(),从 FinalizeDynamicFunction 提前到 createRootFunction。 - FinalizePathFunc/PathFunc 阶段, 在 MakeOutcasts 后生成 valueDepend 信息 See merge request: cann/pypto!4879 | 4 months ago | |
feat(ir): Connect IR with pass component Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !4596 merge 0702_new_ir into master feat(ir): Connect IR with pass component Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: 将新IR接入pass,同时修复新IR构造rootFunction时丢失op attr的问题 See merge request: cann/pypto!4596 | 4 months ago | |
fix(ir): Machine depends incast/outcast not share same slot Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !5474 merge incastlink into master fix(ir): Machine depends incast/outcast not share same slot Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!5474 | 3 months ago | |
fix(ir): Machine depends incast/outcast not share same slot Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !5474 merge incastlink into master fix(ir): Machine depends incast/outcast not share same slot Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!5474 | 3 months ago | |
feat(ir): Infer read and write tokens in tensor graphs Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5402 merge add_token_0810_2 into master feat(ir): Infer read and write tokens in tensor graphs Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 为 Tensor Graph 增加前端 Token 推导能力,保证共享同一个 RawTensor 的 LogicalTensor 之间具有正确的内存访问依赖。 主要修改: - 将 TensorOpStmt 的 result_token 从单个 Token 改为 Token 列表 - 适配 IR Builder、Visitor、Mutator、Printer、Verifier、Python Binding 和 DCE 等相关模块 - 增加 NORMAL、READ 和 WRITE 三种 Token 类型 - 为 TensorOp 自动推导 Read Token 和 Write Token - 同一个 RawTensor 连续多次读取时复用最新的 Read Token - 为WAR、WAW、RAW场景建立 Token 依赖 - 支持 Token 状态在 IfStmt 和 ForStmt 控制流中的传递与合并 - SSA 校验允许共享的 Read Token 被重复定义 - 增加顺序执行和控制流场景的 C++、Python 测试 See merge request: cann/pypto!5402 | 3 months ago | |
feat(ir): Infer read and write tokens in tensor graphs Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5402 merge add_token_0810_2 into master feat(ir): Infer read and write tokens in tensor graphs Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 为 Tensor Graph 增加前端 Token 推导能力,保证共享同一个 RawTensor 的 LogicalTensor 之间具有正确的内存访问依赖。 主要修改: - 将 TensorOpStmt 的 result_token 从单个 Token 改为 Token 列表 - 适配 IR Builder、Visitor、Mutator、Printer、Verifier、Python Binding 和 DCE 等相关模块 - 增加 NORMAL、READ 和 WRITE 三种 Token 类型 - 为 TensorOp 自动推导 Read Token 和 Write Token - 同一个 RawTensor 连续多次读取时复用最新的 Read Token - 为WAR、WAW、RAW场景建立 Token 依赖 - 支持 Token 状态在 IfStmt 和 ForStmt 控制流中的传递与合并 - SSA 校验允许共享的 Read Token 被重复定义 - 增加顺序执行和控制流场景的 C++、Python 测试 See merge request: cann/pypto!5402 | 3 months ago | |
feat(pass): Split token in ExpandFunction Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5537 merge 0819_token into master feat(pass): Split token in ExpandFunction Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: token有tensor graph->tile graph的转化 See merge request: cann/pypto!5537 | 3 months ago | |
feat(pass): Split token in ExpandFunction Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5537 merge 0819_token into master feat(pass): Split token in ExpandFunction Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: token有tensor graph->tile graph的转化 See merge request: cann/pypto!5537 | 3 months ago | |
feat(ir): Always create new logical_tensor during assemble Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5297 merge add_token_infer_pass_0805 into master feat(ir): Always create new logical_tensor during assemble Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 1. 在MakeOutCast时,将所有内部tensor的旧rawtensor替换为新rawtensor,避免在多次assmble时,输出tensor的rawtensor不一致 2. 在dce时,如果logicaltensor对应的memoryId有消费者,不删除logicaltensor 3. 对于不能删除的TensorOp,其result_token不强制保留 4. 移除assmeble接口中添加token,后续统一添加token,方便token的命名统一 5. 增加create_new_logical_tensor开关,使能assmeble创建新的logicaltensor See merge request: cann/pypto!5297 | 3 months ago | |
feat(ir): Infer read and write tokens in tensor graphs Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5402 merge add_token_0810_2 into master feat(ir): Infer read and write tokens in tensor graphs Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 为 Tensor Graph 增加前端 Token 推导能力,保证共享同一个 RawTensor 的 LogicalTensor 之间具有正确的内存访问依赖。 主要修改: - 将 TensorOpStmt 的 result_token 从单个 Token 改为 Token 列表 - 适配 IR Builder、Visitor、Mutator、Printer、Verifier、Python Binding 和 DCE 等相关模块 - 增加 NORMAL、READ 和 WRITE 三种 Token 类型 - 为 TensorOp 自动推导 Read Token 和 Write Token - 同一个 RawTensor 连续多次读取时复用最新的 Read Token - 为WAR、WAW、RAW场景建立 Token 依赖 - 支持 Token 状态在 IfStmt 和 ForStmt 控制流中的传递与合并 - SSA 校验允许共享的 Read Token 被重复定义 - 增加顺序执行和控制流场景的 C++、Python 测试 See merge request: cann/pypto!5402 | 3 months ago | |
fix(tensor): Calculate data size from data type bits Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5044 merge fix-tensor-data-size-bits into master fix(tensor): Calculate data size from data type bits Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: fix(tensor): Calculate packed tensor data size by bits 新增 DataSizeOf,统一根据元素数量和数据类型的 bit 位宽计算实际存储大小: 将 LogicalTensor、RawTensor、DeviceTensor 及 workspace 相关计算统一切换到 DataSizeOf,避免使用 BytesOf 时将 4-bit 元素按 1 byte 计算。 See merge request: cann/pypto!5044 | 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 | |
refactor(utils): Refactor file_utils.h Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !4130 merge refactor/file_utils1 into master refactor(utils): Refactor file_utils.h Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Refactor file_utils.h Related Issue: #1185 See merge request: cann/pypto!4130 | 5 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(interface): Support getinputdata for all integral types Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2224 merge refactor/deadcode into master feat(interface): Support getinputdata for all integral types Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. startArgsSymbolHandlerList of devProg does not used any more 2. Support getinputdata for all integral types Related Issue: [#408](https://gitcode.com/cann/pypto/issues/408) See merge request: cann/pypto!2224 | 7 months ago | |
fix(machine): Restrict structural CSE lookup to GetInput CALL nodes Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !5578 merge control_flow into master fix(machine): Restrict structural CSE lookup to GetInput CALL nodes Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: BuildControlFlow优化:CSE map只对GetInputShapeDim和GetInputData展开当key,And/Min/Max/Select这些节点直接往下拼 See merge request: cann/pypto!5578 | 3 months ago | |
feat(IR): Fix io text dumper and loader's symbolic scalar and attribute Co-authored-by: Jie Yin<yinjie27@huawei.com> # message auto-generated for no-merge-commit merge: !5644 merge pil-ir-normalize into master feat(IR): Fix io text dumper and loader's symbolic scalar and attribute Created-by: yinjie27_ Commit-by: Jie Yin Merged-by: cann-robot Description: feat(IR): Fix io text dumper and loader's symbolic scalar and attribute See merge request: cann/pypto!5644 | 3 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 | |
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 | |
test(ir): Add text check for test_merge_pass Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !5209 merge ir into master test(ir): Add text check for test_merge_pass Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. support name propgration 2. fix some determine issue 3. add text check for test_merge_pass 4. fix gcov for python ut 5. remove python/pypto/ir folder Related Issue: #2559 See merge request: cann/pypto!5209 | 3 months ago | |
fix(ir): Machine depends incast/outcast not share same slot Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !5474 merge incastlink into master fix(ir): Machine depends incast/outcast not share same slot Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!5474 | 3 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): Fix qat slot error Co-authored-by: zhuqingbo<zhuqingbo@huawei.com> # message auto-generated for no-merge-commit merge: !5211 merge aa into master fix(ir): Fix qat slot error Created-by: gcw_zcOFYzUr Commit-by: zhuqingbo Merged-by: cann-robot Description: 解决输入params做为for iterArgs的initvalue时,slot错误的问题 See merge request: cann/pypto!5211 | 3 months ago | |
fix(ir): Fix qat slot error Co-authored-by: zhuqingbo<zhuqingbo@huawei.com> # message auto-generated for no-merge-commit merge: !5211 merge aa into master fix(ir): Fix qat slot error Created-by: gcw_zcOFYzUr Commit-by: zhuqingbo Merged-by: cann-robot Description: 解决输入params做为for iterArgs的initvalue时,slot错误的问题 See merge request: cann/pypto!5211 | 3 months ago | |
fix(ir): Fix liveness not correct in canonicalize pass Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !5334 merge shape into master fix(ir): Fix liveness not correct in canonicalize pass Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!5334 | 3 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): Infer read and write tokens in tensor graphs Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5402 merge add_token_0810_2 into master feat(ir): Infer read and write tokens in tensor graphs Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 为 Tensor Graph 增加前端 Token 推导能力,保证共享同一个 RawTensor 的 LogicalTensor 之间具有正确的内存访问依赖。 主要修改: - 将 TensorOpStmt 的 result_token 从单个 Token 改为 Token 列表 - 适配 IR Builder、Visitor、Mutator、Printer、Verifier、Python Binding 和 DCE 等相关模块 - 增加 NORMAL、READ 和 WRITE 三种 Token 类型 - 为 TensorOp 自动推导 Read Token 和 Write Token - 同一个 RawTensor 连续多次读取时复用最新的 Read Token - 为WAR、WAW、RAW场景建立 Token 依赖 - 支持 Token 状态在 IfStmt 和 ForStmt 控制流中的传递与合并 - SSA 校验允许共享的 Read Token 被重复定义 - 增加顺序执行和控制流场景的 C++、Python 测试 See merge request: cann/pypto!5402 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 7 months ago | ||
| 7 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago |