elenacliu / pytorch_cuda_driver_compatibilities

Quick check of compatible versions of PyTorch, Python, CUDA, cuDNN, NVIDIA driver! 实现 PyTorch, Python, CUDA, cuDNN, NVIDIA driver 兼容版本速查!

Home Page:https://elenacliu-pytorch-cuda-driver.streamlit.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyTorch (on Linux64) Installation Environment Selection

Streamlit App

The project is a utility tool for PyTorch installation on Linux64 machine.

Compute Capabilities of each PyTorch Package

pytorch_compute_capabilities.py checks the compute capabalities of each pytorch package in the PyTorch conda channel by running cuobjdump from the CUDA Toolkit on the included *.so files.

For results see table.csv.

Start Web Service for Environment Selection

Run streamlit run app.py in your terminal, or you can visit this web page.

Usage

Just select the PyTorch (or Python or CUDA) version or compute capability you have, the page will give you the available combinations.

For example, if you want to install PyTorch v1.7.1 through conda, Python of your conda environment is v3.8 and the GPU you use is Tesla V100, then you can choose the following option to see the environment constraints.

page

If there is no output, that means your needs possibly cannot be satisfied.

If you cannot find older cuDNN version from conda channels (such as -c nvidia, -c conda-forge, -c anaconda, -c main), you can find archive packages here.

Acknowledgement

This repo is inherited from https://github.com/moi90/pytorch_compute_capabilities of Simon-Martin Schröder. I reuse the code pytorch_compute_capabilities.py to collect version constraints.

References

Here are some great resources that provide insight into compatibility of cuda:

https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#major-components

https://jia.je/software/2021/12/26/nvidia-cuda/

https://jia.je/software/2022/07/06/install-nvidia-cuda/

https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/

https://github.com/moi90/pytorch_compute_capabilities

About

Quick check of compatible versions of PyTorch, Python, CUDA, cuDNN, NVIDIA driver! 实现 PyTorch, Python, CUDA, cuDNN, NVIDIA driver 兼容版本速查!

https://elenacliu-pytorch-cuda-driver.streamlit.app/

License:Other


Languages

Language:Python 100.0%