python3.8 -m venv venv8
source venv8/bin/activate
pip3 install -r requirements-mac.txt
plaidml-setup
export KERAS_BACKEND="plaidml.keras.backend"
export tg_token="Your telegram token here"
python3.9 -m venv venv
.\venv\Scripts\activate
pip install -r requirements-win-cuda.txt
- Install NVIDIA Drivers: https://www.nvidia.com/drivers
- Install CUDA 11.2 (for TensorFlow 2.7.0): https://developer.nvidia.com/cuda-toolkit-archive
- Download cuDNN 8.1: https://developer.nvidia.com/rdp/cudnn-archive
- Copy folders in
cudnn-11.2-windows-x64-v8.1.1.33\cuda
toC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2
- Copy folders in
- Restart IntelliJ IDEA
python -c "from tensorflow.python.client import device_lib; print(device_lib.list_local_devices())"
yay -S downgrade
sudo pacman -S tensorflow-cuda
sudo downgrade 'cuda=11.2.2' 'cudnn=8.1.1.33'
python -m venv venv
source ./venv/bin/activate
pip install -r requirements-win-cuda.txt
python -c "from tensorflow.python.client import device_lib; print(device_lib.list_local_devices())"