I am trying to install pytorch from source for development involving CUDA, however, I hit the following error on the shared object file. What am I missing?
from torch.distributed.run import main
File "/workspace/pytorch/torch/__init__.py", line 415, in <module>
from torch._C import * # noqa: F403
^^^^^^^^^^^^^^^^^^^^^^
ImportError: /workspace/pytorch/torch/lib/libtorch_python.so: undefined symbol: _ZTIN5torch8inductor28AOTIModelContainerRunnerCudaE
I have followed the steps from GitHub - pytorch/pytorch: Tensors and Dynamic neural networks in Python with strong GPU acceleration with pytorch from commit - fca2601c9d628e1bd2d75c7318cd22c4e8c832aa.
My environment is linux.