[CI] Fix handle_platform_cp_compatibility reading legacy CP flags off the record (#37930)
Co-authored-by: Mohammad Angkad <mohammad.angkad@radixark.ai>
This commit is contained in:
co-authored by
Mohammad Angkad
parent
f478b2bb2d
commit
ca7b8efd87
@@ -566,8 +566,8 @@ def handle_platform_cp_compatibility(server_args: Any):
|
|||||||
is_protected_platform = platform.is_hip or platform.is_npu
|
is_protected_platform = platform.is_hip or platform.is_npu
|
||||||
if not is_protected_platform:
|
if not is_protected_platform:
|
||||||
if (
|
if (
|
||||||
server_args.enable_prefill_context_parallel
|
cfg.enable_prefill_context_parallel
|
||||||
or server_args.enable_dsa_prefill_context_parallel
|
or cfg.enable_dsa_prefill_context_parallel
|
||||||
):
|
):
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"Legacy prefill context-parallel options are supported only "
|
"Legacy prefill context-parallel options are supported only "
|
||||||
|
|||||||
Reference in New Issue
Block a user