Skip to content

Commit

Permalink
add test gpu back
Browse files Browse the repository at this point in the history
  • Loading branch information
CSY-ModelCloud committed Jan 8, 2025
1 parent ae516f4 commit 0794cf3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,13 @@ jobs:
gpu_id=$(curl -s "http://10.0.14.248/gpu/get?id=${{ github.run_id }}&timestamp=$(date +%s%3N)&force=1")
echo "CUDA_VISIBLE_DEVICES=$gpu_id" >> $GITHUB_ENV
- name: test gpu
if: always()
- name: test cpu
run: python tests/cpu.py

- name: test gpu
if: always() && !cancelled()
run: python tests/gpu.py

m4:
runs-on: [self-hosted, m4]
steps:
Expand Down

0 comments on commit 0794cf3

Please sign in to comment.