已关闭
[Bug-Report|缺陷反馈]: torch_extension jit编译多线程竞争导致编译耗时过长 #5175
丛吉钰创建于  10 天前关闭于  8 天前
丛吉钰
丛吉钰成员
10 天前 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

仓内torch采用jit在线编译,当父进程调用多个子进程时,如果没有编译过,那么子进程每个进程都会编译一次so,导致编译耗时变高。

Environment / 环境信息 (Mandatory / 必填)

无关

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

父进程启用多个子进程,编译torch算子

Describe the expected behavior / 预期结果 (Mandatory / 必填)

编译耗时短

Special notes for this issue/备注 (Optional / 选填)

likedislike
丛吉钰丛吉钰成员
10 天前 添加了label:bug-report
丛吉钰丛吉钰成员
10 天前 将 cong-jiyu 设为负责人
丛吉钰丛吉钰成员
8 天前 issue状态由 进行中 改变为 已解决
丛吉钰丛吉钰成员
8 天前 关闭了 issue
CANN-robotCANN-robot成员
8 天前 添加了label:resolved