-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Fix docker python version #2845
Conversation
#2716 caused the issue |
@simon-mo @WoosukKwon can someone take a look? |
a79af40
to
437b2ea
Compare
#2811 Also broke the docker images. This PR should fix it as well |
LGTM! |
Ah great catch! can you help refactor the Dockerfile so the test target uses 3.8 and everything else uses latest stable? |
I guess this will close #2773 as well? |
Yes this will fix #2773. I don't think we can have the python 3.8 just in the test target, because the issue was that c code was build with 3.8 but then it could not be imported in 3.10. I think to make sure 3.8 works we could build a different docker file or target that starts with 3.8 python and install vllm from pip? You will not catch it fast. |
Docker images were broken because we build the extensions with python3.8 but then we try to run them with other version of python. This results in exception error File "/workspace/vllm/model_executor/layers/quantization/awq.py", line 6, in <module> from vllm._C import ops ModuleNotFoundError: No module named 'vllm._C' I think if we want to make sure vllm works in older versions of python we should do something else. Also fix for the cupy dependency The docker build was not working with the requirement file
437b2ea
to
34a0ad7
Compare
Docker images were broken because we build the extensions with python3.8 but then we try to run them with other version of python.
This results in exception error
I think if we want to make sure vllm works in older versions of python we should do something else.
To reproduce
docker build .
docker run ...
It crashes with the above exception. I think as part of the CI there should be something that checks if the docker build containers work.