| Files | Last commit | Last update |
|---|---|---|
Add scalar limit check for int and float Co-authored-by: gaoxiang<gaoxiang26@huawei.com> # message auto-generated for no-merge-commit merge: !5812 merge master into master Add scalar limit check for int and float Created-by: gaoxiang618 Commit-by: gaoxiang Merged-by: cann-robot Description: 1. 增加对于pl和vf接口的scalar范围校验 2. 修正vf接口的scalar类型推导 See merge request: cann/pypto!5812 | 2 months ago | |
feat(pypto_pro): add tile_group auto mutex-id Co-authored-by: cfy111<chenfengyu3@huawei.com> # message auto-generated for no-merge-commit merge: !6209 merge master into master feat(pypto_pro): add tile_group auto mutex-id Created-by: cfy111 Commit-by: cfy111 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!6209 | 2 months ago | |
feat(pypto_pro): replace internal 'a5' with NPUArch enum Co-authored-by: m0_55221889<chenliwen12@huawei.com> # message auto-generated for no-merge-commit merge: !6705 merge docs/fix-arch into master feat(pypto_pro): replace internal 'a5' with NPUArch enum Created-by: m0_55221889 Commit-by: m0_55221889 Merged-by: cann-robot Description: ## 背景 a5 为内部芯片代号,不应对外暴露。__NPU_ARCH__ 官方架构版本号中,Ascend 950PR/950DT 系列对应 **3510**(Atlas A2/A3 为 2201,训练系列为 1001)。本 PR 将 Pro 侧 arch 身份整体切换为 3510,并把散落的字符串字面量统一收敛到枚举。 ## 改动内容(5 个提交) **1. rename + fixtures + docs**:pl.jit(arch="3510")、combo/编译配置表键、比较逻辑、错误消息、产物目录名 build/<kernel>__3510__d0 及 pro 指南文档,全量替换。 **2. C++ 枚举化**:CCECodegen::arch_ 由 std::string 改为复用既有 NPUArch 枚举(与 base codegen 对齐);platform.h 新增 ParseNPUArch(数值串 + legacy 别名 a5/a2/a3,未知返 DAV_UNKNOWN);backends 15 处比较、archToIni 映射全部枚举化。 **3. Python 枚举化**:新增叶子模块 pypto_pro/_arch.py——NpuArch(IntEnum)(镜像 C++ 枚举)+ parse_arch()。 PYPTOPRO_JIT_ARCH 恒存规范值 "3510";即使传 a5,产物目录也统一为 __3510__。 ## 向后兼容 - pl.jit(arch="a5") 等全部公开入口:**警告但放行**(DeprecationWarning + 归一),不报错 - C++ ParseNPUArch 静默接受 a5/a2/a3 → 57 处既有 C++ 测试 fixture **零改动**,同时构成别名解析的隐式回归覆盖 See merge request: cann/pypto!6705 | 1 month ago | |
feat(machine): Support offline compilation and packaging Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4974 merge jd into master feat(machine): Support offline compilation and packaging Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 支持离线打包二进制 See merge request: cann/pypto!4974 | 3 months ago | |
fix(pypto_pro): add Scaling and Bias capacity mappings Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !6915 merge fixdocs into master fix(pypto_pro): add Scaling and Bias capacity mappings 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!6915 | 1 month ago |