[Bugfix] Fix custom_ar support check (#7617)
This commit is contained in:
parent
44f26a9466
commit
e680349994
@ -15,7 +15,7 @@ from vllm.platforms import current_platform
|
|||||||
from vllm.utils import cuda_device_count_stateless
|
from vllm.utils import cuda_device_count_stateless
|
||||||
|
|
||||||
try:
|
try:
|
||||||
assert ops.is_custom_op_supported("_C_custom_ar::meta_size")
|
ops.meta_size()
|
||||||
custom_ar = True
|
custom_ar = True
|
||||||
except Exception:
|
except Exception:
|
||||||
# For AMD GPUs and CPUs
|
# For AMD GPUs and CPUs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user