已合并
【inductor】fix thread pool when inductor is imported #30477
kkjocker创建于 2月3日
【inductor】fix thread pool when inductor is imported #30477
已合并
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 8b50e4fe
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 qinchuanyu, wangchao285, yangkaixin, culechan, ShaoFeifan rain-666, zichun_ye, htchu, weizhan4, wasd1111222
repo-Ascend/pytorch kuhn7, culechan, chenhao_1209, dilililiwhy, duchengkun guoqi1024, li_jing_hw, dilililiwhy, shaoyf, wasd1111222
torch_npu/_inductor yangkaixin, huangyunlong2022, kuhn7, chuboning, yuhaiyan yangkaixin, zichun_ye, weizhan4, guoqi1024, htchu
likedislike
ascend-robotascend-robot成员
2月3日 添加了label:ascend-cla/yes
kkjocker
kkjocker成员
2月3日 评论:

compile

likedislike
此处折叠了53条消息 查看更多
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: li_jing_hw, wangchao430, zichun_ye.
Reviewers who wrote a comment of /lgtm are: wangchao430, zichun_ye, li_jing_hw.

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