-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2dd2ce0
commit 4453723
Showing
3 changed files
with
30 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
suite=${1:-huggingface} | ||
dt=${2:-amp_bf16} | ||
mode=${3:-inference} | ||
scenario=${4:-accuracy} | ||
SUITE=${1:-huggingface} | ||
DT=${2:-amp_bf16} | ||
MODE=${3:-inference} | ||
SCENARIO=${4:-accuracy} | ||
expected_pass_num=${5:-46} | ||
|
||
echo -e "=========================================================================" | ||
echo -e "Results Check" | ||
echo -e "=========================================================================" | ||
|
||
cd ../pytorch/inductor_log/${suite} | ||
cd ${dt} | ||
num_passed=$(grep "num_passed:" ${suite}_${dt}_${mode}_${scenario}_e2e_summary.log | sed -e 's/.*://;s/[^0-9.]//') | ||
if [ $num_passed -lt ${{ inputs.expected_pass_num }} ]; then | ||
echo -e "[ERROR] Inductor E2E CI test for ${suite} ${dt} ${mode} passed_num < ${{ inputs.expected_pass_num }}" | ||
cd ../pytorch/inductor_log/${SUITE} | ||
cd ${DT} | ||
num_passed=$(grep "num_passed:" ${SUITE}_${DT}_${MODE}_${SCENARIO}_e2e_summary.log | sed -e 's/.*://;s/[^0-9.]//') | ||
if [ $num_passed -lt ${expected_pass_num} ]; then | ||
echo -e "[ERROR] Inductor E2E CI test for ${SUITE} ${DT} ${MODE} passed_num < ${expected_pass_num}" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters