已合并
【inductor】fix thread pool when inductor is imported #30476
kkjocker创建于 2月3日
【inductor】fix thread pool when inductor is imported #30476
已合并
kkjocker创建于 2月3日
kkjocker
kkjocker成员
2月3日

【合入来源】

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

【修改方案】

问题:导入 inductor 时会调用 warm_pool 并创建多个线程;
修复:在导入 torch_npu 时禁用多线程创建,仅在真正使用 inductor 时才预热线程池。

【资料变更】

不涉及

【接口变更】

不涉及

【功能验证】

inductor ci用例通过

【CheckList】

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

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 kkjocker 的贡献)
kkjockerkkjocker成员
2月3日 创建了 pull request,commit 6474ea67
ascend-robot
ascend-robot成员
2月3日 评论:

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
test chenhao_1209, chuboning, zhaozhijie, wangqiang160, medivh-x dilililiwhy, chenhao_1209, wangchao430, wangchao285, wangqiang160
repo-Ascend/pytorch zhanj, wangchao285, wangqiang160, li_jing_hw, yuhaiyan zqwenn, htchu, wangmin0104, chenhao_1209, medivh-x
torch_npu/_inductor kuhn7, yuhaiyan, wangchao285, chenhao_1209, chuboning liwei386, chenhao_1209, anyrenwei, guoqi1024, htchu
likedislike
ascend-robotascend-robot成员
2月3日 添加了label:ascend-cla/yes
kkjocker
kkjocker成员
2月3日 评论:

compile

likedislike
此处折叠了52条消息 查看更多
ascend-robotascend-robot成员
2月5日 添加了label:lgtm
王超成员
2月5日 评论:

/approve

likedislike
ascend-robotascend-robot成员
2月5日 添加了label:approved
ascend-robot
ascend-robot成员
2月5日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who wrote a comment of /approve are: wangchao430, zichun_ye, li_jing_hw.
Reviewers who wrote a comment of /lgtm are: zichun_ye, li_jing_hw, wangchao430.

likedislike
ascend-robotascend-robot成员
2月5日 合入了pull request