Skip to content

Commit

Permalink
Update Dockerfile reorder installs (ultralytics#6672)
Browse files Browse the repository at this point in the history
Also `nvidia-tensorboard-plugin-dlprof`, `nvidia-tensorboard` are no longer installed in NVCR base.
  • Loading branch information
glenn-jocher authored and eladco committed Mar 10, 2022
1 parent fc78b01 commit 01dd61a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
# Install python dependencies
COPY requirements.txt .
RUN python -m pip install --upgrade pip
RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-plugin-dlprof torch torchvision
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook
RUN pip uninstall -y torch torchvision torchtext
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
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook
# RUN pip install --no-cache -U torch torchvision

# Create working directory
Expand Down

0 comments on commit 01dd61a

Please sign in to comment.