glenn-jocher
commited on
Update Dockerfile (#3792)
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -9,7 +9,8 @@ COPY requirements.txt .
|
|
9 |
RUN python -m pip install --upgrade pip
|
10 |
RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-plugin-dlprof
|
11 |
RUN pip install --no-cache -r requirements.txt coremltools onnx gsutil notebook
|
12 |
-
RUN pip install --no-cache torch
|
|
|
13 |
|
14 |
# Create working directory
|
15 |
RUN mkdir -p /usr/src/app
|
|
|
9 |
RUN python -m pip install --upgrade pip
|
10 |
RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-plugin-dlprof
|
11 |
RUN pip install --no-cache -r requirements.txt coremltools onnx gsutil notebook
|
12 |
+
RUN pip install --no-cache -U torch torchvision numpy
|
13 |
+
# RUN pip install --no-cache torch==1.9.0+cu111 torchvision==0.10.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
|
14 |
|
15 |
# Create working directory
|
16 |
RUN mkdir -p /usr/src/app
|