Solved by Veril in post #10 
              
              
                PyTroch is now successfully installed and functioning. 
Solution: 
dnf install https://negativo17.org/repos/nvidia/fedora-31/x86_64/cuda-gcc-8.3.0-1.fc31.x86_64.rpm
dnf install https://negativo17.org/repos/nvidia/fedora-31/x86_64/cuda-gcc-c++-8.3.0-1.fc31.x86_64.rpm
CC=cuda-gcc CXX=cuda-g++ python s…