Skip to content

Commit 8ca13d9

Browse files
committed
remove get_global_graph_pool
Signed-off-by: Kunshang Ji <[email protected]>
1 parent 8d696b8 commit 8ca13d9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

vllm/platforms/xpu.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
33

44
import os
5-
from typing import TYPE_CHECKING, Any, Optional
5+
from typing import TYPE_CHECKING, Optional
66

77
import torch
88

@@ -176,12 +176,6 @@ def check_if_supports_dtype(cls, torch_dtype: torch.dtype):
176176
"You can use float16 instead by explicitly setting the "
177177
"`dtype` flag in CLI, for example: --dtype=half.")
178178

179-
def get_global_graph_pool(self) -> Any:
180-
"""
181-
Currently xpu does NOT support Graph model.
182-
"""
183-
raise NotImplementedError("XPU does not support Graph model.")
184-
185179
@classmethod
186180
def opaque_attention_op(cls) -> bool:
187181
return True

0 commit comments

Comments
 (0)