We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ef884 commit d8a8313Copy full SHA for d8a8313
1 file changed
Dockerfile
@@ -27,7 +27,7 @@ RUN pip install -qq --upgrade pip
27
# 定义 torch 版本参数
28
ARG TORCH_VERSION
29
# 安装 torch
30
-RUN pip install -qq --no-cache-dir torch==${TORCH_VERSION} --index-url https://download.pytorch.org/whl/torch
+RUN pip install -qq --no-cache-dir torch==${TORCH_VERSION}
31
32
# 设置工作目录
33
WORKDIR /home
0 commit comments