Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihao committed Oct 19, 2024
1 parent 4f6990f commit 89f10f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/flexflow-environment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ COPY docker/flexflow-environment/install_pytorch.sh /usr/local/bin/install_pytor
RUN if [ "$FF_GPU_BACKEND" == "cuda" ] ; then \
echo "FF_GPU_BACKEND: ${FF_GPU_BACKEND}. Installing PyTorch with CUDA"; \
chmod +x /usr/local/bin/install_pytorch.sh && \
/usr/local/bin/install_pytorch.sh ${cuda_version} && \
rm /usr/local/bin/install_pytorch.sh; \
/usr/local/bin/install_pytorch.sh ${cuda_version}; \
else \
echo "FF_GPU_BACKEND: ${FF_GPU_BACKEND}. Installing CPU-only PyTorch"; \
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu; \
fi
RUN rm /usr/local/bin/install_pytorch.sh
# Various dependencies
RUN pip3 install transformers>=4.31.0 sentencepiece einops
RUN pip3 install tensorflow notebook
Expand Down

0 comments on commit 89f10f4

Please sign in to comment.