audiocraft icon indicating copy to clipboard operation
audiocraft copied to clipboard

Model Crashes on HuggingFace because of Outdated NVIDIA driver!

Open rezamora opened this issue 1 year ago • 3 comments

We are running a Space on HuggingFace (Currently offline: https://huggingface.co/spaces/TulipAIs/Soundscapes) which is based on Meta's Audiocraft. This model is currently running on the A10G large GPU. The space was working fine for a long time but recently we keep getting the following RuntimeError:

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.

Can you please assist us in fixing this issue?

rezamora avatar Oct 25 '23 16:10 rezamora

you are probably on cuda 11.4 ? upgrade cuda to 12.1/11.8 and install pytorch anew

yoinked-h avatar Oct 25 '23 23:10 yoinked-h

you are probably on cuda 11.4 ? upgrade cuda to 12.1/11.8 and install pytorch anew

Thank you! It is on HuggingFace! I don't think we can install drivers or upgrade cuda on HF can we?!

rezamora avatar Oct 25 '23 23:10 rezamora

you're gonna have to use dockerfile magic

yoinked-h avatar Oct 26 '23 04:10 yoinked-h