From cde50dfc5778573bd606ea047d97891db0d39bf7 Mon Sep 17 00:00:00 2001 From: mengfeil Date: Tue, 20 Aug 2024 11:12:01 +0800 Subject: [PATCH] pdt --- .github/actions/inductor-xpu-e2e-test/action.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/actions/inductor-xpu-e2e-test/action.yml b/.github/actions/inductor-xpu-e2e-test/action.yml index 2ba270735..58dee1492 100644 --- a/.github/actions/inductor-xpu-e2e-test/action.yml +++ b/.github/actions/inductor-xpu-e2e-test/action.yml @@ -118,15 +118,7 @@ runs: do contains "accuracy,performance" $scenario $contains_status - if [ "${MODEL_ONLY_NAME}" == "" ];then - xpu_list=($(xpu-smi discovery |grep 'DRM Device: /dev/' |sed 's/.*card//;s/[^0-9].*//' |awk '{print $1 - 1":"NR - 1}')) - for xpu_id in ${xpu_list[*]} - do - bash inductor_xpu_test.sh ${suite} ${dt} ${mode} ${scenario} xpu ${xpu_id/:*} static ${#xpu_list[*]} ${xpu_id/*:} & - done - else - bash inductor_xpu_test.sh ${suite} ${dt} ${mode} ${scenario} xpu 0 static 1 0 ${MODEL_ONLY_NAME} & - fi + bash inductor_xpu_test.sh ${suite} ${dt} ${mode} ${scenario} xpu 0 static wait # summarize pass rate LOG_DIR="inductor_log/${suite}/${dt}"