Skip to content

Commit

Permalink
manylinux_2_28
Browse files Browse the repository at this point in the history
  • Loading branch information
ameli committed Feb 3, 2024
1 parent 078ff98 commit dfd8ee1
Show file tree
Hide file tree
Showing 12 changed files with 369 additions and 100 deletions.
3 changes: 2 additions & 1 deletion .cirrus.star
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ 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_docker_manylinux2014_aarch64_cuda_12.3.yml")
# file += fs.read("tools/ci/cirrus_deploy_docker_manylinux_2_28_aarch64_cuda_12.3.yml")

return file
51 changes: 27 additions & 24 deletions .github/workflows/deploy-docker-manylinux2014_x86_64_cuda_10.2.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: deploy-docker-manylinux2014_x86_64_cuda_10.2

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published

jobs:
build-manylinux_x86_64_cuda_10_2:
build_docker:
name: manylinux2014_x86_64_cuda_10.2
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -32,23 +33,25 @@ jobs:
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

# test-cuda-10-2:
# runs-on: ubuntu-latest
# steps:
# - name: Install Snap
# run: |
# sudo apt update
# sudo apt install snapd
#
# - name: Install Docker
# run: |
# sudo snap install docker
# sudo groupadd -f docker
# sudo usermod -aG docker $USER
# newgrp docker
#
# - name: Pull Docker Image
# run: docker pull sameli/manylinux2014_x86_64_cuda_10.2
#
# - name: Run Docker Image
# run: docker run -t sameli/manylinux2014_x86_64_cuda_10.2 nvcc --version
test_docker:
needs: [build_docker]
name: manylinux2014_x86_64_cuda_10.2
runs-on: ubuntu-latest
steps:
- name: Install Snap
run: |
sudo apt update
sudo apt install snapd
- name: Install Docker
run: |
sudo snap install docker
sudo groupadd -f docker
sudo usermod -aG docker $USER
newgrp docker
- name: Pull Docker Image
run: docker pull sameli/manylinux2014_x86_64_cuda_10.2

- name: Run Docker Image
run: docker run -t sameli/manylinux2014_x86_64_cuda_10.2 nvcc --version
51 changes: 27 additions & 24 deletions .github/workflows/deploy-docker-manylinux2014_x86_64_cuda_11.8.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: deploy-docker-manylinux2014_x86_64_cuda_11.8

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published

jobs:
build-manylinux_x86_64_cuda_11_8:
build_docker:
name: manylinux2014_x86_64_cuda_11.8
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -32,23 +33,25 @@ jobs:
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

# test-cuda-11-8:
# runs-on: ubuntu-latest
# steps:
# - name: Install Snap
# run: |
# sudo apt update
# sudo apt install snapd
#
# - name: Install Docker
# run: |
# sudo snap install docker
# sudo groupadd -f docker
# sudo usermod -aG docker $USER
# newgrp docker
#
# - name: Pull Docker Image
# run: docker pull sameli/manylinux2014_x86_64_cuda_11.8
#
# - name: Run Docker Image
# run: docker run -t sameli/manylinux2014_x86_64_cuda_11.8 nvcc --version
test_docker:
needs: [build_docker]
name: manylinux2014_x86_64_cuda_11.8
runs-on: ubuntu-latest
steps:
- name: Install Snap
run: |
sudo apt update
sudo apt install snapd
- name: Install Docker
run: |
sudo snap install docker
sudo groupadd -f docker
sudo usermod -aG docker $USER
newgrp docker
- name: Pull Docker Image
run: docker pull sameli/manylinux2014_x86_64_cuda_11.8

- name: Run Docker Image
run: docker run -t sameli/manylinux2014_x86_64_cuda_11.8 nvcc --version
51 changes: 27 additions & 24 deletions .github/workflows/deploy-docker-manylinux2014_x86_64_cuda_12.0.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: deploy-docker-manylinux2014_x86_64_cuda_12.0

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published

jobs:
build-manylinux_x86_64_cuda_12_0:
build_docker:
name: manylinux2014_x86_64_cuda_12.0
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -32,23 +33,25 @@ jobs:
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

# test-cuda-12-0:
# runs-on: ubuntu-latest
# steps:
# - name: Install Snap
# run: |
# sudo apt update
# sudo apt install snapd
#
# - name: Install Docker
# run: |
# sudo snap install docker
# sudo groupadd -f docker
# sudo usermod -aG docker $USER
# newgrp docker
#
# - name: Pull Docker Image
# run: docker pull sameli/manylinux2014_x86_64_cuda_12.0
#
# - name: Run Docker Image
# run: docker run -t sameli/manylinux2014_x86_64_cuda_12.0 nvcc --version
test_docker:
needs: [build_docker]
name: manylinux2014_x86_64_cuda_12.0
runs-on: ubuntu-latest
steps:
- name: Install Snap
run: |
sudo apt update
sudo apt install snapd
- name: Install Docker
run: |
sudo snap install docker
sudo groupadd -f docker
sudo usermod -aG docker $USER
newgrp docker
- name: Pull Docker Image
run: docker pull sameli/manylinux2014_x86_64_cuda_12.0

