-
-
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
[Platforms] Refactor openvino code #10573
Conversation
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
865339e
to
077a112
Compare
cd1f704
to
a58d795
Compare
Signed-off-by: statelesshz <[email protected]>
a58d795
to
44ba0a1
Compare
vllm/platforms/openvino.py
Outdated
import torch | ||
|
||
import vllm.envs as envs | ||
from vllm.logger import init_logger | ||
from vllm.utils import GiB_bytes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to import it lazily inside the check_and_update_config
function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 3699c9d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL @youkaichao
Signed-off-by: statelesshz <[email protected]>
4e5c594
to
3699c9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the fix!
import openvino as ov | ||
import openvino.properties.hint as hints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed these import broke the kernel tests: https://buildkite.com/vllm/ci-aws/builds/11712#01935994-0554-41aa-bad1-9d253bdef82f/194-278
Signed-off-by: statelesshz <[email protected]> Signed-off-by: Maxime Fournioux <[email protected]>
Signed-off-by: statelesshz <[email protected]>
Part of #9268
cc @youkaichao