Skip to content

Commit

Permalink
Comment PyTorch 2.2.0 install
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsheep committed Oct 19, 2023
1 parent 15e535b commit 3190161
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ RUN apt update && \
ENV TORCH_CUDA_ARCH_LIST "7.0;7.2;7.5;8.0;8.6;8.9;9.0"

# We have to manually install Torch otherwise apex & xformers won't build
RUN pip3 install "torch==2.2.0.dev20231013+cu118" --index-url https://download.pytorch.org/whl/nightly/cu118
RUN pip3 install "torch>=2.0.0"
# To enable H100 PCIe support, install PyTorch >=2.2.0 by uncommenting the following line
# RUN pip3 install "torch==2.2.0.dev20231018+cu118" --index-url https://download.pytorch.org/whl/nightly/cu118

# This build is slow but NVIDIA does not provide binaries. Increase MAX_JOBS as needed.
RUN git clone https://github.com/NVIDIA/apex && \
Expand Down

0 comments on commit 3190161

Please sign in to comment.