Skip to content

Commit

Permalink
Add linux test a10g
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Dec 13, 2024
1 parent dd04358 commit 21ade74
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .ci/torchbench/check-ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
while true; do
# Check if `who` returns non-empty output
if who | grep -q '.'; then
echo "User(s) logged in. Sleeping for 100 seconds..."
sleep 100
echo "User(s) logged in. Sleeping for 1000 seconds..."
sleep 1000
else
echo "No users logged in. Exiting..."
exit 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: linux-test-a10g
name: TorchBench Test on A10G
on:
workflow_dispatch:
# Remove me upon land
Expand Down Expand Up @@ -36,3 +36,7 @@ jobs:
run: |
. ${HOME}/miniconda3/etc/profile.d/conda.sh
conda remove -n "${CONDA_ENV}" --all
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true

0 comments on commit 21ade74

Please sign in to comment.