Skip to content

Commit

Permalink
remove get_device
Browse files Browse the repository at this point in the history
  • Loading branch information
kzawora-intel committed Sep 24, 2024
1 parent c90e153 commit 874f3d8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions vllm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 874f3d8

Please sign in to comment.