[CI][ROCm] Deprecate DinD for MI250 test groups (#56162)
Signed-off-by: Andreas Karatzas <Andreas.Karatzas@amd.com> Signed-off-by: Andreas Karatzas <akaratza@amd.com> Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
co-authored by
OpenAI Codex
parent
49e0427ca5
commit
2c3fb4c545
@@ -1612,6 +1612,13 @@ fi
|
||||
|
||||
echo "Final commands: $commands"
|
||||
|
||||
# Match native CPU jobs even when the container can see AMD devices.
|
||||
cpu_platform_env=()
|
||||
if [[ "${VLLM_CI_EXPECTED_GPU_COUNT:-1}" == "0" \
|
||||
&& "$commands" != *python_only_compile.sh* ]]; then
|
||||
cpu_platform_env=(-e "VLLM_TARGET_DEVICE=cpu")
|
||||
fi
|
||||
|
||||
standalone_merge_base_env=()
|
||||
if [[ "$commands" == *python_only_compile.sh* ]]; then
|
||||
# The ROCm test image often ships /vllm-workspace without .git. Resolve the
|
||||
@@ -1769,6 +1776,7 @@ else
|
||||
-e "VLLM_CACHE_ROOT=${CONTAINER_CACHE_ROOT}/vllm" \
|
||||
-e "XDG_CACHE_HOME=${CONTAINER_CACHE_ROOT}/xdg" \
|
||||
-e "PYTORCH_ROCM_ARCH=" \
|
||||
"${cpu_platform_env[@]}" \
|
||||
"${standalone_merge_base_env[@]}" \
|
||||
--name "${container_name}" \
|
||||
"${image_name}" \
|
||||
|
||||
Reference in New Issue
Block a user