Update Dockerfile reorder installs (#6672)
Browse filesAlso `nvidia-tensorboard-plugin-dlprof`, `nvidia-tensorboard` are no longer installed in NVCR base.
- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -9,9 +9,9 @@ RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
|
|
9 |
# Install python dependencies
|
10 |
COPY requirements.txt .
|
11 |
RUN python -m pip install --upgrade pip
|
12 |
-
RUN pip uninstall -y
|
13 |
-
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook
|
14 |
RUN pip install --no-cache torch==1.10.2+cu113 torchvision==0.11.3+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
|
|
|
15 |
# RUN pip install --no-cache -U torch torchvision
|
16 |
|
17 |
# Create working directory
|
|
|
9 |
# Install python dependencies
|
10 |
COPY requirements.txt .
|
11 |
RUN python -m pip install --upgrade pip
|
12 |
+
RUN pip uninstall -y torch torchvision torchtext
|
|
|
13 |
RUN pip install --no-cache torch==1.10.2+cu113 torchvision==0.11.3+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
|
14 |
+
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook
|
15 |
# RUN pip install --no-cache -U torch torchvision
|
16 |
|
17 |
# Create working directory
|