Closed slark-prime closed 1 year ago
sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11
CUDA_VISIBLE_DEVICES=1 python test.py
chmod +x run_tests.sh ./run_tests.sh
Test some variables to see where the problem is: