Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
RUIJIEZHONG66166 committed Jul 25, 2024
1 parent ec6639b commit 88f7a0b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/inductor-xpu-e2e-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ runs:
cp .github/scripts/inductor_xpu_test.sh ../pytorch
cd ../pytorch
source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh
rm -f ${{ github.workspace }}/summary_accuracy.log
# check param
function contains() {
contains_status="echo 'Start $2 ...'"
Expand Down Expand Up @@ -130,7 +130,7 @@ runs:
--mode $mode \
--dtype $dt \
--csv_file ${LOG_DIR}/inductor_${suite}_${dt}_${mode}_xpu_${scenario}.csv \
2>&1 |tee -a ${{ github.workspace }}/summary_accuracy.log
2>&1 |tee -a inductor_log/summary_accuracy.log
fi
done
done
Expand All @@ -149,7 +149,6 @@ runs:
sed -i "s/$/,$(basename $var)/" $var
cat $var >> inductor_log/summary_accuracy.csv
done
cat ${{ github.workspace }}/summary_accuracy.log |tee -a inductor_log/summary_accuracy.log
source activate e2e_ci
cd ${{ github.workspace }}
Expand Down

0 comments on commit 88f7a0b

Please sign in to comment.