Skip to content

Commit

Permalink
Update demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wendyliu235 authored Nov 23, 2023
1 parent 0eaa1fa commit 6bb5992
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,4 @@ jobs:
done
wait
exec 6>&-
for file in $folder_path/*.py; do
# read one data from the pipe
read -u6 id
{
echo "running ut on device-$id"
key=$(basename $file .py)
echo $file
ZE_AFFINITY_MASK="$id" python $file
if [ ${PIPESTATUS[0]} -eq 0 ]; then
echo "run $file successfully"
else
echo "run $file failed"
fi
# writing one data to the pipe for the next task
echo $id >&6
} &
done

0 comments on commit 6bb5992

Please sign in to comment.