Skip to content

Commit

Permalink
Fix workflows to remove scores (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang13 authored Dec 16, 2024
1 parent 47d621b commit 110c9e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/amd_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,6 @@ jobs:
cat training.log # Debug: show output
fi
- name: Extract score
shell: bash
run: |
# Extract only the last occurrence of "score:"
score=$(grep -oP 'score:\s*\d+(\.\d+)?' training.log | tail -n 1 | awk '{print $2}')
echo "Score extracted: $score"
echo "::set-output name=score::$score"
- name: Upload training artifacts
uses: actions/upload-artifact@v4
if: always()
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/nvidia_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,6 @@ jobs:
cat training.log # Debug: show output
fi
- name: Extract score
shell: bash
run: |
# Extract only the last occurrence of "score:"
score=$(grep -oP 'score:\s*\d+(\.\d+)?' training.log | tail -n 1 | awk '{print $2}')
echo "Score extracted: $score"
echo "::set-output name=score::$score"
- name: Upload training artifacts
uses: actions/upload-artifact@v4
if: always()
Expand Down

0 comments on commit 110c9e2

Please sign in to comment.