Closed olevitt closed 11 months ago
Hi !
At the moment when installing torch we don't specify any cuda version which results in cuda 12 libraries although we are on base 11. See https://github.com/InseeFrLab/images-datascience/blob/34d7d6acf3a087468415c627d658d51636a716b4/python-pytorch/Dockerfile#L10C26-L10C26 We should consider pinning the cuda version using something like :
torch
pip install torch --force-reinstall --index-url https://download.pytorch.org/whl/cu118 pip install torchvision --force-reinstall --index-url https://download.pytorch.org/whl/cu118
Thank's, done in 32d19216e9a07076f12ac110cf02d73f53d1ebe5
Hi !
At the moment when installing
torch
we don't specify any cuda version which results in cuda 12 libraries although we are on base 11. See https://github.com/InseeFrLab/images-datascience/blob/34d7d6acf3a087468415c627d658d51636a716b4/python-pytorch/Dockerfile#L10C26-L10C26We should consider pinning the cuda version using something like :