| Files | Last commit | Last update |
|---|---|---|
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
feat(ops): Add NaN propagation control to extrema operators Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7435 merge codex/propagate-nan-current into master feat(ops): Add NaN propagation control to extrema operators Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: 为 amax、 amin、argmax、argmin、maximum 和 minimum 增加编译期参数 propagate_nan,默认值为 True。 默认模式及显式 True 沿用原生实现,包括索引选择行为、类型转换和临时空间。浮点输入显式指定 False 时忽略 NaN,全 NaN 的数值规约返回 NaN,索引规约返回 0。 See merge request: cann/pypto!7435 | 9 days ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
feat(operation): Handle the transdata UB out-of-bounds issue. Co-authored-by: yang-fulai-3<yangfulai3@huawei.com> # message auto-generated for no-merge-commit merge: !7394 merge mem_exceed into master feat(operation): Handle the transdata UB out-of-bounds issue. Created-by: yangfulai Commit-by: yang-fulai-3 Merged-by: cann-robot Description: feat(operation): Handle the transdata UB out-of-bounds issue. 主要修改: transdata 占用估算与 tile 增长: conv_vec_tile_inference.cpp 新增 Fz3dWeightTransdataBytes 与 GrowDimByTransdataBytes, 按输入 tile、dst tile、tmp tile 的合成占用(含 N*C1*C0*H*WPad 与 tmp 取最大值项)判断增长上限,InferWeightVecTile 的 3D 分支改用 Platform::Instance().GetAIVCore().GetMemorySize(MemoryType::MEM_UB) 作为阈值,避免仅按输入 tile 增长导致 UB 溢出 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7394 | 15 days ago | |
refactor(pypto_pro): address codecheck warnings Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !7683 merge bugfix into master refactor(pypto_pro): address codecheck warnings Created-by: fafafafafa Commit-by: fa 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!7683 | 5 days ago | |
feat(ops): Add NaN propagation control to extrema operators Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7435 merge codex/propagate-nan-current into master feat(ops): Add NaN propagation control to extrema operators Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: 为 amax、 amin、argmax、argmin、maximum 和 minimum 增加编译期参数 propagate_nan,默认值为 True。 默认模式及显式 True 沿用原生实现,包括索引选择行为、类型转换和临时空间。浮点输入显式指定 False 时忽略 NaN,全 NaN 的数值规约返回 NaN,索引规约返回 0。 See merge request: cann/pypto!7435 | 9 days ago | |
fix(Operation): modify cleancode Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5748 merge fix/docs into master fix(Operation): modify cleancode Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode修改: - 拆分过长的 Operation 和 TileOp 文件 - 重构过长函数并提取重复代码 - 使用公共常量替换 Magic Number - 修复报错日志的拼写和语法问题 - 补充报错日志中的实际参数值 - 删除自定义调试打印 - 清理无用变量和重复实现 - 迁移并补充 Vector Operation 单元测试 See merge request: cann/pypto!5748 | 2 months ago | |
fix(Operation): modify cleancode Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5748 merge fix/docs into master fix(Operation): modify cleancode Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode修改: - 拆分过长的 Operation 和 TileOp 文件 - 重构过长函数并提取重复代码 - 使用公共常量替换 Magic Number - 修复报错日志的拼写和语法问题 - 补充报错日志中的实际参数值 - 删除自定义调试打印 - 清理无用变量和重复实现 - 迁移并补充 Vector Operation 单元测试 See merge request: cann/pypto!5748 | 2 months ago | |
fix(Operation): modify cleancode Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5748 merge fix/docs into master fix(Operation): modify cleancode Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode修改: - 拆分过长的 Operation 和 TileOp 文件 - 重构过长函数并提取重复代码 - 使用公共常量替换 Magic Number - 修复报错日志的拼写和语法问题 - 补充报错日志中的实际参数值 - 删除自定义调试打印 - 清理无用变量和重复实现 - 迁移并补充 Vector Operation 单元测试 See merge request: cann/pypto!5748 | 2 months ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
fix(tileop): Correct vector operations for differing tile layouts Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7048 merge layout into master fix(tileop): Correct vector operations for differing tile layouts Created-by: Creeeeper Commit-by: bynshard Merged-by: cann-robot Description: ## 描述 部分TileOp在处理时默认输入输出的shape一致但是pass在处理时有可能改变rawshape导致实际计算时跳stride长度不对 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3642](https://gitcode.com/cann/pypto/issues/3642) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!7048 | 30 days ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
fix(Operation): modify cleancode Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5748 merge fix/docs into master fix(Operation): modify cleancode Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode修改: - 拆分过长的 Operation 和 TileOp 文件 - 重构过长函数并提取重复代码 - 使用公共常量替换 Magic Number - 修复报错日志的拼写和语法问题 - 补充报错日志中的实际参数值 - 删除自定义调试打印 - 清理无用变量和重复实现 - 迁移并补充 Vector Operation 单元测试 See merge request: cann/pypto!5748 | 2 months ago | |
fix(tileop): Correct vector operations for differing tile layouts Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7048 merge layout into master fix(tileop): Correct vector operations for differing tile layouts Created-by: Creeeeper Commit-by: bynshard Merged-by: cann-robot Description: ## 描述 部分TileOp在处理时默认输入输出的shape一致但是pass在处理时有可能改变rawshape导致实际计算时跳stride长度不对 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3642](https://gitcode.com/cann/pypto/issues/3642) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!7048 | 30 days ago | |
fix(operation): Bound FillPad padding to tile columns Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !6504 merge fix-fillpad into master fix(operation): Bound FillPad padding to tile columns Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: FillPad 对共享 UB 缓冲区中的列分块处理错误,导致有效数据被清零,并可能越过目标缓冲区边界。 concat 结果的形状为 [16,128],vector tile 配置为 [16,80],因此 FillPad 被拆分为前 80 列和后 48 列两个分块。两个分块保留父缓冲区的物理行步长 128。原 TFillPad 封装直接使用 layout 中的静态宽度 128 构造 PTO Tile。底层 TFILLPAD_EXPAND 会将输入有效列之外的区域补到该静态宽度,而不是限制在当前分块的 80/48 列范围内。 Related Issue: https://gitcode.com/cann/pypto/issues/3387 See merge request: cann/pypto!6504 | 2 months ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
feat(operation): ScatterUpdate Tile Last Dim Co-authored-by: Creeeeper<liuyizhe6@huawei.com> # message auto-generated for no-merge-commit merge: !6967 merge su into master feat(operation): ScatterUpdate Tile Last Dim Created-by: Creeeeper Commit-by: Creeeeper Merged-by: cann-robot Description: ## 描述 ScatterUpdate算子尾轴可进行tileshape切分。 A5新增支持数据类型fp8e4m3。 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3592](https://gitcode.com/cann/pypto/issues/3592) ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!6967 | 1 month ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
fix(operation): Fix Temp Offset Co-authored-by: Creeeeper<liuyizhe6@huawei.com> # message auto-generated for no-merge-commit merge: !6918 merge layout into master fix(operation): Fix Temp Offset Created-by: Creeeeper Commit-by: Creeeeper Merged-by: cann-robot Description: ## 描述 算子的输入输出tensor的rawShape在pass阶段从tile切分后到最后一个pass之间会改变,而临时空间大小由tileshape得到,临时空间中的小块偏移不能直接由输入或输出的rawShape计算而是应由validshape计算 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3574](https://gitcode.com/cann/pypto/issues/3574) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!6918 | 1 month ago | |
fix(tileop): Correct vector operations for differing tile layouts Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7048 merge layout into master fix(tileop): Correct vector operations for differing tile layouts Created-by: Creeeeper Commit-by: bynshard Merged-by: cann-robot Description: ## 描述 部分TileOp在处理时默认输入输出的shape一致但是pass在处理时有可能改变rawshape导致实际计算时跳stride长度不对 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3642](https://gitcode.com/cann/pypto/issues/3642) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!7048 | 30 days ago | |
feat(operation): Fix LogicalAnd And Add Python Test Co-authored-by: Creeeeper<liuyizhe6@huawei.com> # message auto-generated for no-merge-commit merge: !6959 merge py-st into master feat(operation): Fix LogicalAnd And Add Python Test Created-by: Creeeeper Commit-by: Creeeeper Merged-by: cann-robot Description: ## 描述 修复: 1. LogicalAnd输入未预留256B空间,导致在tileop阶段调用TCMP时会出现UB越界。 2. tileop中临时空间偏移未按照validshape来计算。 同时添加临时空间偏移计算相关修复的看护 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3589](https://gitcode.com/cann/pypto/issues/3589) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!6959 | 1 month ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
feat(Operation): Add move_ub_to_ub Co-authored-by: YuYangYang_<yuyangyang13@huawei.com> # message auto-generated for no-merge-commit merge: !7207 merge ub_to_ub into master feat(Operation): Add move_ub_to_ub Created-by: YuYangYang_ Commit-by: YuYangYang_ Merged-by: cann-robot Description: ## 描述 之前采用GM中转的方式实现UB之间数据的搬运,现在直接通过move_ub_to_ub算子完成UB之间的数据搬运 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3678](https://gitcode.com/cann/pypto/issues/3678) ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!7207 | 30 days ago | |
refactor(quant_mx): Remove the redundant scale reshape Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7609 merge mxquant-reshape into master refactor(quant_mx): Remove the redundant scale reshape Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: QuantMX 原先先按内部存储形状生成 scale,再插入一个 Reshape,将 scale 转成 scaled_matmul 所需的尾维为 2 的形状。本次修改让尾轴和次尾轴量化都直接生成这个形状,省去 QuantMX 自动插入的 Reshape,保持对外的 scale 形状和值不变。 当 scale 的所有消费者都直接写回 GM,且目标布局支持紧凑写入时,编译器给 COPY_OUT 打标,codegen 按标记将两个 scale 元素成对写出。如果 scale 还接了显式 reshape,或写回目标是尾轴更宽的 GM 切片,QuantMX 就在 UB 中生成带 padding 的布局,供后续操作按普通布局读取。 See merge request: cann/pypto!7609 | 4 days ago | |
feat(ops): Add NaN propagation control to extrema operators Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7435 merge codex/propagate-nan-current into master feat(ops): Add NaN propagation control to extrema operators Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: 为 amax、 amin、argmax、argmin、maximum 和 minimum 增加编译期参数 propagate_nan,默认值为 True。 默认模式及显式 True 沿用原生实现,包括索引选择行为、类型转换和临时空间。浮点输入显式指定 False 时忽略 NaN,全 NaN 的数值规约返回 NaN,索引规约返回 0。 See merge request: cann/pypto!7435 | 9 days ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
fix(tileop): Correct vector operations for differing tile layouts Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7048 merge layout into master fix(tileop): Correct vector operations for differing tile layouts Created-by: Creeeeper Commit-by: bynshard Merged-by: cann-robot Description: ## 描述 部分TileOp在处理时默认输入输出的shape一致但是pass在处理时有可能改变rawshape导致实际计算时跳stride长度不对 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3642](https://gitcode.com/cann/pypto/issues/3642) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!7048 | 30 days ago | |
feat(ops): Add NaN propagation control to extrema operators Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7435 merge codex/propagate-nan-current into master feat(ops): Add NaN propagation control to extrema operators Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: 为 amax、 amin、argmax、argmin、maximum 和 minimum 增加编译期参数 propagate_nan,默认值为 True。 默认模式及显式 True 沿用原生实现,包括索引选择行为、类型转换和临时空间。浮点输入显式指定 False 时忽略 NaN,全 NaN 的数值规约返回 NaN,索引规约返回 0。 See merge request: cann/pypto!7435 | 9 days ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
refactor(quant_mx): Remove the redundant scale reshape Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7609 merge mxquant-reshape into master refactor(quant_mx): Remove the redundant scale reshape Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: QuantMX 原先先按内部存储形状生成 scale,再插入一个 Reshape,将 scale 转成 scaled_matmul 所需的尾维为 2 的形状。本次修改让尾轴和次尾轴量化都直接生成这个形状,省去 QuantMX 自动插入的 Reshape,保持对外的 scale 形状和值不变。 当 scale 的所有消费者都直接写回 GM,且目标布局支持紧凑写入时,编译器给 COPY_OUT 打标,codegen 按标记将两个 scale 元素成对写出。如果 scale 还接了显式 reshape,或写回目标是尾轴更宽的 GM 切片,QuantMX 就在 UB 中生成带 padding 的布局,供后续操作按普通布局读取。 See merge request: cann/pypto!7609 | 4 days ago | |
feat(operation): Add quant hif4 Co-authored-by: 杨志邈<yangzhimiao@huawei.com> # message auto-generated for no-merge-commit merge: !7229 merge master into master feat(operation): Add quant hif4 Created-by: yangzhimiao Commit-by: 杨志邈 Merged-by: cann-robot Description: 新增算子Quant Hif4。用于A6设备上BF16到Hif4的量化。支持Scale_alg为0/1,尾轴量化。 Related Issue: [#3684](https://gitcode.com/cann/pypto/issues/3684) See merge request: cann/pypto!7229 | 29 days ago | |
feat(operation): Add quant hif4 Co-authored-by: 杨志邈<yangzhimiao@huawei.com> # message auto-generated for no-merge-commit merge: !7229 merge master into master feat(operation): Add quant hif4 Created-by: yangzhimiao Commit-by: 杨志邈 Merged-by: cann-robot Description: 新增算子Quant Hif4。用于A6设备上BF16到Hif4的量化。支持Scale_alg为0/1,尾轴量化。 Related Issue: [#3684](https://gitcode.com/cann/pypto/issues/3684) See merge request: cann/pypto!7229 | 29 days ago | |
fix(operation): Quantize -2轴量化直接移除transpose路径 Co-authored-by: 黄志航<huangzhihang3@huawei.com> # message auto-generated for no-merge-commit merge: !7725 merge quantize_axis_expand into master fix(operation): Quantize -2轴量化直接移除transpose路径 Created-by: qq_45040873 Commit-by: 黄志航 Merged-by: cann-robot Description: Quantize -2轴量化直接移除transpose路径,并重写tileOP不走isa TQuant接口 See merge request: cann/pypto!7725 | 4 days ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
feat(ops): Add NaN propagation control to extrema operators Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7435 merge codex/propagate-nan-current into master feat(ops): Add NaN propagation control to extrema operators Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: 为 amax、 amin、argmax、argmin、maximum 和 minimum 增加编译期参数 propagate_nan,默认值为 True。 默认模式及显式 True 沿用原生实现,包括索引选择行为、类型转换和临时空间。浮点输入显式指定 False 时忽略 NaN,全 NaN 的数值规约返回 NaN,索引规约返回 0。 See merge request: cann/pypto!7435 | 9 days ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
fix(tileop): Correct vector operations for differing tile layouts Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7048 merge layout into master fix(tileop): Correct vector operations for differing tile layouts Created-by: Creeeeper Commit-by: bynshard Merged-by: cann-robot Description: ## 描述 部分TileOp在处理时默认输入输出的shape一致但是pass在处理时有可能改变rawshape导致实际计算时跳stride长度不对 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3642](https://gitcode.com/cann/pypto/issues/3642) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!7048 | 30 days ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
fix(Operation): modify cleancode Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5748 merge fix/docs into master fix(Operation): modify cleancode Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode修改: - 拆分过长的 Operation 和 TileOp 文件 - 重构过长函数并提取重复代码 - 使用公共常量替换 Magic Number - 修复报错日志的拼写和语法问题 - 补充报错日志中的实际参数值 - 删除自定义调试打印 - 清理无用变量和重复实现 - 迁移并补充 Vector Operation 单元测试 See merge request: cann/pypto!5748 | 2 months ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
feat(operation): Add the Digamma methods Co-authored-by: dingsinuo<dingsinuo@huawei.com> # message auto-generated for no-merge-commit merge: !6657 merge digamma into master feat(operation): Add the Digamma methods Created-by: dingsinuo Commit-by: dingsinuo Merged-by: cann-robot Description: 新增digamma(双伽马函数)算子 See merge request: cann/pypto!6657 | 1 month ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 10 days ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 10 days ago | ||
| 9 days ago | ||
| 10 days ago | ||
| 15 days ago | ||
| 5 days ago | ||
| 9 days ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 10 days ago | ||
| 2 months ago | ||
| 30 days ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 30 days ago | ||
| 2 months ago | ||
| 10 days ago | ||
| 10 days ago | ||
| 2 months ago | ||
| 1 month ago | ||
| 10 days ago | ||
| 10 days ago | ||
| 1 month ago | ||
| 30 days ago | ||
| 1 month ago | ||
| 2 months ago | ||
| 30 days ago | ||
| 4 days ago | ||
| 9 days ago | ||
| 2 months ago | ||
| 30 days ago | ||
| 9 days ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 4 days ago | ||
| 29 days ago | ||
| 29 days ago | ||
| 4 days ago | ||
| 2 months ago | ||
| 9 days ago | ||
| 10 days ago | ||
| 2 months ago | ||
| 30 days ago | ||
| 10 days ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 1 month ago | ||
| 10 days ago | ||
| 2 months ago | ||
| 2 months ago |