diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index f50898cd..26435373 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -46,6 +46,7 @@ jobs: runs-on: ubuntu-latest needs: define-matrix strategy: + fail-fast: false matrix: build_target: ${{ fromJson(needs.define-matrix.outputs.build_targets) }} steps: diff --git a/Framework/pytorch/Dockerfile b/Framework/pytorch/Dockerfile deleted file mode 100644 index d816dba4..00000000 --- a/Framework/pytorch/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM ghcr.io/labring-actions/devbox/ubuntu-cuda-24.04:898890 -RUN cd /home/devbox/project && \ -rm -rf ./* - -COPY /Framework/pytorch/project /home/devbox/project - -RUN apt-get update && \ - curl -O https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh && \ - bash Anaconda3-2024.10-1-Linux-x86_64.sh -b && \ - rm Anaconda3-2024.10-1-Linux-x86_64.sh && \ - /root/anaconda3/bin/conda init bash && \ - . /root/.bashrc && \ - conda create -y -n hello python=3.12 && \ - conda activate hello && \ - pip3 install torch && \ - pip3 install torchvision && \ - pip3 install torchaudio && \ - chown -R devbox:devbox /home/devbox/project && \ - chmod -R u+rw /home/devbox/project && \ - chmod -R +x /home/devbox/project/entrypoint.sh && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - -RUN mkdir /home/devbox/.devbox \ No newline at end of file diff --git a/Framework/pytorch/project/entrypoint.sh b/Framework/pytorch/project/entrypoint.sh deleted file mode 100755 index 5c2fc195..00000000 --- a/Framework/pytorch/project/entrypoint.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -conda activate hello -python3 hello.py \ No newline at end of file diff --git a/Framework/pytorch/project/hello.py b/Framework/pytorch/project/hello.py deleted file mode 100644 index 3b135189..00000000 --- a/Framework/pytorch/project/hello.py +++ /dev/null @@ -1,23 +0,0 @@ -import torch -import torch.nn.functional as F - -def fibonacci_cuda_kernel(n, fib): - if n < 2: - return - fib[0] = 0 - fib[1] = 1 - for i in range(2, n): - fib[i] = fib[i - 1] + fib[i - 2] - -def fibonacci_cuda(n): - fib = torch.zeros(n, device='cuda') - - fibonacci_cuda_kernel(n, fib) - - return fib - -print(torch.__version__) -print(torch.cuda.is_available()) -n = 10 -result = fibonacci_cuda(n) -print(result[9].cpu()) \ No newline at end of file diff --git a/OS/debian/Dockerfile b/OS/debian/Dockerfile deleted file mode 100644 index 49c98f13..00000000 --- a/OS/debian/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -# Use a base image with the specified platform -FROM debian:stable-slim - -# Update apt sources and install required tools -RUN apt update && \ - apt install -y \ - net-tools \ - iproute2 \ - iputils-ping \ - curl \ - sudo \ - netcat-openbsd \ - vim \ - openssl \ - make \ - git && \ - mkdir -p /usr/start && \ - # Clean up apt cache - apt clean - - # Entry point (modifiable as needed) -CMD ["/bin/bash"] \ No newline at end of file