1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-11-27 05:39:45 +01:00

python: added note regarding cuda gpu compatibility

This commit is contained in:
2025-11-24 01:59:33 +01:00
parent 0592f59b7a
commit 0d96d019c8

View File

@@ -30,7 +30,7 @@ A guide and description of the usage can be found on [gioele.io](https://gioele.
This section is based on a guide by [Linuxize](https://linuxize.com/post/how-to-install-python-3-9-on-ubuntu-20-04/). This section is based on a guide by [Linuxize](https://linuxize.com/post/how-to-install-python-3-9-on-ubuntu-20-04/).
On [Linux-based systems](/wiki/linux.md) Python can be easily installed using make. On [Linux-based systems](/wiki/linux.md) Python can be easily installed using make.
The following shows a process of installing Python 3.9.1. The following shows a process of installing Python `3.9.1`.
When another Python version is needed the version number has to be adapted accordingly. When another Python version is needed the version number has to be adapted accordingly.
First make sure all the dependencies are installed. First make sure all the dependencies are installed.
@@ -165,6 +165,11 @@ This section addresses the [PyTorch module](https://pytorch.org/).
#### Setup Pytorch with Cuda for GPU usage #### Setup Pytorch with Cuda for GPU usage
Please note that according to
[various sources](https://www.reddit.com/r/archlinux/comments/1nxipcu/nvidia_pascal/gpu_not_supporting_cuda_13_can_i)
Cuda 13 does not support nVidia Pascal GPUs.
In this case an earlier version of Cuda has to be used.
If you are on Arch Linux or a distribution based on it install If you are on Arch Linux or a distribution based on it install
`python-pytorch-cuda` via `pacman -S python-pytorch-cuda`. `python-pytorch-cuda` via `pacman -S python-pytorch-cuda`.