已合并
[feat] 支持多流api 入图 #30605
fu_hao创建于 2月6日
[feat] 支持多流api 入图 #30605
已合并
fu_hao创建于 2月6日
fu_hao
fu_hao
2月6日

【合入来源】

(如有)请关联需求文档/issue链接

【修改方案】

请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列
如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容)

1、将dynamo中对原生stream、event、record_event的实现逻辑patch给npu,使npu多流相关的api可以被dynamo追踪入图
2、新增NpuStreamContextVariable类继承自原生的StreamContextVariable,与原生相比多出的逻辑为切流时在图上添加set_stream节点,从而在图上保留切流的信息

【资料变更】

请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及”

不涉及

【接口变更】

请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及”

不涉及

【功能验证】

说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤
新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图

已新增st看护

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 fu_hao 的贡献)
fu_haofu_hao
2月6日 创建了 pull request,commit a3555a70
ascend-robot
ascend-robot成员
2月6日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入.

Module List Reviewers Committers
torch_npu/utils yang-binrong, dilililiwhy, guoqi1024, wasd1111222, rain-666 liwei386, zqwenn, htchu, wangmin0104, medivh-x
test liangsongwei, probiotics_53, culechan, huangyunlong2022, dilililiwhy li_jing_hw, zqwenn, chenhao_1209, wangchao285, liujunzhu
likedislike
ascend-robotascend-robot成员
2月6日 添加了label:ascend-cla/yes
fu_hao
fu_hao
2月6日 评论:

compile

likedislike
此处折叠了62条消息 查看更多
ascend-robotascend-robot成员
3月10日 添加了label:approved
yushikang
yushikang成员
3月10日 评论:

/approve

likedislike
ascend-robotascend-robot成员
3月10日 添加了label:lgtm
ascend-robot
ascend-robot成员
3月10日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: wasd1111222, wangqiang160.
Reviewers who wrote a comment of /lgtm are: wangqiang160, wasd1111222.

likedislike
ascend-robotascend-robot成员
3月10日 合入了pull request