| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
【inductor】Temporarily close some inductor ci tests, accelarate ci access control Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30303 merge v2.8.0 into v2.8.0 【inductor】Temporarily close some inductor ci tests, accelarate ci access control Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30303 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[fix]trace_fix Co-authored-by: cuiduo<cuiduo1@huawei.com> # message auto-generated for no-merge-commit merge: !31328 merge v2.8.0 into v2.8.0 [fix]trace_fix Created-by: cuiduo Commit-by: cuiduo Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改trace_rule,解决部分API入图不一致问题 # 【资料变更】 > 不涉及 # 【接口变更】 > 不涉及 # 【功能验证】 > 本地验证通过 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!31328 | 5 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
添加图优化pass[v2.8.0] Co-authored-by: zhoujinning<zhoujinning2@huawei.com> # message auto-generated for no-merge-commit merge: !28914 merge v2.8.0_1 into v2.8.0 添加图优化pass[v2.8.0] Created-by: zhoujinning Commit-by: zhoujinning Merged-by: ascend-robot Description: 添加图优化pass[v2.8.0] See merge request: Ascend/pytorch!28914 | 7 个月前 | |
【inductor】fix thread pool when inductor is imported Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30477 merge v2.8.0 into v2.8.0 【inductor】fix thread pool when inductor is imported Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > (如有)请关联需求文档/issue链接 - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 问题:导入 inductor 时会调用 warm_pool 并创建多个线程; 修复:在导入 torch_npu 时禁用多线程创建,仅在真正使用 inductor 时才预热线程池。 # 【资料变更】 > 不涉及 # 【接口变更】 > 不涉及 # 【功能验证】 > inductor ci用例通过 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!30477 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
api_trace_rule_changes Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !30539 merge v2.8.0 into v2.8.0 api_trace_rule_changes Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > (如有)请关联需求文档/issue链接 - [x] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 修改trace_rule.py文件,确保NPU部分API在图模式下,入图行为与标杆一致。修改set-rng_state函数处理多余算子以及torch.npu.current_device白名单处理以确保算子生成fx图与标杆一致。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 新增测试文件test/_inductor/test_npu_current_device.py,参与ut看护 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!30539 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
fix_device_dynamo_trace Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !31558 merge v2.8.0 into v2.8.0 fix_device_dynamo_trace Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 现场问题 torch.device在原生中为skipVariable 而pta把他归为TorchInGraphFunctionVariable,在dynamo阶段会出现trcae失败的问题。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 社区issue测试,以及现场问题反馈的用例 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!31558 | 5 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
cpu_compile Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !28486 merge v2.8.0 into v2.8.0 cpu_compile Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes #解决了在cpu上运行torch.compile时会遇到device_op_overrides_dict中不存在"cpu"key的问题 **Special notes for your reviewers**: See merge request: Ascend/pytorch!28486 | 7 个月前 | |
add_guard Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !31897 merge v2.8.0 into v2.8.0 add_guard Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 https://codehub-y.huawei.com/c00502729/PTA_56_testing/issues/105 将torch.npu.current_device添加进guard列表中,触发重编译。 https://codehub-y.huawei.com/c00502729/PTA_56_testing/issues/82 添加trace_rule避免断图 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 社区用例验证 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!31897 | 5 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
rewrite_dropout_meta_and_decompose Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !33664 merge v2.8.0 into v2.8.0 rewrite_dropout_meta_and_decompose Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [ ] issue/工单 - [x] 重构优化 - [ ] 资料更新 # 【修改方案】 把mlir和triton侧对dropout以及dropout_backward的meta和decompose注册整合到了新的文件torch_npu/utils/_npu_meta_registration.py中,避免框架中的多余注册,并添加了UT对dropout进行看护。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 补充UT,并且触发了框架的UT,运行通过。 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!33664 | 4 个月前 | |
fix_rng_state Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !32366 merge v2.8.0 into v2.8.0 fix_rng_state Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 https://codehub-y.huawei.com/c00502729/PTA_56_testing/issues/119 添加了在dynamo中对fakertensor device的支持 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 自行补充UT验证,并重新执行test验证 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!32366 | 4 个月前 | |
dvm: refactor ws alloc paths and reorder pybind_api functions Co-authored-by: huangchengnuo<huangchengnuo1@huawei.com> # message auto-generated for no-merge-commit merge: !31780 merge hcn/dvm-to-v2.8-pr-23f022a7 into v2.8.0 dvm: refactor ws alloc paths and reorder pybind_api functions Created-by: SorryNaCN Commit-by: huangchengnuo Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!31780 | 4 个月前 | |
inductor: port DVM support to v2.8 Co-authored-by: huangchengnuo<huangchengnuo1@huawei.com> # message auto-generated for no-merge-commit merge: !31058 merge dvm-to-v2.8-pr into v2.8.0 inductor: port DVM support to v2.8 Created-by: SorryNaCN Commit-by: huangchengnuo Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> ## What type of PR is this? /kind feature ## What does this PR do / why do we need it 本 PR 将 v2.7.1 分支中的 DVM 相关能力迁移到 v2.8.0,为 inductor 增加 DVM 融合支持,并补齐绑定、构建与测试。 主要改动: - 引入 DVM 第三方依赖并接入构建 - 新增/迁移 DVM inductor 融合流水线代码 - 新增 DVM C++ pybind 接口并在 _C 初始化阶段注册 - 补充 DVM 相关测试与 public bindings 清单 - 调整 inductor 后端选择逻辑,支持 npu_backend=dvm --- ## DVM 融合模式说明(按当前代码更新) 当前 DVM 支持两种融合路径: 1. mlir_fusion:复用 Inductor-MLIR 主流程,只替换融合范围与 codegen 引擎为 DVM 2. graph_fusion:独立图分区融合路径,通过 CapabilityBasedPartitioner 做子图融合并落到 DVM ### 1) mlir_fusion 设计: - 复用 Inductor-MLIR 编译流程 - 在融合子图阶段按 DVM 支持规则筛选 - 使用 DVM codegen 生成并执行融合 kernel 特点: - 与现有 inductor/mlir 链路协同,接入成本低 - 融合行为与主编译流程一致性更好 ### 2) graph_fusion 设计: - 通过 DvmGraphFusionPatch 挂接 post-grad pass - 使用 CapabilityBasedPartitioner 划分可融合子图 - 生成 dvm::fused_graph_* 自定义算子并在代码生成阶段替换为 DVM kernel 调用 特点: - 独立融合路径,可扩展性强 - pattern 控制更灵活 > dvm_graph_fused_* 命名来自 graph fusion 路径(dvm_graph_fusion(...) pass 生成融合子图名)。 --- ## 使用方式(更新后的正确接口) ### A. 启用 mlir_fusion 路径 推荐三种方式(二选一即可): 1. config 方式 python import torch import torch_npu import torch_npu._inductor torch._inductor.config.npu_backend = "dvm" compiled = torch.compile(model, backend="inductor", dynamic=True) out = compiled(*inputs) 2. options 方式 python compiled = torch.compile( model, backend="inductor", dynamic=True, options={"npu_backend": "dvm"} ) 3. 环境变量方式(需在 torch.compile 前设置) python import os os.environ["TORCHINDUCTOR_NPU_BACKEND"] = "dvm" ### B. 启用 graph_fusion 路径 python import torch import torch_npu from torch_npu._inductor.dvm.graph_fusion import DvmGraphFusionPatch with DvmGraphFusionPatch(): compiled = torch.compile(model, backend="inductor", dynamic=False) out = compiled(*inputs) --- ## 两种模式对比 | 模式 | 依赖 Inductor-MLIR 主流程 | Pattern 控制 | 典型命名 | 备注 | | - | - | - | - | - | | mlir_fusion | 是 | 中 | dvm_fused_* | 推荐默认接入路径 | | graph_fusion | 否(独立图分区) | 高 | dvm_graph_fused_* | 更适合定制/实验性融合 | **注意:矩阵相关算子(mm/bmm/addmm)仅在 graph_fusion 融合模式支持。** --- ## Which issue(s) this PR fixes Fixes # ## Special notes for your reviewers - 本 PR 为跨版本迁移,核心逻辑与 v2.7.1 DVM 实现保持一致,冲突已按 v2.8.0 基线语义对齐。 - 建议重点 review: - _C 初始化与 DVM pybind 注册 - torch_npu._inductor 后端分支与 npu_backend=dvm 使能逻辑 - mlir_fusion / graph_fusion 两条路径的行为一致性 See merge request: Ascend/pytorch!31058 | 5 个月前 | |
dvm: refactor ws alloc paths and reorder pybind_api functions Co-authored-by: huangchengnuo<huangchengnuo1@huawei.com> # message auto-generated for no-merge-commit merge: !31780 merge hcn/dvm-to-v2.8-pr-23f022a7 into v2.8.0 dvm: refactor ws alloc paths and reorder pybind_api functions Created-by: SorryNaCN Commit-by: huangchengnuo Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!31780 | 4 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
API Conflict Fix Co-authored-by: cuiduo<cuiduo1@huawei.com> # message auto-generated for no-merge-commit merge: !30595 merge v2.8.0 into v2.8.0 API Conflict Fix Created-by: cuiduo Commit-by: cuiduo Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > (如有)请关联需求文档/issue链接 - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > API问题修复,修改trace_rule文件 # 【资料变更】 > 不涉及 # 【接口变更】 > 不涉及 # 【功能验证】 > 变更内容已适配看护 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!30595 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
【inductor】Temporarily close some inductor ci tests, accelarate ci access control Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30303 merge v2.8.0 into v2.8.0 【inductor】Temporarily close some inductor ci tests, accelarate ci access control Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30303 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
【inductor】Temporarily close some inductor ci tests, accelarate ci access control Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30303 merge v2.8.0 into v2.8.0 【inductor】Temporarily close some inductor ci tests, accelarate ci access control Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30303 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
【inductor】Temporarily close some inductor ci tests, accelarate ci access control Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30303 merge v2.8.0 into v2.8.0 【inductor】Temporarily close some inductor ci tests, accelarate ci access control Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30303 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
【inductor】fix inductor ci bug Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30190 merge v2.8.0 into v2.8.0 【inductor】fix inductor ci bug Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: 修复inductor ci bug **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30190 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
Enable deterministic computation for MaxUnpool1d, 2d, 3d in Inductor Co-authored-by: yvjc<yujincheng7@huawei.com> # message auto-generated for no-merge-commit merge: !29874 merge deter280 into v2.8.0 Enable deterministic computation for MaxUnpool1d, 2d, 3d in Inductor Created-by: yvjc Commit-by: yvjc Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: 在Inductor中为MaxUnpool1d、MaxUnpool2d、MaxUnpool3d操作启用确定性计算。通过重新实现torch._decomp.decompositions._max_unpoolnd分解函数,确保在NPU设备上使用torch.compile编译时,MaxUnpool操作能够产生确定性的输出结果,与PyTorch的确定性算法行为保持一致。 **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: 该PR包含了对MaxUnpool1d、2d、3d的单元测试,测试覆盖了float16和float32数据类型,以及不同的kernel_size和stride参数组合,验证了Inductor编译前后的结果一致性。 See merge request: Ascend/pytorch!29874 | 6 个月前 | |
[fix]mlir_enable Co-authored-by: cuiduo<cuiduo1@huawei.com> # message auto-generated for no-merge-commit merge: !31966 merge v2.8.0 into v2.8.0 [fix]mlir_enable Created-by: cuiduo Commit-by: cuiduo Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请修改MLIR使能方式,新增MLIR测试用例进行维护 # 【资料变更】 > 不涉及 # 【接口变更】 > 不涉及” # 【功能验证】 > 已包含UT # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!31966 | 5 个月前 | |
API_trace_relu changes Co-authored-by: cuiduo<cuiduo1@huawei.com> # message auto-generated for no-merge-commit merge: !30394 merge v2.8.0 into v2.8.0 API_trace_relu changes Created-by: cuiduo Commit-by: cuiduo Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > (如有)请关联需求文档/issue链接 - [x] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改trace_rule.py文件,确保NPU部分API在图模式下,入图行为与标杆一致。修改set-rng_state函数处理多余算子以及torch.npu.current_device白名单处理以确保算子生成fx图与标杆一致。 # 【资料变更】 > 不涉及 # 【接口变更】 > 不涉及 # 【功能验证】 > 新增测试文件test/_inductor/test_npu_current_device.py,参与ut看护 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!30394 | 6 个月前 | |
modify the file path Co-authored-by: lihui<lihui488@huawei.com> # message auto-generated for no-merge-commit merge: !29122 merge v2.8.0 into v2.8.0 modify the file path Created-by: lihui488 Commit-by: lihui Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!29122 | 7 个月前 | |
[fix] test_npu_graph_attention_function Co-authored-by: zqwenn<zhangqiongwen@huawei.com> # message auto-generated for no-merge-commit merge: !28990 merge v2.8.0_fa_graph_fix into v2.8.0 [fix] test_npu_graph_attention_function Created-by: zqwenn Commit-by: zqwenn Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!28990 | 7 个月前 | |
autograd_pass_for_FA Co-authored-by: LG<luguang6@huawei.com> # message auto-generated for no-merge-commit merge: !30285 merge autograd_pass_for_FA_v2.8 into v2.8.0 autograd_pass_for_FA Created-by: Lu_G Commit-by: LG Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: 在pre grad阶段添加了pass将不支持图模式的FA和FAG接口调用转移到支持图模式的对应接口上。 **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30285 | 5 个月前 | |
fix the circular dependency issue & add ut Co-authored-by: liangsongwei<liangsongwei@huawei.com> # message auto-generated for no-merge-commit merge: !26174 merge v2.8.0 into v2.8.0 fix the circular dependency issue & add ut Created-by: liangsongwei Commit-by: liangsongwei Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!26174 | 9 个月前 | |
AI assist developer for python dt fourth batch for 2.8.0 Co-authored-by: deepSeekya<chenzhihan6@huawei.com> # message auto-generated for no-merge-commit merge: !27367 merge v2.8.0 into v2.8.0 AI assist developer for python dt fourth batch for 2.8.0 Created-by: deepSeekya Commit-by: deepSeekya Merged-by: ascend-robot Description: 【合入说明】 AI辅助研发python dt测试用例生成。 【合入来源】 AI辅助研发需求 dt测试文件覆盖率提升。 See merge request: Ascend/pytorch!27367 | 8 个月前 | |
skip npu sync func to v2.8.0 Co-authored-by: lihui<lihui488@huawei.com> # message auto-generated for no-merge-commit merge: !27582 merge v2.8.0 into v2.8.0 skip npu sync func to v2.8.0 Created-by: lihui488 Commit-by: lihui Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!27582 | 8 个月前 | |
wrap_triton Co-authored-by: 1479518308<cuiduo1@huawei.com> # message auto-generated for no-merge-commit merge: !26742 merge v2.8.0 into v2.8.0 wrap_triton Created-by: cuiduo Commit-by: 1479518308 Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > /kind task **What does this PR do / why do we need it**:Add wrap_triton function adaptation. Add triton operator adaptation modules in the files torch._inductor.lowering.py and torch._inductor.lowering_fx.py. Add triton_kernel_wrapper_mutation to the whitelist in the file torch._inductor.lowering_op_list.py. **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes #Fixes the issue where custom Triton operators under the wrap_triton function fail to function as expected. See merge request: Ascend/pytorch!26742 | 8 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
【inductor】Temporarily close some inductor ci tests, accelarate ci access control Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30303 merge v2.8.0 into v2.8.0 【inductor】Temporarily close some inductor ci tests, accelarate ci access control Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30303 | 6 个月前 | |
[fix]tiling_key_error Co-authored-by: cuiduo<cuiduo1@huawei.com> # message auto-generated for no-merge-commit merge: !32356 merge v2.8.0 into v2.8.0 [fix]tiling_key_error Created-by: cuiduo Commit-by: cuiduo Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 >1. 在codegen的tiling阶段,会调用get_axis_dtype来获取node的type,当axis为sympy.Expr类时会报错 > >File "/home/cuiduo/miniconda3/envs/py311/lib/python3.11/site-packages/torch_npu/_inductor/codegen/triton.py", line 790, in get_axis_dtype >dim = self.range_tree_nodes_removed[key] >torch ._ dynamo. exc. BackendCompilerFailed: backend='inductor' raised: >KeyError: x2 + 512*y1 + 2048*z0 > >因此需要增加校验,提取sympy.Expr中的Symbol以进行dtype的判断 2.在fold类fx_pass的入口处添加stable_topological_sort(gm)进行排序,避免乱序图带来的影响 # 【资料变更】 > 不涉及 # 【接口变更】 >不涉及 # 【功能验证】 > 自验完成 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!32356 | 4 个月前 | |
[fix]meta_check-on_rebuild-npu_tensor Co-authored-by: cuiduo<cuiduo1@huawei.com> # message auto-generated for no-merge-commit merge: !32899 merge v2.8.0 into v2.8.0 [fix]meta_check-on_rebuild-npu_tensor Created-by: cuiduo Commit-by: cuiduo Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 >函数_rebuild_npu_tensor在输入为faketensor的情况下,无法在NPU上进行数据创建,需要增加faketensor检测,在设备为meta的情况下补充fake_device信息 # 【资料变更】 > 不涉及 # 【接口变更】 > 不涉及 # 【功能验证】 > 本地验证通过 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!32899 | 4 个月前 | |
add_random_op Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !30653 merge v2.8.0 into v2.8.0 add_random_op Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > (如有)请关联需求文档/issue链接 - [x] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 通过对原生rng实现代码打patch的方法注册npu设备的实现。主要主要针对\torch\_prims\rng_prims.py 中的philox_rand_offset,philox_rand_offset_meta,register_philox_rand,register_run_and_save_rng_state_op,register_run_with_rng_state_op这些代码。其中_philox_rand 此函数原生调用中不传入设备类型,修改为传入设备npu。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 编写UT进行测试,可以保证在固定随机种子的情况下eager,inductor可以得到相同的结果(如有需要可提供截图) # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!30653 | 6 个月前 | |
add_random_op Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !30653 merge v2.8.0 into v2.8.0 add_random_op Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > (如有)请关联需求文档/issue链接 - [x] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 通过对原生rng实现代码打patch的方法注册npu设备的实现。主要主要针对\torch\_prims\rng_prims.py 中的philox_rand_offset,philox_rand_offset_meta,register_philox_rand,register_run_and_save_rng_state_op,register_run_with_rng_state_op这些代码。其中_philox_rand 此函数原生调用中不传入设备类型,修改为传入设备npu。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 编写UT进行测试,可以保证在固定随机种子的情况下eager,inductor可以得到相同的结果(如有需要可提供截图) # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!30653 | 6 个月前 | |
【inductor】Temporarily close some inductor ci tests, accelarate ci access control Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30303 merge v2.8.0 into v2.8.0 【inductor】Temporarily close some inductor ci tests, accelarate ci access control Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30303 | 6 个月前 | |
add_random_op Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !30653 merge v2.8.0 into v2.8.0 add_random_op Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > (如有)请关联需求文档/issue链接 - [x] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 通过对原生rng实现代码打patch的方法注册npu设备的实现。主要主要针对\torch\_prims\rng_prims.py 中的philox_rand_offset,philox_rand_offset_meta,register_philox_rand,register_run_and_save_rng_state_op,register_run_with_rng_state_op这些代码。其中_philox_rand 此函数原生调用中不传入设备类型,修改为传入设备npu。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 编写UT进行测试,可以保证在固定随机种子的情况下eager,inductor可以得到相同的结果(如有需要可提供截图) # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!30653 | 6 个月前 | |
fix_rng_state Co-authored-by: sunhaolun<sunhaolun3@huawei.com> # message auto-generated for no-merge-commit merge: !32366 merge v2.8.0 into v2.8.0 fix_rng_state Created-by: sunhaolun Commit-by: sunhaolun Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 https://codehub-y.huawei.com/c00502729/PTA_56_testing/issues/119 添加了在dynamo中对fakertensor device的支持 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 自行补充UT验证,并重新执行test验证 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!32366 | 4 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
meta_check Co-authored-by: cuiduo<cuiduo1@huawei.com> # message auto-generated for no-merge-commit merge: !29892 merge v2.8.0 into v2.8.0 meta_check Created-by: cuiduo Commit-by: cuiduo Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug **Which issue(s) this PR fixes**:Fix the "unknown format type" error for resize_as_ and squeeze_ operators in Triton mode, ensuring their proper integration into Inductor. See merge request: Ascend/pytorch!29892 | 6 个月前 | |
【inductor】Temporarily close some inductor ci tests, accelarate ci access control Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30303 merge v2.8.0 into v2.8.0 【inductor】Temporarily close some inductor ci tests, accelarate ci access control Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30303 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
add torch mlir ut case Co-authored-by: bigprestigee1<zhangyican@huawei.com> # message auto-generated for no-merge-commit merge: !31637 merge v2.8.0 into v2.8.0 add torch mlir ut case Created-by: bigprestigee1 Commit-by: bigprestigee1 Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!31637 | 5 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
【fix】 fix inductor upcast_to_fp32 codegen Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !33344 merge v2.8.0_main into v2.8.0 【fix】 fix inductor upcast_to_fp32 codegen Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> 补充codegen将fp16和bfp16升精度到32的逻辑 # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) # 【资料变更】 > 不涉及 # 【接口变更】 > 不涉及 # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!33344 | 4 个月前 | |
[fix]user_autotune_npu Co-authored-by: cuiduo<cuiduo1@huawei.com> # message auto-generated for no-merge-commit merge: !32036 merge v2.8.0 into v2.8.0 [fix]user_autotune_npu Created-by: cuiduo Commit-by: cuiduo Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!32036 | 5 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
【inductor】fix inductor ci bug Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30190 merge v2.8.0 into v2.8.0 【inductor】fix inductor ci bug Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: 修复inductor ci bug **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30190 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 | |
【inductor】Temporarily close some inductor ci tests, accelarate ci access control Co-authored-by: kkjocker<hexuanyu1@huawei.com> # message auto-generated for no-merge-commit merge: !30303 merge v2.8.0 into v2.8.0 【inductor】Temporarily close some inductor ci tests, accelarate ci access control Created-by: kkjocker Commit-by: kkjocker Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!30303 | 6 个月前 | |
[inductor] inductor support 2.8 Co-authored-by: duchengkun<duchengkun1@huawei.com> # message auto-generated for no-merge-commit merge: merge inductor_2.8 into v2.8.0 [inductor] inductor support 2.8 Created-by: duchengkun Commit-by: duchengkun Merged-by: ascend-robot Description: inductor支持2.8 - 在2.7的基础上做的修改 - 2.8的修改可以通过[inductor 2.8](https://gitcode.com/Ascend/pytorch/commit/231b7d2e904f4c33d934acc04c3454884540e79b?ref=inductor_2.8&prId=25003)这个commit查看,为了方便检视,暂时不做commit squash See merge request: Ascend/pytorch!25003 | 10 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 10 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 5 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 7 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 5 个月前 | ||
| 10 个月前 | ||
| 7 个月前 | ||
| 5 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 5 个月前 | ||
| 4 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 5 个月前 | ||
| 6 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 5 个月前 | ||
| 9 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 4 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 5 个月前 | ||
| 10 个月前 | ||
| 4 个月前 | ||
| 5 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 10 个月前 | ||
| 6 个月前 | ||
| 10 个月前 |