Skip to content

Commit

Permalink
Updated infra cuda12.1 -> cuda12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 committed Nov 22, 2024
1 parent c7a0d90 commit 0632737
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
pytorch-channel: [pytorch, pytorch-nightly]
fail-fast: false
env:
DOCKER_IMAGE: "pytorch/conda-builder:cuda12.1"
DOCKER_IMAGE: "pytorch/conda-builder:cuda12.4"
REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
runs-on: linux.8xlarge.nvidia.gpu
Expand Down Expand Up @@ -102,9 +102,9 @@ jobs:
# Install PyTorch
if [ "${{ matrix.pytorch-channel }}" == "pytorch" ]; then
pip install --upgrade torch torchvision --index-url https://download.pytorch.org/whl/cu121
pip install --upgrade torch torchvision --index-url https://download.pytorch.org/whl/cu124
else
pip install --upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu121
pip install --upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu124
fi
python -c "import torch; print(torch.__version__, ', CUDA is available: ', torch.cuda.is_available()); exit(not torch.cuda.is_available())"
Expand Down

0 comments on commit 0632737

Please sign in to comment.