-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: added cuda 12.4 build support (#255)
- Loading branch information
Showing
14 changed files
with
115 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ ARG UBUNTU_VERSION=22.04 | |
FROM ubuntu:${UBUNTU_VERSION} | ||
|
||
LABEL maintainer="[email protected]" | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install common dependencies | ||
COPY ./common/install_base.sh install_base.sh | ||
|
@@ -25,8 +25,8 @@ RUN rm install_python.sh | |
ARG CUDA_VERSION=12.1 | ||
COPY ./common/install_cuda.sh install_cuda.sh | ||
RUN bash ./install_cuda.sh ${CUDA_VERSION} && rm install_cuda.sh | ||
ENV DESIRED_CUDA ${CUDA_VERSION} | ||
ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:$PATH | ||
ENV DESIRED_CUDA=${CUDA_VERSION} | ||
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:$PATH | ||
|
||
# Install gcc | ||
ARG GCC_VERSION=11 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ ARG UBUNTU_VERSION=22.04 | |
FROM ubuntu:${UBUNTU_VERSION} | ||
|
||
LABEL maintainer="[email protected]" | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install common dependencies | ||
COPY ./common/install_base.sh install_base.sh | ||
|
@@ -34,8 +34,8 @@ RUN rm install_ninja.sh | |
ARG CUDA_VERSION=12.1 | ||
COPY ./common/install_cuda.sh install_cuda.sh | ||
RUN bash ./install_cuda.sh ${CUDA_VERSION} && rm install_cuda.sh | ||
ENV DESIRED_CUDA ${CUDA_VERSION} | ||
ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:$PATH | ||
ENV DESIRED_CUDA=${CUDA_VERSION} | ||
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:$PATH | ||
|
||
# install rust | ||
ENV RUSTUP_HOME=/usr/local/rustup | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ ARG CUDA_VERSION=12.1 | |
FROM pytorch/manylinux-builder:cuda${CUDA_VERSION} as base | ||
|
||
LABEL maintainer="[email protected]" | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US.UTF-8 | ||
ENV LC_ALL=en_US.UTF-8 | ||
ENV LANG=en_US.UTF-8 | ||
ENV LANGUAGE=en_US.UTF-8 | ||
|
||
# Install dependencies for vcpkg | ||
RUN yum -y update && yum -y install \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM quay.io/pypa/manylinux_2_28_x86_64 as base | ||
|
||
LABEL maintainer="[email protected]" | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US.UTF-8 | ||
ENV LC_ALL=en_US.UTF-8 | ||
ENV LANG=en_US.UTF-8 | ||
ENV LANGUAGE=en_US.UTF-8 | ||
|
||
# Install common dependencies | ||
COPY ./common/install_base.sh install_base.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters