| Files | Last commit | Last update |
|---|---|---|
feat(pypto_pro): Upload for vf problem and pl problem solve Co-authored-by: liuyu<liuyu205@hisilicon.com> # message auto-generated for no-merge-commit merge: !5935 merge master into master feat(pypto_pro): Upload for vf problem and pl problem solve Created-by: liuyu205 Commit-by: liuyu Merged-by: cann-robot Description: Upload for vf problem and pl problem solve See merge request: cann/pypto!5935 | 2 months ago | |
fix(tensor): Fix assemble offset for slice assignment without start and IR dump update Co-authored-by: HuYiSheng01<hys123456aaa@163.com> # message auto-generated for no-merge-commit merge: !5941 merge fix/issue3-assemble-no-start-offset into master fix(tensor): Fix assemble offset for slice assignment without start and IR dump update Created-by: HuYiSheng01 Commit-by: HuYiSheng01 Merged-by: cann-robot Description: loop 循环中 assemble 写法不带起始 start 偏移量时存在精度问题。典型写法: output_tensor[b_idx * tile_b:(b_idx + 1) * tile_b, :h] = left # "[:h]" 不带 start output_tensor[b_idx * tile_b:(b_idx + 1) * tile_b, h:] = right Issue 中最小复现(test_coe_issue.py 1)triple-compare 精度 FAILED,IR 偏移证据为 to offset:[0,-64] to dynoffset:[...,-64]。 修复 Tensor._get_assemble_offset 对 slice(None, stop) 的偏移错算,使不带 start 的切片赋值写入正确位置。 按 Python 切片语义,切片起始位置即写入偏移——start 为 None 时 offset 置 0,否则为 start。同步清理不再使用的 stop/axis 局部变量。 此外,IR 文本 dump 能力增强 IRTextDumper::PrintAttrValue 缺少 std::vector<SymbolicScalar> 类型分支,导致 assemble/view 属性中的动态偏移(toOffset、fromOffset、toValidShape 等)序列化为 "Unsupported" 新增缺失分支,复用文件内已有的 VisitScalarExpr::Visit 打印器。[expr, expr] 列表格式符合 attr_value_list 文法,IRTextLoader round-trip 不受影响 新增 assemble_offset/ IR 快照回归测试(复刻 issue kernel 场景,pil.compile + check_snapshot);重渲染 94 个受影响黄金文件(Unsupported → 真实偏移表达式) Related Issue: #3216 See merge request: cann/pypto!5941 | 2 months ago | |
fix(machine): Replace cpp test of cellmatch bound to pytest Co-authored-by: duanhaotian<duanhaotian@huawei.com> # message auto-generated for no-merge-commit merge: !5648 merge duanhaotian8 into master fix(machine): Replace cpp test of cellmatch bound to pytest Created-by: duanhaotian Commit-by: duanhaotian Merged-by: cann-robot Description: 整改C++St用例 See merge request: cann/pypto!5648 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 2 months ago | ||
| 3 months ago |