This error indicates that the CUDA version installed on your system is incompatible with the version of PyTorch or the AI model library (likely faster-whisper) used by pyVideoTrans. The error "no kernel image is available for execution on the device" typically means the CUDA compute capability of your GPU is not supported by the compiled binaries.
The most likely cause is that you have an older NVIDIA GPU (compute capability < 5.0) and are trying to use software or models compiled for newer CUDA architectures (e.g., CUDA 12.x with sm_89). pyVideoTrans v3.96 is built to work with CUDA 12.8.
Follow these steps to resolve the issue:
Check your GPU's compute capability:
- Open Command Prompt and run
nvidia-smi. Note your GPU model. - Visit NVIDIA's CUDA GPU list to find your GPU's compute capability (e.g., 6.1 for GTX 10 series, 7.5 for RTX 20 series).
Verify your CUDA Toolkit version:
- In Command Prompt, run
nvcc -V. The output should show V12.8 or higher to be fully compatible with pyVideoTrans v3.96.
Solution based on your findings:
- Test after changes: After applying the fix (especially switching to CPU), restart pyVideoTrans and try the task again.
Please refer to the relevant documentation: