mirror of
https://github.com/vllm-project/vllm.git
synced 2025-10-20 14:53:52 +08:00
Signed-off-by: MengqingCao <cmq0113@163.com>
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user