OpenNMT / OpenNMT/CTranslate2

CUDNN 9 support

Open
#1,780 11 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dependencies python-release
Dominant language
C++
Stars
4.7k
Forks
536
Avg merge
12h 12m
Merged PRs (30d)
4

Description

currently trying to use whisperX (which uses faster whisper, which uses CTranslate2), and am getting the following error

Could not locate cudnn_ops_infer64_8.dll. Please make sure it is in your library path!

which from what I can tell is due to having CUDNN version > 9. This is an issue because it looks like pytorch >= 2.4.0 are compiled with CUDNN > 9.

See discussion here

https://github.com/SYSTRAN/faster-whisper/pull/958

Workaround right now is just to use a pytorch version < 2.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported DLL error with PyTorch 2.4 or newer and CUDNN 9, then read the linked faster-whisper discussion for compatibility details. No source file or test is named; done means CTranslate2 runs with CUDNN 9 without requiring cudnn_ops_infer64_8.dll.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.