Sorry to bother everyone again, but I really need to make myself understand the building structure of PyTorch.
- CMake out-of-source buld: alway can ben done successfully, after my manual configuration.
python setup.py build --cmaketried to build PyTorch independelty, which seems to ignore ALL my out-of-source cmake configuration, even if with
--cmakeconfiguration. And, it looks
python setup.py build --cmakewouldn’t let me manually configure the cmake configurations.
Again, my questions:
- Is there any possibility that when I tried to do
python setup.py build --cmake, it would force to use cmake out-of-source configuration inside subfolder build ?
- Is there a similar command that use ccmake? say:
python setup.py build --ccmake??
- I can clearly tell that by using cmake build, I already successfully built out libtorch_python.so. So, how to use PyTorch in python, without building PyTorch by running
python setup.py build -cmakeand install again? Is it possible? I mean: with
libtorch_pytorch.so, can I load torch module from within python script?
Thank you very much…