From 874f3d80ae1ca429258dd94e6c43699640e7ea48 Mon Sep 17 00:00:00 2001 From: Konrad Zawora Date: Tue, 24 Sep 2024 12:52:48 +0300 Subject: [PATCH] remove get_device --- vllm/utils.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vllm/utils.py b/vllm/utils.py index 50ce0911707e9..3b4ec8f41ad94 100644 --- a/vllm/utils.py +++ b/vllm/utils.py @@ -739,12 +739,6 @@ def print_warning_once(msg: str) -> None: logger.warning(msg) -def get_device() -> str: - if current_platform.is_hpu(): - return "hpu" - return "cuda" - - @lru_cache(maxsize=None) def is_pin_memory_available() -> bool: