File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ jobs:
430430 resource_class : gpu.small
431431 environment :
432432 << : *environment
433- image_name : " pytorch/torchaudio_unittest_base:manylinux-cuda10.1"
433+ image_name : pytorch/torchaudio_unittest_base:manylinux-cuda10.1-cudnn7-20201203
434434 steps :
435435 - checkout
436436 - attach_workspace :
Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ jobs:
430430 resource_class: gpu.small
431431 environment:
432432 <<: *environment
433- image_name: " pytorch/torchaudio_unittest_base:manylinux-cuda10.1"
433+ image_name: pytorch/torchaudio_unittest_base:manylinux-cuda10.1-cudnn7-20201203
434434 steps:
435435 - checkout
436436 - attach_workspace:
Original file line number Diff line number Diff line change @@ -7,15 +7,14 @@ if [ $# -ne 1 ]; then
77 exit 1
88fi
99
10+ datestr=" $( date " +%Y%m%d" ) "
1011if [ " $1 " = " cpu" ]; then
1112 base_image=" ubuntu:18.04"
12- image=" pytorch/torchaudio_unittest_base:manylinux"
13- elif [[ " $1 " =~ ^(9.2| 10.1)$ ]]; then
14- base_image=" nvidia/cuda:$1 -runtime-ubuntu18.04"
15- image=" pytorch/torchaudio_unittest_base:manylinux-cuda$1 "
13+ image=" pytorch/torchaudio_unittest_base:manylinux-${datestr} "
1614else
17- printf " Unexpected <CUDA_VERSION> string: %s" " $1 "
18- exit 1;
15+ base_image=" nvidia/cuda:$1 -devel-ubuntu18.04"
16+ docker pull " ${base_image} "
17+ image=" pytorch/torchaudio_unittest_base:manylinux-cuda$1 -${datestr} "
1918fi
2019
2120cd " $( dirname " ${BASH_SOURCE[0]} " ) "
You can’t perform that action at this time.
0 commit comments