Skip to content

Commit 4955450

Browse files
authored
Update Dockerfile reorder installs (ultralytics#6672)
Also `nvidia-tensorboard-plugin-dlprof`, `nvidia-tensorboard` are no longer installed in NVCR base.
1 parent 6f3ea02 commit 4955450

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
99
# Install python dependencies
1010
COPY requirements.txt .
1111
RUN python -m pip install --upgrade pip
12-
RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-plugin-dlprof torch torchvision
13-
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook
12+
RUN pip uninstall -y torch torchvision torchtext
1413
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
1515
# RUN pip install --no-cache -U torch torchvision
1616

1717
# Create working directory

0 commit comments

Comments
 (0)