[F] Fix tutorial for arch
This commit is contained in:
@@ -51,12 +51,19 @@ python -c "from tensorflow.python.client import device_lib; print(device_lib.lis
|
|||||||
|
|
||||||
### Arch Linux (CUDA)
|
### Arch Linux (CUDA)
|
||||||
|
|
||||||
|
#### Install CUDA
|
||||||
|
|
||||||
|
```shell
|
||||||
|
yay -S downgrade
|
||||||
|
sudo pacman -S tensorflow-cuda
|
||||||
|
sudo downgrade 'cuda=11.2.2' 'cudnn=8.1.1.33'
|
||||||
|
```
|
||||||
|
|
||||||
#### Python (3.9.11)
|
#### Python (3.9.11)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
source ./venv/bin/activate
|
source ./venv/bin/activate
|
||||||
pip install -r requirements-win-cuda.txt
|
pip install -r requirements-win-cuda.txt
|
||||||
sudo pacman -S tensorflow-cuda
|
|
||||||
python -c "from tensorflow.python.client import device_lib; print(device_lib.list_local_devices())"
|
python -c "from tensorflow.python.client import device_lib; print(device_lib.list_local_devices())"
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user