From be3a6c7ccab46a2c2144417977993461a5d11d4b Mon Sep 17 00:00:00 2001 From: sunjiahao1999 <578431509@qq.com> Date: Thu, 19 Oct 2023 15:13:09 +0800 Subject: [PATCH 1/2] fix version and resource_class & image name --- .circleci/docker/Dockerfile | 2 ++ .circleci/test.yml | 8 +++++++- mmdet3d/version.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.circleci/docker/Dockerfile b/.circleci/docker/Dockerfile index d9cf8cc77..cc4c705b4 100644 --- a/.circleci/docker/Dockerfile +++ b/.circleci/docker/Dockerfile @@ -2,6 +2,8 @@ ARG PYTORCH="1.8.1" ARG CUDA="10.2" ARG CUDNN="7" +ARG DEBIAN_FRONTEND=noninteractive + FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel # To fix GPG key error when running apt-get update diff --git a/.circleci/test.yml b/.circleci/test.yml index de233306d..cadf74dfb 100644 --- a/.circleci/test.yml +++ b/.circleci/test.yml @@ -90,11 +90,17 @@ jobs: type: integer default: 8 machine: - image: ubuntu-2004-cuda-11.4:202110-01 + image: linux-cuda-11:default # docker_layer_caching: true resource_class: gpu.nvidia.small steps: - checkout + - run: + name: Install nvidia-container-toolkit and Restart Docker + command: | + sudo apt-get update + sudo apt-get install -y nvidia-container-toolkit + sudo systemctl restart docker - run: # Cloning repos in VM since Docker doesn't have access to the private key name: Clone Repos diff --git a/mmdet3d/version.py b/mmdet3d/version.py index 69dab702f..f45a3d5a3 100644 --- a/mmdet3d/version.py +++ b/mmdet3d/version.py @@ -1,6 +1,6 @@ # Copyright (c) Open-MMLab. All rights reserved. -__version__ = '1.2.0' +__version__ = '1.3.0' short_version = __version__ From 42e6dc5b7b4d997b7a3d4019b4575d0399807694 Mon Sep 17 00:00:00 2001 From: sunjiahao1999 <578431509@qq.com> Date: Thu, 19 Oct 2023 15:15:26 +0800 Subject: [PATCH 2/2] fix resource_name --- .circleci/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/test.yml b/.circleci/test.yml index cadf74dfb..032444187 100644 --- a/.circleci/test.yml +++ b/.circleci/test.yml @@ -92,7 +92,7 @@ jobs: machine: image: linux-cuda-11:default # docker_layer_caching: true - resource_class: gpu.nvidia.small + resource_class: gpu.nvidia.small.multi steps: - checkout - run: