-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
[Bug]: Error while importing vllm since v0.6.6 #11683
Comments
I suspect the |
Installing only However, since the above approach is a basic and common way to install vLLM(especially for services that install vLLM on-the-fly), I believe it would be better to address the issue directly to ensure it works seamlessly without requiring additional workarounds, as was the case with versions below v0.6.6. (It was the reason for opening this issue. I updated the description to make it clearer) For example, as in v0.6.5[code], handling exceptions for |
Did you uninstall the existing |
Yes I did. v0.6.5 installs the same version, but it runs without the error on the same container, because it handles the exception inside the code. |
Can you show the output of |
Sure. output
|
FYI, installing |
cc @patrickvonplaten maybe we should lock the version of |
This actually doesn't seem to be related to
|
It's related to |
|
Currently, opencv isn't an optional dependency. Perhaps we can make it one? |
Actually you're right. I don't think the reported bug is expected. I just tried installing the latest python package on a clean docker container and it worked.
|
@ywang96 So, is it not reproducible on your environment? I used
And also posting the results of running The output of `python collect_env.py`
|
@kkimmk Yea, can you try an image without pytorch preinstalled? (You're going to reinstall pytorch anyways). For example As you can see the first line of the |
@ywang96 Yes, it worked with |
This works for me. THX. |
Your current environment
The output of `python collect_env.py`
Model Input Dumps
No response
🐛 Describe the bug
Since v0.6.6, simply running
import vllm
results in the following error due to an issue withcv2
.error message
vllm was installed using
pip install vllm
inside a Docker container.While there may be workarounds to make it work, it would be better to ensure that
pip install vllm
works without modifications(for future versions), as it did in previous versions.Before submitting a new issue...
The text was updated successfully, but these errors were encountered: