From 0cf8e0a67fee6da084bd3a4f04525c27b98dffa0 Mon Sep 17 00:00:00 2001 From: jiashenggu <32376856+jiashenggu@users.noreply.github.com> Date: Fri, 27 Dec 2024 19:02:20 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c28b6e40d..4096184a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM ${BASE_IMAGE} ARG ONEFLOW_PIP_INDEX ARG ONEFLOW_PACKAGE_NAME=oneflow -RUN pip install -f ${ONEFLOW_PIP_INDEX} ${ONEFLOW_PACKAGE_NAME} "nvidia-cudnn-cu11>=8.9,<9.0" +RUN pip install -U --pre -f ${ONEFLOW_PIP_INDEX} ${ONEFLOW_PACKAGE_NAME} "nvidia-cudnn-cu11>=8.9,<9.0" RUN python3 -m pip install "torch" "transformers==4.27.1" "diffusers[torch]==0.19.3" "huggingface-hub==0.23.2" nvidia-cuda-cupti-cu12 nvidia-nvjitlink-cu12 ADD . /src/onediff RUN python3 -m pip install -e /src/onediff