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 dynamic library 'libcudart.so.11.0' #14

Open
MYC000801 opened this issue Nov 14, 2024 · 1 comment
Open

Could not load dynamic library 'libcudart.so.11.0' #14

MYC000801 opened this issue Nov 14, 2024 · 1 comment

Comments

@MYC000801
Copy link

When I try the example script, it reports errors:
image

My cuda version 12.7. I would like to ask if the cuda version is required to be 11.x. Thanks a lot in advance!

Environment information:
Python: 3.10.9
CUDA: 12.7
I just create the environment following the instruction
git clone [email protected]:sail-sg/oat.git
cd oat
pip install vllm==0.6.2 && pip install -e .

@lkevinzc
Copy link
Collaborator

Hi @MYC000801, I think cuda12 should be fine. Here are my packages when I run pip list | grep cuda:

image

I think your issue may be resolved by setting the LD_LIBRARY_PATH to point to your python package's lib. For me, I put this line in my ~/.zshrc (or ~/.bashrc if you do not use zsh):

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/aiops/liuzc/miniforge3/envs/oat/lib/

Ref: https://stackoverflow.com/a/21173918. Hope this helps!

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