SYSTRAN / faster-whisper

Faster Whisper transcription with CTranslate2
MIT License
11.71k stars 975 forks source link

faster-whisper >= v1.0.0 cuda11.x CUDA failed with error CUDA driver version is insufficient for CUDA runtime version #734

Open Kai-Qiao opened 7 months ago

Kai-Qiao commented 7 months ago

unsupported version:

  1. faster-whisper >= v1.0.0
  2. ctranslate2==4.0.0

From ctranslate2 official guideline that ctranslate2==4.0.0 will support cuda 11.x But actually it's not supported it will return CUDA failed with the error CUDA driver version is insufficient for CUDA runtime version, but my runtime version and drive version all meats the requirement. I am using the base image of nvidia/cuda:11.6.2-cudnn8-runtime-ubuntu20.04 but changed to a low version, that works fine.

device version:

nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.85.02    Driver Version: 510.85.02    CUDA Version: 11.6     |

supported version:

  1. faster-whisper >= v1.0.0 or faster-whisper==0.10.1
  2. ctranslate2==3.24.0
zx3777 commented 7 months ago

ctranslate2==4.0.0 only support cuda 12

polaroi8d commented 6 months ago

If you don't want to update your CUDA driver you can easily downgrade the ctranslate module with the following code: pip install ctranslate2==3.24.0