Commit 0d9e792
Make nvidia-smi non-fatal in Windows CUDA CI (pytorch#18565)
Some Windows GPU runners don't have nvidia-smi available even though the
CUDA toolkit (nvcc) is properly installed. The nvidia-smi call is purely
informational — the actual CUDA toolchain validation is done by nvcc
--version and the version check that follows.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 0058035 commit 0d9e792
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
139 | 151 | | |
140 | 152 | | |
141 | 153 | | |
| |||
0 commit comments