Closed caikun-pjlab closed 3 months ago
适配pytorch2.2的时候,在dipu里面find_package(torch),如果重复find_package,会有如下报错:
解决方法:如果已经Torch_FOUND,则不需要重新find_package
Before PR:
After PR:
Motivation and Context
适配pytorch2.2的时候,在dipu里面find_package(torch),如果重复find_package,会有如下报错:
解决方法:如果已经Torch_FOUND,则不需要重新find_package
Description
Use cases (Optional)
BC-breaking (Optional)
Checklist
Before PR:
After PR: