Skip to content

Add GPU support for ctranslate2, if available#16

Open
coltonbh wants to merge 1 commit intoprimaprashant:mainfrom
coltonbh:feature-add-gpu-support
Open

Add GPU support for ctranslate2, if available#16
coltonbh wants to merge 1 commit intoprimaprashant:mainfrom
coltonbh:feature-add-gpu-support

Conversation

@coltonbh
Copy link
Copy Markdown

@coltonbh coltonbh commented Mar 17, 2026

Added GPU support for the transcription engine, if a GPU is available. This is much faster on my system with an NVIDIA GeFORCE RTX 3050 Ti :)

Note this does require the cuda libraries installed (I'm using linux) and will fail if a GPU is detected but CUDA12 and cuDNN are not installed. So maybe not the best default implementation, but perhaps there's a slightly nicer way to support GPUs?

Required pkgs:

sudo apt install libcublas12 libcublaslt12 nvidia-cudnn
sudo ldconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant