Explorar o código

基础镜像修改

liangzhongquan %!s(int64=2) %!d(string=hai) anos
pai
achega
c0704b3ee5
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -1,4 +1,5 @@
-FROM nvidia/cuda:11.0-cudnn8-devel-ubuntu18.04 AS builder
+# FROM nvidia/cuda:11.0-cudnn8-devel-ubuntu18.04 AS builder
+FROM pytorch/pytorch:1.7.1-cuda11.0-cudnn8-devel AS builder
 
 RUN sed -i 's#archive.ubuntu.com#mirrors.aliyun.com#g' /etc/apt/sources.list  \
     && sed -i 's#security.ubuntu.com#mirrors.aliyun.com#g' /etc/apt/sources.list