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

[Bug]: undefined symbol: __nvJitLinkComplete_12_4, version libnvJitLink.so.12 #10300

Open
1 task done
yananchen1989 opened this issue Nov 13, 2024 · 2 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@yananchen1989
Copy link

yananchen1989 commented Nov 13, 2024

Your current environment

i cannot execute collect_env.py because of this error.

in my another environment: torch is 2.4.0 and the version of vllm is 0.6.3.post1 which works fine.

Model Input Dumps

No response

🐛 Describe the bug

following installation guide: https://docs.vllm.ai/en/stable/getting_started/installation.html#install-the-latest-code

vllm version: 0.6.3.post2.dev386+g0b8bb86b

however, it forces the installation of torch to be 2.5.1

which causes the error :

Traceback (most recent call last):
File "/home/ubuntu/vllm/collect_env.py", line 15, in
from vllm.envs import environment_variables
File "/home/ubuntu/vllm/vllm/init.py", line 3, in
from vllm.engine.arg_utils import AsyncEngineArgs, EngineArgs
File "/home/ubuntu/vllm/vllm/engine/arg_utils.py", line 8, in
import torch
File "/opt/conda/envs/vllmsource/lib/python3.11/site-packages/torch/init.py", line 367, in
from torch._C import * # noqa: F403
^^^^^^^^^^^^^^^^^^^^^^
ImportError: /opt/conda/envs/vllmsource/lib/python3.11/site-packages/torch/lib/../../nvidia/cusparse/lib/libcusparse.so.12: undefined symbol: __nvJitLinkComplete_12_4, version libnvJitLink.so.12

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
@yananchen1989 yananchen1989 added the bug Something isn't working label Nov 13, 2024
@yananchen1989
Copy link
Author

related issue: pytorch/pytorch#111469

@yananchen1989
Copy link
Author

python -c "import torch"

error:

Traceback (most recent call last):
File "", line 1, in
File "/opt/conda/envs/vllmsource/lib/python3.11/site-packages/torch/init.py", line 367, in
from torch._C import * # noqa: F403
^^^^^^^^^^^^^^^^^^^^^^
ImportError: /opt/conda/envs/vllmsource/lib/python3.11/site-packages/torch/lib/../../nvidia/cusparse/lib/libcusparse.so.12: undefined symbol: __nvJitLinkComplete_12_4, version libnvJitLink.so.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant