Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
ccb5376a
Unverified
Commit
ccb5376a
authored
Nov 04, 2024
by
Mengqing Cao
Committed by
GitHub
Nov 04, 2024
Browse files
[Bugfix][OpenVINO] Fix circular reference #9939 (#9974)
Signed-off-by:
MengqingCao
<
cmq0113@163.com
>
parent
ea4adedd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vllm/platforms/openvino.py
vllm/platforms/openvino.py
+4
-2
No files found.
vllm/platforms/openvino.py
View file @
ccb5376a
import
torch
import
vllm.envs
as
envs
from
vllm.
utils
import
print_warning_once
from
vllm.
logger
import
init_logger
from
.interface
import
Platform
,
PlatformEnum
logger
=
init_logger
(
__name__
)
class
OpenVinoPlatform
(
Platform
):
_enum
=
PlatformEnum
.
OPENVINO
...
...
@@ -27,5 +29,5 @@ class OpenVinoPlatform(Platform):
@
classmethod
def
is_pin_memory_available
(
self
)
->
bool
:
print_
warning
_once
(
"Pin memory is not supported on OpenViNO."
)
logger
.
warning
(
"Pin memory is not supported on OpenViNO."
)
return
False
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment