-
Notifications
You must be signed in to change notification settings - Fork 3
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
20 changed files
with
927 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# SPDX-FileCopyrightText: Copyright 2021, Siavash Ameli <sameli@berkeley.edu> | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# SPDX-FileType: SOURCE | ||
# | ||
# This program is free software: you can redistribute it and/or modify it | ||
# under the terms of the license found in the LICENSE.txt file in the root | ||
# directory of this source tree. | ||
|
||
|
||
load("cirrus", "env", "fs", "http") | ||
|
||
def main(ctx): | ||
|
||
file = '' | ||
file += fs.read("tools/ci/cirrus_deploy_docker_manylinux2014_aarch64_cuda_12.3.yml") | ||
# file += fs.read("tools/ci/cirrus_deploy_pypi_linux_aarch64.yml") | ||
# file += fs.read("tools/ci/cirrus_deploy_pypi_macosx_arm64.yml") | ||
# file += fs.read("tools/ci/cirrus_deploy_conda_linux_aarch64.yml") | ||
# file += fs.read("tools/ci/cirrus_deploy_conda_macosx_arm64.yml") | ||
|
||
return file |
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
version: '3' | ||
services: | ||
cuda_10.2: | ||
build: ./docker/cuda-10.2 | ||
manylinux2014_x86_64_cuda_10.2: | ||
build: ./docker/manylinux2014_x86_64_cuda_10.2 | ||
image: sameli/manylinux2014_x86_64_cuda_10.2 | ||
|
||
cuda_11.7: | ||
build: ./docker/cuda-11.7 | ||
manylinux2014_x86_64_cuda_11.7: | ||
build: ./docker/manylinux2014_x86_64_cuda_11.7 | ||
image: sameli/manylinux2014_x86_64_cuda_11.7 | ||
|
||
cuda_11.8: | ||
build: ./docker/cuda-11.8 | ||
manylinux2014_x86_64_cuda_11.8: | ||
build: ./docker/manylinux2014_x86_64_cuda_11.8 | ||
image: sameli/manylinux2014_x86_64_cuda_11.8 | ||
|
||
cuda_12.0: | ||
build: ./docker/cuda-12.0 | ||
manylinux2014_x86_64_cuda_12.0: | ||
build: ./docker/manylinux2014_x86_64_cuda_12.0 | ||
image: sameli/manylinux2014_x86_64_cuda_12.0 | ||
|
||
cuda_12.2: | ||
build: ./docker/cuda-12.2 | ||
manylinux2014_x86_64_cuda_12.2: | ||
build: ./docker/manylinux2014_x86_64_cuda_12.2 | ||
image: sameli/manylinux2014_x86_64_cuda_12.2 |
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,51 @@ | ||
# SPDX-FileCopyrightText: Copyright 2021, Siavash Ameli <sameli@berkeley.edu> | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# SPDX-FileType: SOURCE | ||
|
||
# ----------------------------------------------------------------------------- | ||
# How to build | ||
# $ docker build -t sameli/manylinux2014_aarch64_cuda_12.3 -f <This-Filename> . | ||
# | ||
# How to run: | ||
# $ docker run -it -v/host_dir:/image_dir --entrypoint /bin/bash \ | ||
# manylinux2014_aarch64_cuda_12.3 | ||
# ----------------------------------------------------------------------------- | ||
|
||
# ----------------- | ||
# Choose base image | ||
# ----------------- | ||
|
||
FROM quay.io/pypa/manylinux2014_aarch64 | ||
|
||
MAINTAINER Siavash Ameli <samei@berkeley.edu> | ||
LABEL Description="manylinux2014_aarch64 with cuda 12.3" | ||
|
||
# ------------ | ||
# Install cuda | ||
# ------------ | ||
|
||
RUN dnf install -y dnf-utils | ||
RUN dnf install -y wget | ||
|
||
RUN wget https://developer.download.nvidia.com/compute/cuda/12.3.1/local_installers/cuda-repo-rhel9-12-3-local-12.3.1_545.23.08-1.aarch64.rpm | ||
RUN sudo rpm -i cuda-repo-rhel9-12-3-local-12.3.1_545.23.08-1.aarch64.rpm | ||
RUN sudo dnf clean all | ||
RUN sudo dnf -y install cuda-toolkit-12-3 | ||
RUN rm cuda-repo-rhel9-12-3-local-12.3.1_545.23.08-1.aarch64.rpm | ||
|
||
# ------------------------- | ||
# Set environment variables | ||
# ------------------------- | ||
|
||
ENV PATH="/usr/local/cuda/bin:${PATH}" | ||
ENV CUDA_HOME=/usr/local/cuda | ||
ENV CUDA_ROOT=/usr/local/cuda | ||
ENV CUDA_PATH=/usr/local/cuda | ||
ENV CUDADIR=/usr/local/cuda | ||
ENV LD_LIBRARY_PATH="/usr/local/cuda/lib64:${LD_LIBRARY_PATH}" | ||
|
||
# -------- | ||
# Commands | ||
# -------- | ||
|
||
CMD ["/bin/bash"] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.