Skip to content

Commit ab478a1

Browse files
check host gpu driver
1 parent 22cfa35 commit ab478a1

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/UnitTests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,19 @@ jobs:
7474
- name: Checkout Repository
7575
uses: actions/checkout@v4
7676

77+
- name: Check Host CUDA and GPU Environment
78+
run: |
79+
echo "--- Checking NVIDIA driver and supported CUDA version ---"
80+
nvidia-smi || echo "nvidia-smi command not found. No GPU or NVIDIA driver detected."
81+
82+
echo ""
83+
echo "--- Checking for default CUDA toolkit installation ---"
84+
ls -l /usr/local/ | grep cuda || echo "No default CUDA toolkit found in /usr/local/"
85+
86+
echo ""
87+
echo "--- Checking dynamic linker library path ---"
88+
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-'Not Set'}"
89+
7790
- name: Print dependencies
7891
run: |
7992
# pip uninstall -y transformer-engine transformer-engine-jax transformer-engine-cu12

0 commit comments

Comments
 (0)