Build procedure is:
umask 022
export PATH="/opt/soft/bin:$PATH"
export PYTHONPATH=/opt/soft/lib/python:$PYTHONPATH
export LD_LIBRARY_PATH="/opt/soft/libexec/gcc/x86_64-pc-linux-gnu/11.2.0:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/opt/soft/lib/gcc/x86_64-pc-linux-gnu/11.2.0/plugin:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/opt/soft/lib/gcc/x86_64-pc-linux-gnu/11.2.0:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/opt/soft/lib64:$LD_LIBRARY_PATH"
git clone --recursive GitHub - pytorch/pytorch: Tensors and Dynamic neural networks in Python with strong GPU acceleration
cd pytorch
export CMAKE_PREFIX_PATH=/opt/soft
export ROCM=0
export CUDA_HOME=/
python3 ./setup.py build
StdOut:
/zvs0qfDB
Cmake cache:
/r5qpsmbf
Output log:
/z8MRQiLN
Error log:
/upKn6u88