Skip to content

Commit aebfcb2

Browse files
authored
Dockerfile: Upgrade Cuda to 12.1 (#1609)
1 parent ab9e848 commit aebfcb2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 AS dev
1+
FROM nvidia/cuda:12.1.0-devel-ubuntu22.04 AS dev
22

33
RUN apt-get update -y \
44
&& apt-get install -y python3-pip
@@ -9,7 +9,7 @@ WORKDIR /workspace
99
COPY requirements.txt requirements.txt
1010
RUN --mount=type=cache,target=/root/.cache/pip \
1111
pip install -r requirements.txt
12-
12+
1313
# install development dependencies
1414
COPY requirements-dev.txt requirements-dev.txt
1515
RUN --mount=type=cache,target=/root/.cache/pip \
@@ -26,7 +26,7 @@ COPY pyproject.toml pyproject.toml
2626
COPY vllm/__init__.py vllm/__init__.py
2727

2828
# max jobs used by Ninja to build extensions
29-
ENV MAX_JOBS=$max_jobs
29+
ENV MAX_JOBS=$max_jobs
3030
RUN python3 setup.py build_ext --inplace
3131

3232
# image to run unit testing suite
@@ -41,7 +41,7 @@ COPY vllm vllm
4141
ENTRYPOINT ["python3", "-m", "pytest", "tests"]
4242

4343
# use CUDA base as CUDA runtime dependencies are already installed via pip
44-
FROM nvidia/cuda:11.8.0-base-ubuntu22.04 AS vllm-base
44+
FROM nvidia/cuda:12.1.0-base-ubuntu22.04 AS vllm-base
4545

4646
# libnccl required for ray
4747
RUN apt-get update -y \

0 commit comments

Comments
 (0)