-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ImportError: /usr/local/lib/python3.10/dist-packages/vllm/_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops15to_dtype_layout4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEEbbNS6_INS5_12MemoryFormatEEE #3528
Comments
It seems you have a mixed installation of both cuda 11 and cuda 12. Please try a fresh new install with either cuda 11.8 or cuda 12.1 . |
目前cuda=12.1 |
You see here you have two cuda versions. You can only have one to make vllm work. |
torch-2.2.1 and vllm-0.3.3, the error is _C.cpython-311-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops15to_dtype_layout4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEEbbNS6_INS5_12MemoryFormatEEE accelerate 0.28.0 |
@xiaohaiqing In my case, this is due to the older torch not being compatible with the newest torch.
Hoping this will help you. |
Your current environment
How you are installing vllm
请问这是什么原因呢?
The text was updated successfully, but these errors were encountered: