Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
仓内torch采用jit在线编译,当父进程调用多个子进程时,如果没有编译过,那么子进程每个进程都会编译一次so,导致编译耗时变高。
无关
父进程启用多个子进程,编译torch算子
编译耗时短
无
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 / 必填)
编译耗时短
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
无
Special notes for this issue/备注 (Optional / 选填)