Skip to content

Commit

Permalink
Archive IGC logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pbchekin committed Sep 11, 2024
1 parent 5d9bcb1 commit fbdd779
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ jobs:
- name: Enable IGC dumps
run: |
mkdir -p inductor_log/igc
mkdir -p igcdump
echo "IGC_ShaderDumpEnableAll=1" | tee -a $GITHUB_ENV
echo "IGC_DumpToCustomDir=$GITHUB_WORKSPACE/inductor_log/igc" | tee -a $GITHUB_ENV
echo "IGC_DumpToCustomDir=$GITHUB_WORKSPACE/igcdump" | tee -a $GITHUB_ENV
- name: Run e2e ${{ inputs.test_mode }} tests
env:
Expand Down Expand Up @@ -241,10 +241,7 @@ jobs:
run: |
sleep 10
echo "*** archiving IGC dumps ***"
tar zcf inductor_log/igc.tgz -C inductor_log igc
sudo rm -rf inductor_log/igc
echo "*** inductor_log ***"
ls -laR inductor_log
tar zcf inductor_log/igcdump.tgz igcdump
- name: Report environment details
run: |
Expand Down Expand Up @@ -290,8 +287,7 @@ jobs:
if [[ -d torch_compile_debug ]]; then
cp -rT torch_compile_debug inductor_log
fi
rm -rf inductor_log/igc
ls -laR inductor_log
ls -alR inductor_log
- name: Upload test logs
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit fbdd779

Please sign in to comment.