Can pytorch and libtorch share identical name libraries in same machine?

Hello,as you can see that they both have two large identical name .so:

libtorch_cuda.so
libtorch_cpu.so

Can I delete one side’s .so,and make a soft link from another side?

Hey,

I think this is one of the goal of splitting these but I’m not sure this is possible yet. libtorch_python.so should contain the python specific stuff.
Note that you will need the exact same versions for this to work though.

You can try and see if it works. But this is not guaranteed I’m afraid :confused: