Trouble using cuda device on RHEL 8 #161
-
This is the error I'm getting:
Output from
I'm a little unsure why this is happening. I installed CUDA 11.5 and cuDNN 8.6 on RHEL 8. CPU works. I run it by calling: model = WhisperModel("medium", device="cuda", compute_type="int8", cpu_threads=0) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
How did you install cuDNN? Make sure you installed cuDNN 8.6 for CUDA 11 (I think there is also cuDNN 8.6 for CUDA 10.2 which will not work here). This error could also happen when you are running out of memory. Is there another running process that could use too much RAM or VRAM? When in doubt, you could also try running your code in the official RHEL 8 Docker image from NVIDIA (e.g. |
Beta Was this translation helpful? Give feedback.
How did you install cuDNN? Make sure you installed cuDNN 8.6 for CUDA 11 (I think there is also cuDNN 8.6 for CUDA 10.2 which will not work here).
This error could also happen when you are running out of memory. Is there another running process that could use too much RAM or VRAM?
When in doubt, you could also try running your code in the official RHEL 8 Docker image from NVIDIA (e.g.
nvidia/cuda:11.5.2-cudnn8-runtime-ubi8
). If it works here it means there is something wrong in your CUDA/cuDNN installation.