-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
133 additions
and
162 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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM ghcr.io/microsoft/mscclpp/mscclpp:base-cuda11.8 | ||
|
||
LABEL maintainer="MSCCL++" | ||
LABEL org.opencontainers.image.source https://github.com/microsoft/mscclpp | ||
|
||
ENV MSCCLPP_SRC_DIR="/tmp/mscclpp" \ | ||
CMAKE_VERSION="3.26.4" | ||
|
||
ADD . ${MSCCLPP_SRC_DIR} | ||
WORKDIR ${MSCCLPP_SRC_DIR} | ||
|
||
# Install cmake 3.26.4 | ||
ENV CMAKE_HOME="/tmp/cmake-${CMAKE_VERSION}-linux-x86_64" \ | ||
CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz" | ||
RUN curl -L ${CMAKE_URL} -o ${CMAKE_HOME}.tar.gz && \ | ||
tar xzf ${CMAKE_HOME}.tar.gz -C /usr/local && \ | ||
rm -rf ${CMAKE_HOME}.tar.gz | ||
ENV PATH="/usr/local/cmake-${CMAKE_VERSION}-linux-x86_64/bin:${PATH}" | ||
|
||
# Install pytest & dependencies | ||
RUN python3 -m pip install --no-cache-dir -r python/test/requirements_cu11.txt | ||
|
||
# Set PATH | ||
RUN echo PATH="${PATH}" > /etc/environment | ||
|
||
# Cleanup | ||
WORKDIR / | ||
RUN rm -rf ${MSCCLPP_SRC_DIR} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM ghcr.io/microsoft/mscclpp/mscclpp:base-cuda12.1 | ||
|
||
LABEL maintainer="MSCCL++" | ||
LABEL org.opencontainers.image.source https://github.com/microsoft/mscclpp | ||
|
||
ENV MSCCLPP_SRC_DIR="/tmp/mscclpp" \ | ||
CMAKE_VERSION="3.26.4" | ||
|
||
ADD . ${MSCCLPP_SRC_DIR} | ||
WORKDIR ${MSCCLPP_SRC_DIR} | ||
|
||
# Install cmake 3.26.4 | ||
ENV CMAKE_HOME="/tmp/cmake-${CMAKE_VERSION}-linux-x86_64" \ | ||
CMAKE_URL="https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz" | ||
RUN curl -L ${CMAKE_URL} -o ${CMAKE_HOME}.tar.gz && \ | ||
tar xzf ${CMAKE_HOME}.tar.gz -C /usr/local | ||
ENV PATH="/usr/local/cmake-${CMAKE_VERSION}-linux-x86_64/bin:${PATH}" | ||
|
||
# Install pytest & dependencies | ||
RUN python3 -m pip install --no-cache-dir -r python/test/requirements_cu12.txt | ||
|
||
# Set PATH | ||
RUN echo PATH="${PATH}" > /etc/environment | ||
|
||
# Cleanup | ||
WORKDIR / | ||
RUN rm -rf ${MSCCLPP_SRC_DIR} |
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
Oops, something went wrong.