We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b522c commit 6ef364fCopy full SHA for 6ef364f
.github/workflows/test.yml
@@ -72,6 +72,11 @@ jobs:
72
if: contains(matrix.alias, 'distributed')
73
run: |
74
set -euxo pipefail
75
+ GPU_COUNT=$(nvidia-smi -L | wc -l)
76
+ if [ "$GPU_COUNT" -ne 4 ]; then
77
+ echo "Error: Expected 4 GPUs but found $GPU_COUNT"
78
+ exit 1
79
+ fi
80
curl -L https://raw.githubusercontent.com/pytorch/pytorch/main/.ci/docker/common/install_cuda.sh -o install_cuda.sh
81
chmod +x install_cuda.sh
82
source install_cuda.sh
0 commit comments