CTranslate2 icon indicating copy to clipboard operation
CTranslate2 copied to clipboard

Update to CUDA 12.8

Open Purfview opened this issue 4 weeks ago • 8 comments

Update Windows and Linux from CUDA 12.4 to CUDA 12.8 Upgraded manylinux2014 to manylinux_2_28

Purfview avatar Nov 25 '25 11:11 Purfview

Completely forgot, the PR includes https://github.com/OpenNMT/CTranslate2/pull/1920 , I think, merge his PR first to keep attribution.

Purfview avatar Nov 25 '25 14:11 Purfview

Thanks. Have you tried the new wheels under Linux and Windows on a machine with a CUDA GPU? Github runners do not have GPUs.

jordimas avatar Nov 26 '25 02:11 jordimas

Have you tried the new wheels under Linux and Windows on a machine with a CUDA GPU?

Yes, on both, Linux and Windows with the CUDA GPUs.

Purfview avatar Nov 26 '25 02:11 Purfview

Glad to see that this repository is finally be working on and this "Systran" company has given authority to modify to people who actually care about the repo!

BBC-Esq avatar Nov 26 '25 12:11 BBC-Esq

Completely forgot, the PR includes #1920 , I think, merge his PR first to keep attribution.

There is still an unresolved comment on #1920, but this PR has already integrated the changes from #1920. I suggest removing that change so this PR can be released independently.

jordimas avatar Dec 01 '25 20:12 jordimas

Removed it (Note: CI will fail without it)

Purfview avatar Dec 02 '25 00:12 Purfview

Hello. I was going to merge this PR but when testing this wheel:

ctranslate2-4.6.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

I get this error when I use CUDA:

Could not load symbol cudnnGetLibConfig. Error: /lib/x86_64-linux-gnu/libcudnn_graph.so.9: undefined symbol: cudnnGetLibConfig

Previous CTranslate2 works well in this machine. I had no time to investigate this further but I decided not to merge this PR in version 4.6.2 to have more time to investigate what happens. Definitely we should merge this PR.

For next version I want to look at https://github.com/OpenNMT/CTranslate2/issues/1934 and this probably will be solve if we remove this dependency.

jordimas avatar Dec 05 '25 04:12 jordimas

I get this error when I use CUDA:

Could not load symbol cudnnGetLibConfig. Error: /lib/x86_64-linux-gnu/libcudnn_graph.so.9: undefined symbol: cudnnGetLibConfig

Check your Nvidia driver, CUDA/CUDA toolkit versions. Maybe needs to be updated.

Purfview avatar Dec 05 '25 04:12 Purfview