diff --git a/docker/cuda_version_12.8.0/Dockerfile b/docker/cuda_version_12.8.0/Dockerfile index 6f9701805..6a0ad00fe 100644 --- a/docker/cuda_version_12.8.0/Dockerfile +++ b/docker/cuda_version_12.8.0/Dockerfile @@ -35,7 +35,7 @@ WORKDIR /root COPY ./requirements.txt /lightllm/requirements.txt RUN pip install -U pip -RUN pip install -r /lightllm/requirements.txt --no-cache-dir +RUN --mount=type=cache,target=/root/.cache/pip pip install -r /lightllm/requirements.txt --ignore-installed --extra-index-url https://download.pytorch.org/whl/cu128 RUN pip install --no-cache-dir vllm --pre --extra-index-url https://wheels.vllm.ai/nightly diff --git a/docker/cuda_version_12.8.0/Dockerfile.deepep b/docker/cuda_version_12.8.0/Dockerfile.deepep index cd9774f64..6a2a40707 100644 --- a/docker/cuda_version_12.8.0/Dockerfile.deepep +++ b/docker/cuda_version_12.8.0/Dockerfile.deepep @@ -35,7 +35,7 @@ WORKDIR /root COPY ./requirements.txt /lightllm/requirements.txt RUN pip install -U pip -RUN pip install -r /lightllm/requirements.txt --no-cache-dir +RUN --mount=type=cache,target=/root/.cache/pip pip install -r /lightllm/requirements.txt --ignore-installed --extra-index-url https://download.pytorch.org/whl/cu128 RUN pip install --no-cache-dir vllm --pre --extra-index-url https://wheels.vllm.ai/nightly diff --git a/docker/cuda_version_12.8.0/Dockerfile.nixl b/docker/cuda_version_12.8.0/Dockerfile.nixl index 6db287fdb..510c1c244 100644 --- a/docker/cuda_version_12.8.0/Dockerfile.nixl +++ b/docker/cuda_version_12.8.0/Dockerfile.nixl @@ -34,7 +34,7 @@ RUN case ${TARGETPLATFORM} in \ WORKDIR /root COPY ./requirements.txt /lightllm/requirements.txt -RUN --mount=type=cache,target=/root/.cache/pip pip install -r /lightllm/requirements.txt --ignore-installed --extra-index-url https://download.pytorch.org/whl/cu124 +RUN --mount=type=cache,target=/root/.cache/pip pip install -r /lightllm/requirements.txt --ignore-installed --extra-index-url https://download.pytorch.org/whl/cu128 RUN --mount=type=cache,target=/root/.cache/pip pip install vllm --pre --extra-index-url https://wheels.vllm.ai/nightly RUN --mount=type=cache,target=/root/.cache/pip git clone https://github.com/ModelTC/LightKernel.git && cd LightKernel && pip install --no-deps -v . diff --git a/docker/cuda_version_12.8.0/Dockerfile.nixl.deepep b/docker/cuda_version_12.8.0/Dockerfile.nixl.deepep index 2dd7a1154..ff4a7c4c9 100644 --- a/docker/cuda_version_12.8.0/Dockerfile.nixl.deepep +++ b/docker/cuda_version_12.8.0/Dockerfile.nixl.deepep @@ -36,7 +36,7 @@ RUN case ${TARGETPLATFORM} in \ WORKDIR /root COPY ./requirements.txt /lightllm/requirements.txt -RUN --mount=type=cache,target=/root/.cache/pip pip install -r /lightllm/requirements.txt --ignore-installed --extra-index-url https://download.pytorch.org/whl/cu124 +RUN --mount=type=cache,target=/root/.cache/pip pip install -r /lightllm/requirements.txt --ignore-installed --extra-index-url https://download.pytorch.org/whl/cu128 RUN --mount=type=cache,target=/root/.cache/pip pip install vllm --pre --extra-index-url https://wheels.vllm.ai/nightly RUN --mount=type=cache,target=/root/.cache/pip git clone https://github.com/ModelTC/LightKernel.git && cd LightKernel && pip install --no-deps -v .