mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-20 04:37:02 +08:00
[ROCm][V1] Adding ROCm to the list of plaforms using V1 by default (#19440)
Signed-off-by: Gregory Shtrasberg <Gregory.Shtrasberg@amd.com>
This commit is contained in:
parent
da9b523ce1
commit
5241ca50d6
@ -1442,7 +1442,7 @@ class EngineArgs:
|
|||||||
|
|
||||||
# Non-[CUDA, TPU] may be supported on V1, but off by default for now.
|
# Non-[CUDA, TPU] may be supported on V1, but off by default for now.
|
||||||
v0_hardware = not any(
|
v0_hardware = not any(
|
||||||
(current_platform.is_cuda(), current_platform.is_tpu(),
|
(current_platform.is_cuda_alike(), current_platform.is_tpu(),
|
||||||
(current_platform.is_cpu()
|
(current_platform.is_cpu()
|
||||||
and current_platform.get_cpu_architecture() == CpuArchEnum.X86)))
|
and current_platform.get_cpu_architecture() == CpuArchEnum.X86)))
|
||||||
if v0_hardware and _warn_or_fallback( # noqa: SIM103
|
if v0_hardware and _warn_or_fallback( # noqa: SIM103
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user