Skip to content

Commit ec7ef7d

Browse files
committed
Add CUDA_HOME for docker build
1 parent dddc827 commit ec7ef7d

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ COPY requirements.txt .
4444

4545
RUN pip install -r requirements.txt --no-cache-dir
4646

47+
ENV CUDA_HOME=/usr/local/cuda
4748
COPY ./kernels ./kernels
4849
RUN pip install ./kernels --no-cache-dir --no-build-isolation
4950

docker/Dockerfile.chat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ ENV TORCH_CUDA_ARCH_LIST="8.0 8.6 8.7 8.9 9.0 10.0 12.0"
4141

4242
RUN pip install vllm==0.15.1 accelerate --no-cache-dir
4343

44+
ENV CUDA_HOME=/usr/local/cuda
4445
COPY ./kernels ./kernels
4546
RUN pip install ./kernels --no-cache-dir --no-build-isolation
4647

docker/Dockerfile.chat-cu130

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ ENV TORCH_CUDA_ARCH_LIST="8.0 8.6 8.7 8.9 9.0 10.0 12.0 12.1"
4141

4242
RUN pip install vllm==0.15.1 accelerate --no-cache-dir --extra-index-url https://wheels.vllm.ai/0.15.1/cu130 --extra-index-url https://download.pytorch.org/whl/cu130
4343

44+
ENV CUDA_HOME=/usr/local/cuda
4445
COPY ./kernels ./kernels
4546
RUN pip install ./kernels --no-cache-dir --no-build-isolation
4647

docker/Dockerfile.eval-reasoning

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ COPY experiments/tasks/reasoning/requirements.txt .
4343

4444
RUN pip install -r ./requirements.txt --no-cache-dir
4545

46+
ENV CUDA_HOME=/usr/local/cuda
4647
COPY ./kernels ./kernels
4748
RUN pip install ./kernels --no-cache-dir --no-build-isolation
4849

0 commit comments

Comments
 (0)