Skip to content

Commit

Permalink
[Manywheel] Add /usr/local/cuda symlink
Browse files Browse the repository at this point in the history
And add `nvcc` to path

Regression introduced by pytorch#1447 when NVIDIA image was dropped in favor of base `centos` image
  • Loading branch information
malfet committed Jul 6, 2023
1 parent bcd1f7b commit 4a7ed14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manywheel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ FROM cpu_final as cuda_final
RUN rm -rf /usr/local/cuda-${BASE_CUDA_VERSION}
COPY --from=cuda /usr/local/cuda-${BASE_CUDA_VERSION} /usr/local/cuda-${BASE_CUDA_VERSION}
COPY --from=magma /usr/local/cuda-${BASE_CUDA_VERSION} /usr/local/cuda-${BASE_CUDA_VERSION}
RUN ln -sf /usr/local/cuda-${BASE_CUDA_VERSION} /usr/local/cuda
ENV PATH=/usr/local/cuda/bin:$PATH

FROM cpu_final as rocm_final
ARG ROCM_VERSION=3.7
Expand Down

0 comments on commit 4a7ed14

Please sign in to comment.