[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:
committed by
GitHub
parent
da9b523ce1
commit
5241ca50d6
@ -1442,7 +1442,7 @@ class EngineArgs:
|
||||
|
||||
# Non-[CUDA, TPU] may be supported on V1, but off by default for now.
|
||||
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()
|
||||
and current_platform.get_cpu_architecture() == CpuArchEnum.X86)))
|
||||
if v0_hardware and _warn_or_fallback( # noqa: SIM103
|
||||
|
||||
Reference in New Issue
Block a user