Skip to content

Commit

Permalink
check cuda available #3
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocat93 committed Sep 17, 2024
1 parent d5d1596 commit 9fe0c97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gpu_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Check for NVIDIA GPU
- name: Display NVIDIA SMI details
run: |
nvidia-smi || echo "No NVIDIA GPU available!"
nvidia-smi
nvidia-smi -L
nvidia-smi -q -d Memory
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 9fe0c97

Please sign in to comment.