text-generation-webui
text-generation-webui copied to clipboard
start_install.sh can check driver version before installation
Description
The start_install.sh
script should check your driver before installation, not after.
Additional Context
The installation script asked if I wanted to use CUDA 12.1 or 11.8. The message said that I should select 'No' if I have RTX or GTX. I have RTX 3080, so per the prompt message I selected 'No', but I knew my drivers were older drivers, and only compatible with 11.4, so I was very skeptical.
Only after the installation did I get the message: "RuntimeError: The NVIDIA driver on your system is too old (found version 11040). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver."
Updating my driver is a pain, when I update everything breaks, so I avoid this. Couldn't the install script check your driver version before the installation and notify you before instead of after?