Skip to content

Commit 0ecfe55

Browse files
committed
add torch1.10 to CI
1 parent b101248 commit 0ecfe55

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

.circleci/config.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ workflows:
226226
regular_test:
227227
jobs:
228228
- linux_cpu_tests:
229-
name: linux_cpu_tests_pytorch1.9
230-
pytorch_version: '1.9.0+cpu'
231-
torchvision_version: '0.10.0+cpu'
229+
name: linux_cpu_tests_pytorch1.10
230+
pytorch_version: '1.10.0+cpu'
231+
torchvision_version: '0.11.1+cpu'
232232
- linux_gpu_tests:
233233
name: linux_gpu_tests_pytorch1.8
234234
pytorch_version: '1.8.1+cu102'
@@ -238,10 +238,14 @@ workflows:
238238
pytorch_version: '1.9+cu102'
239239
torchvision_version: '0.10+cu102'
240240
- linux_gpu_tests:
241-
name: linux_gpu_tests_pytorch1.9_python39
242-
pytorch_version: '1.9+cu102'
243-
torchvision_version: '0.10+cu102'
241+
name: linux_gpu_tests_pytorch1.10
242+
pytorch_version: '1.10+cu102'
243+
torchvision_version: '0.11.1+cu102'
244+
- linux_gpu_tests:
245+
name: linux_gpu_tests_pytorch1.10_python39
246+
pytorch_version: '1.10+cu102'
247+
torchvision_version: '0.11.1+cu102'
244248
python_version: '3.9.6'
245249
- windows_cpu_build:
246-
pytorch_version: '1.9+cpu'
247-
torchvision_version: '0.10+cpu'
250+
pytorch_version: '1.10+cpu'
251+
torchvision_version: '0.11.1+cpu'

.github/workflows/workflow.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
torch: [1.8, 1.9]
39+
torch: [1.8, 1.9, 1.10]
4040
include:
4141
- torch: 1.8
4242
torchvision: 0.9
4343
- torch: 1.9
4444
torchvision: "0.10"
45+
- torch: 1.10
46+
torchvision: "0.11.1"
4547
steps:
4648
- name: Checkout
4749
uses: actions/checkout@v2

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN wget https://bootstrap.pypa.io/get-pip.py && \
2020
# install dependencies
2121
# See https://pytorch.org/ for other options if you use a different version of CUDA
2222
RUN pip install --user tensorboard cmake # cmake from apt-get is too old
23-
RUN pip install --user torch==1.9 torchvision==0.10 -f https://download.pytorch.org/whl/cu111/torch_stable.html
23+
RUN pip install --user torch==1.10 torchvision==0.11.1 -f https://download.pytorch.org/whl/cu111/torch_stable.html
2424

2525
RUN pip install --user 'git+https://github.com/facebookresearch/fvcore'
2626
# install detectron2

docker/deploy.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN export CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=$(python3 -c 'import torch; print(i
2121
./configure --prefix=$HOME/.local && make && make install
2222

2323
# install libtorchvision
24-
RUN git clone --branch v0.10.0 https://github.com/pytorch/vision/
24+
RUN git clone --branch v0.11.1 https://github.com/pytorch/vision/
2525
RUN mkdir vision/build && cd vision/build && \
2626
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/.local -DCMAKE_BUILD_TYPE=Release -DWITH_CUDA=on -DTORCH_CUDA_ARCH_LIST=$TORCH_CUDA_ARCH_LIST && \
2727
make && make install

0 commit comments

Comments
 (0)