Skip to content

Commit 8362d07

Browse files
authored
[CI/pt-nightly] switch to cuda-11.3 (huggingface#14726)
1 parent 6e05bb1 commit 8362d07

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/self-nightly-scheduled.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run_all_tests_torch_gpu:
2222
runs-on: [self-hosted, docker-gpu, single-gpu]
2323
container:
24-
image: pytorch/pytorch:1.9.0-cuda11.1-cudnn8-runtime
24+
image: pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime
2525
options: --gpus 0 --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
2626
steps:
2727
- name: Launcher docker
@@ -36,7 +36,7 @@ jobs:
3636
apt -y update && apt install -y libsndfile1-dev git
3737
pip install --upgrade pip
3838
pip install .[integrations,sklearn,testing,onnxruntime,sentencepiece,torch-speech,vision,timm]
39-
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html -U
39+
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U
4040
4141
- name: Are GPUs recognized by our DL frameworks
4242
run: |
@@ -87,7 +87,7 @@ jobs:
8787
run_all_tests_torch_multi_gpu:
8888
runs-on: [self-hosted, docker-gpu, multi-gpu]
8989
container:
90-
image: pytorch/pytorch:1.9.0-cuda11.1-cudnn8-runtime
90+
image: pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime
9191
options: --gpus all --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
9292
steps:
9393
- name: Launcher docker
@@ -103,7 +103,7 @@ jobs:
103103
apt -y update && apt install -y libsndfile1-dev git
104104
pip install --upgrade pip
105105
pip install .[integrations,sklearn,testing,onnxruntime,sentencepiece,torch-speech,vision,timm]
106-
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html -U
106+
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U
107107
108108
- name: Are GPUs recognized by our DL frameworks
109109
run: |
@@ -154,7 +154,7 @@ jobs:
154154
run: |
155155
apt -y update && apt install -y libaio-dev
156156
pip install --upgrade pip
157-
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html -U
157+
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U
158158
pip install .[testing,deepspeed]
159159
pip install git+https://github.com/microsoft/DeepSpeed
160160
@@ -195,7 +195,7 @@ jobs:
195195
run: |
196196
apt -y update && apt install -y libaio-dev
197197
pip install --upgrade pip
198-
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html -U
198+
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U
199199
rm -rf ~/.cache/torch_extensions/ # shared between conflicting builds
200200
pip install .[testing,fairscale]
201201
pip install git+https://github.com/microsoft/DeepSpeed # testing bleeding edge

0 commit comments

Comments
 (0)