- name: Run Docker Image
run: docker run -t sameli/manylinux2014_x86_64_cuda_12.0 nvcc --version
51 changes: 27 additions & 24 deletions .github/workflows/deploy-docker-manylinux2014_x86_64_cuda_12.3.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: deploy-docker-manylinux2014_x86_64_cuda_12.3

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published

jobs:
build-manylinux_x86_64_cuda_12_3:
build_docker:
name: manylinux2014_x86_64_cuda_12.3
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -32,23 +33,25 @@ jobs:
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

# test-cuda-12.3:
# runs-on: ubuntu-latest
# steps:
# - name: Install Snap
# run: |
# sudo apt update
# sudo apt install snapd
#
# - name: Install Docker
# run: |
# sudo snap install docker
# sudo groupadd -f docker
# sudo usermod -aG docker $USER
# newgrp docker
#
# - name: Pull Docker Image
# run: docker pull sameli/manylinux2014_x86_64_cuda_12.3
#
# - name: Run Docker Image
# run: docker run -t sameli/manylinux2014_x86_64_cuda_12.3 nvcc --version
test_docker:
needs: [build_docker]
name: manylinux2014_x86_64_cuda_12.3
runs-on: ubuntu-latest
steps:
- name: Install Snap
run: |
sudo apt update
sudo apt install snapd
- name: Install Docker
run: |
sudo snap install docker
sudo groupadd -f docker
sudo usermod -aG docker $USER
newgrp docker
- name: Pull Docker Image
run: docker pull sameli/manylinux2014_x86_64_cuda_12.3

- name: Run Docker Image
run: docker run -t sameli/manylinux2014_x86_64_cuda_12.3 nvcc --version
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: deploy-docker-manylinux_2_28_x86_64_cuda_12.3

on:
push:
branches:
- main
release:
types:
- published

jobs:
build_docker:
name: manylinux_2_28_x86_64_cuda_12.3
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push manylinux_2_28_x86_64_cuda-12.3
id: docker_build
uses: docker/build-push-action@v3
with:
push: true
file: ./docker/manylinux_2_28_x86_64_cuda_12.3/Dockerfile
tags: sameli/manylinux_2_28_x86_64_cuda_12.3:latest

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

test_docker:
needs: [build_docker]
name: manylinux_2_28_x86_64_cuda_12.3
runs-on: ubuntu-latest
steps:
- name: Install Snap
run: |
sudo apt update
sudo apt install snapd
- name: Install Docker
run: |
sudo snap install docker
sudo groupadd -f docker
sudo usermod -aG docker $USER
newgrp docker
- name: Pull Docker Image
run: docker pull sameli/manylinux_2_28_x86_64_cuda_12.3

- name: Run Docker Image
run: docker run -t sameli/manylinux_2_28_x86_64_cuda_12.3 nvcc --version
3 changes: 3 additions & 0 deletions docker-compose-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ services:
manylinux2014_aarch64_cuda_12.3:
build: ./docker/manylinux2014_aarch64_cuda_12.3
image: sameli/manylinux2014_aarch64_cuda_12.3
manylinux_2_28_aarch64_cuda_12.3:
build: ./docker/manylinux_2_28_aarch64_cuda_12.3
image: sameli/manylinux_2_28_aarch64_cuda_12.3
9 changes: 6 additions & 3 deletions docker-compose-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ services:
build: ./docker/manylinux2014_x86_64_cuda_12.0
image: sameli/manylinux2014_x86_64_cuda_12.0

manylinux2014_x86_64_cuda_12.2:
build: ./docker/manylinux2014_x86_64_cuda_12.2
image: sameli/manylinux2014_x86_64_cuda_12.2
manylinux2014_x86_64_cuda_12.3:
build: ./docker/manylinux2014_x86_64_cuda_12.3
image: sameli/manylinux2014_x86_64_cuda_12.3
manylinux_2_28_x86_64_cuda_12.3:
build: ./docker/manylinux_2_28_x86_64_cuda_12.3
image: sameli/manylinux_2_28_x86_64_cuda_12.3
2 changes: 2 additions & 0 deletions docker/manylinux2014_aarch64_cuda_12.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ ARG ARCH="aarch64"

RUN yum install -y yum-utils
RUN yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel9/sbsa/cuda-rhel9.repo
RUN yum -y install epel-release
RUN yum -y install cuda-compiler-${VER}.${ARCH} \
cuda-libraries-${VER}.${ARCH} \
cuda-libraries-devel-${VER}.${ARCH}
RUN yum -y module install nvidia-driver:latest-dkms
RUN yum clean all
RUN rm -rf /var/cache/yum/*
RUN echo "/usr/local/cuda/lib64" >> /etc/ld.so.conf.d/999_nvidia_cuda.conf
Expand Down
Loading

0 comments on commit dfd8ee1

Please sign in to comment.