Skip to content

Commit

Permalink
Update test-pax.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hmonishN authored May 16, 2024
1 parent 495ae32 commit 23a19d8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/container/test-pax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,10 @@ else
$([[ $MULTIPROCESS != 0 ]] && echo --multiprocess_gpu)
fi

set +x
echo "Output at ${OUTPUT}"
echo "Checking for FMHA instructions in HLO!"

if [[ "$ENABLE_FMHA" -eq "1" ]]; then
echo "Inside if Statement!"
## Check if fmha instructions are present in the HLO dumped file or not.
fmha_regex="fmha[-bmm]?[-scale]?[-bias]?[-mask]?[-softmax]?[-dropout]?[-bmm]?[-backward]?*"
result=$(grep -irlnE "$fmha_regex" "${HLO_DIR}/"*.txt)
Expand All @@ -473,3 +473,6 @@ else
echo "Removed dumped HLO directory!"
fi
fi

set +x
echo "Output at ${OUTPUT}"

0 comments on commit 23a19d8

Please sign in to comment.