Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load library libcublasLt.so.11. #1017

Open
anhnh2002 opened this issue Sep 20, 2024 · 1 comment
Open

Could not load library libcublasLt.so.11. #1017

anhnh2002 opened this issue Sep 20, 2024 · 1 comment

Comments

@anhnh2002
Copy link

code

from faster_whisper import WhisperModel

model_size = "large-v3"

model = WhisperModel(model_size, device="cuda", device_index=0, compute_type="float16")

segments, info = model.transcribe("rock_vocals.wav", beam_size=5, language="en", condition_on_previous_text=False)

print("hehe")

for segment in segments:
    print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))

log

hehe
Could not load library libcublasLt.so.11. Error: libcublasLt.so.11: cannot open shared object file: No such file or directory
Aborted (core dumped)
@rjwilmsi
Copy link

rjwilmsi commented Oct 9, 2024

In terminal for CUDA I first need to do the below, you will need something similar (adjust for your user and your distro's installation path):

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/User/.local/lib/python3.11/site-packages/nvidia/cudnn/lib:/home/User/.local/lib/python3.11/site-packages/nvidia/cublas/lib

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

No branches or pull requests

2 participants