Skip to content

Commit

Permalink
pdt
Browse files Browse the repository at this point in the history
  • Loading branch information
mengfei25 committed Aug 20, 2024
1 parent 7eb5219 commit cde50df
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/actions/inductor-xpu-e2e-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit cde50df

Please sign in to comment.