diff --git a/.github/workflows/building-conda.yml b/.github/workflows/building-conda.yml deleted file mode 100644 index f6b3d7c..0000000 --- a/.github/workflows/building-conda.yml +++ /dev/null @@ -1,100 +0,0 @@ -name: Building Conda - -on: [workflow_dispatch] - -jobs: - - conda-build: - runs-on: ${{ matrix.os }} - - strategy: - fail-fast: false - matrix: - os: [ubuntu-18.04, macos-10.15] #, windows-2019] - python-version: ['3.7', '3.8', '3.9'] #, '3.10'] - torch-version: [1.10.0, 1.11.0, 1.12.0] - cuda-version: ['cpu', 'cu102', 'cu113', 'cu115', 'cu116'] - exclude: - - torch-version: 1.10.0 - cuda-version: 'cu116' - - torch-version: 1.11.0 - cuda-version: 'cu116' - - torch-version: 1.12.0 - cuda-version: 'cu115' - - torch-version: 1.10.0 - cuda-version: 'cu115' - - torch-version: 1.10.0 - python-version: '3.10' - - os: windows-2019 - torch-version: 1.11.0 - cuda-version: 'cu102' - - os: macos-10.15 - cuda-version: 'cu102' - - os: macos-10.15 - cuda-version: 'cu113' - - os: macos-10.15 - cuda-version: 'cu115' - - os: macos-10.15 - cuda-version: 'cu116' - - os: macos-10.15 - python-version: '3.10' # this is unhappy - - os: ubuntu-18.04 - cuda-version: 'cu115' - - os: windows-2019 - cuda-version: 'cu102' - - os: windows-2019 # Complains about CUDA mismatch. - python-version: '3.7' - - steps: - - uses: actions/checkout@v2 - - name: Set up Conda for Python ${{ matrix.python-version }} - uses: conda-incubator/setup-miniconda@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Free up disk space - if: ${{ runner.os == 'Linux' }} - run: | - sudo rm -rf /usr/share/dotnet - - - name: Free up disk space - if: ${{ runner.os == 'Linux' }} - run: | - sudo rm -rf /usr/share/dotnet - - - name: Install Conda packages - run: | - conda install conda-build conda-verify --yes - shell: - bash -l {0} - - - name: Install CUDA ${{ matrix.cuda-version }} - if: ${{ matrix.cuda-version != 'cpu' }} - run: | - bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh - shell: - bash - - - name: Build Conda package for CPU - if: ${{ matrix.cuda-version == 'cpu' }} - run: | - FORCE_CUDA=0 TORCH_CUDA_ARCH_LIST=0 ./conda/torch-points-kernels/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }} - shell: - bash -l {0} - - - name: Build Conda package for GPU - if: ${{ matrix.cuda-version != 'cpu' }} - run: | - source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh - ./conda/torch-points-kernels/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }} - shell: - bash -l {0} - - - name: Publish Conda package - run: | - conda install anaconda-client --yes - anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2 - env: - ANACONDA_API_TOKEN: ${{ secrets.CONDA_TOKEN }} - shell: - bash -l {0} diff --git a/.github/workflows/cuda/cu101-Linux-env.sh b/.github/workflows/cuda/cu101-Linux-env.sh deleted file mode 100644 index 2559816..0000000 --- a/.github/workflows/cuda/cu101-Linux-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/usr/local/cuda-10.1 -LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} -PATH=${CUDA_HOME}/bin:${PATH} - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5" diff --git a/.github/workflows/cuda/cu101-Linux.sh b/.github/workflows/cuda/cu101-Linux.sh deleted file mode 100644 index ffb1dca..0000000 --- a/.github/workflows/cuda/cu101-Linux.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -OS=ubuntu1804 - -wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin -sudo mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600 -wget -nv https://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda-repo-${OS}-10-1-local-10.1.243-418.87.00_1.0-1_amd64.deb -sudo dpkg -i cuda-repo-${OS}-10-1-local-10.1.243-418.87.00_1.0-1_amd64.deb -sudo apt-key add /var/cuda-repo-10-1-local-10.1.243-418.87.00/7fa2af80.pub - -sudo apt-get -qq update -sudo apt install cuda-nvcc-10-1 cuda-libraries-dev-10-1 -sudo apt clean - -rm -f https://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda-repo-${OS}-10-1-local-10.1.243-418.87.00_1.0-1_amd64.deb diff --git a/.github/workflows/cuda/cu101-Windows-env.sh b/.github/workflows/cuda/cu101-Windows-env.sh deleted file mode 100644 index 24ace97..0000000 --- a/.github/workflows/cuda/cu101-Windows-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v10.1 -PATH=${CUDA_HOME}/bin:$PATH -PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5" diff --git a/.github/workflows/cuda/cu101-Windows.sh b/.github/workflows/cuda/cu101-Windows.sh deleted file mode 100644 index 362cd2b..0000000 --- a/.github/workflows/cuda/cu101-Windows.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Install NVIDIA drivers, see: -# https://github.com/pytorch/vision/blob/master/packaging/windows/internal/cuda_install.bat#L99-L102 -curl -k -L "https://drive.google.com/u/0/uc?id=1injUyo3lnarMgWyRcXqKg4UGnN0ysmuq&export=download" --output "/tmp/gpu_driver_dlls.zip" -7z x "/tmp/gpu_driver_dlls.zip" -o"/c/Windows/System32" - -export CUDA_SHORT=10.1 -export CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}/Prod/local_installers/ -export CUDA_FILE=cuda_${CUDA_SHORT}.243_426.00_win10.exe - -# Install CUDA: -curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}" -echo "" -echo "Installing from ${CUDA_FILE}..." -PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT}\" -Wait -NoNewWindow" -echo "Done!" -rm -f "${CUDA_FILE}" diff --git a/.github/workflows/cuda/cu102-Linux-env.sh b/.github/workflows/cuda/cu102-Linux-env.sh deleted file mode 100644 index a8f60a8..0000000 --- a/.github/workflows/cuda/cu102-Linux-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/usr/local/cuda-10.2 -LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} -PATH=${CUDA_HOME}/bin:${PATH} - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5" diff --git a/.github/workflows/cuda/cu102-Linux.sh b/.github/workflows/cuda/cu102-Linux.sh deleted file mode 100644 index 85e1ed2..0000000 --- a/.github/workflows/cuda/cu102-Linux.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -OS=ubuntu1804 - -wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin -sudo mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600 -wget -nv https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-${OS}-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb -sudo dpkg -i cuda-repo-${OS}-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb -sudo apt-key add /var/cuda-repo-10-2-local-10.2.89-440.33.01/7fa2af80.pub - -sudo apt-get -qq update -sudo apt install cuda-nvcc-10-2 cuda-libraries-dev-10-2 -sudo apt clean - -rm -f https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-${OS}-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb diff --git a/.github/workflows/cuda/cu102-Windows-env.sh b/.github/workflows/cuda/cu102-Windows-env.sh deleted file mode 100644 index 1888e2c..0000000 --- a/.github/workflows/cuda/cu102-Windows-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v10.2 -PATH=${CUDA_HOME}/bin:$PATH -PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5" diff --git a/.github/workflows/cuda/cu102-Windows.sh b/.github/workflows/cuda/cu102-Windows.sh deleted file mode 100644 index 368420b..0000000 --- a/.github/workflows/cuda/cu102-Windows.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Install NVIDIA drivers, see: -# https://github.com/pytorch/vision/blob/master/packaging/windows/internal/cuda_install.bat#L99-L102 -curl -k -L "https://drive.google.com/u/0/uc?id=1injUyo3lnarMgWyRcXqKg4UGnN0ysmuq&export=download" --output "/tmp/gpu_driver_dlls.zip" -7z x "/tmp/gpu_driver_dlls.zip" -o"/c/Windows/System32" - -export CUDA_SHORT=10.2 -export CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}/Prod/local_installers -export CUDA_FILE=cuda_${CUDA_SHORT}.89_441.22_win10.exe - -# Install CUDA: -curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}" -echo "" -echo "Installing from ${CUDA_FILE}..." -PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT}\" -Wait -NoNewWindow" -echo "Done!" -rm -f "${CUDA_FILE}" diff --git a/.github/workflows/cuda/cu111-Linux-env.sh b/.github/workflows/cuda/cu111-Linux-env.sh deleted file mode 100644 index bd30537..0000000 --- a/.github/workflows/cuda/cu111-Linux-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/usr/local/cuda-11.1 -LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} -PATH=${CUDA_HOME}/bin:${PATH} - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" diff --git a/.github/workflows/cuda/cu111-Linux.sh b/.github/workflows/cuda/cu111-Linux.sh deleted file mode 100644 index 31621e3..0000000 --- a/.github/workflows/cuda/cu111-Linux.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -OS=ubuntu1804 - -wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin -sudo mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600 -wget -nv https://developer.download.nvidia.com/compute/cuda/11.1.1/local_installers/cuda-repo-${OS}-11-1-local_11.1.1-455.32.00-1_amd64.deb -sudo dpkg -i cuda-repo-${OS}-11-1-local_11.1.1-455.32.00-1_amd64.deb -sudo apt-key add /var/cuda-repo-${OS}-11-1-local/7fa2af80.pub - -sudo apt-get -qq update -sudo apt install cuda-nvcc-11-1 cuda-libraries-dev-11-1 -sudo apt clean - -rm -f https://developer.download.nvidia.com/compute/cuda/11.1.1/local_installers/cuda-repo-${OS}-11-1-local_11.1.1-455.32.00-1_amd64.deb diff --git a/.github/workflows/cuda/cu111-Windows-env.sh b/.github/workflows/cuda/cu111-Windows-env.sh deleted file mode 100644 index 81acf57..0000000 --- a/.github/workflows/cuda/cu111-Windows-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.1 -PATH=${CUDA_HOME}/bin:$PATH -PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" diff --git a/.github/workflows/cuda/cu111-Windows.sh b/.github/workflows/cuda/cu111-Windows.sh deleted file mode 100644 index 4cd9fe3..0000000 --- a/.github/workflows/cuda/cu111-Windows.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Install NVIDIA drivers, see: -# https://github.com/pytorch/vision/blob/master/packaging/windows/internal/cuda_install.bat#L99-L102 -curl -k -L "https://drive.google.com/u/0/uc?id=1injUyo3lnarMgWyRcXqKg4UGnN0ysmuq&export=download" --output "/tmp/gpu_driver_dlls.zip" -7z x "/tmp/gpu_driver_dlls.zip" -o"/c/Windows/System32" - -export CUDA_SHORT=11.1 -export CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.1/local_installers -export CUDA_FILE=cuda_${CUDA_SHORT}.1_456.81_win10.exe - -# Install CUDA: -curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}" -echo "" -echo "Installing from ${CUDA_FILE}..." -PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT}\" -Wait -NoNewWindow" -echo "Done!" -rm -f "${CUDA_FILE}" diff --git a/.github/workflows/cuda/cu113-Linux-env.sh b/.github/workflows/cuda/cu113-Linux-env.sh deleted file mode 100644 index a3befec..0000000 --- a/.github/workflows/cuda/cu113-Linux-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/usr/local/cuda-11.3 -LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} -PATH=${CUDA_HOME}/bin:${PATH} - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" diff --git a/.github/workflows/cuda/cu113-Linux.sh b/.github/workflows/cuda/cu113-Linux.sh deleted file mode 100644 index 1cdd9d9..0000000 --- a/.github/workflows/cuda/cu113-Linux.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -OS=ubuntu1804 - -wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin -sudo mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600 -wget -nv https://developer.download.nvidia.com/compute/cuda/11.3.0/local_installers/cuda-repo-${OS}-11-3-local_11.3.0-465.19.01-1_amd64.deb -sudo dpkg -i cuda-repo-${OS}-11-3-local_11.3.0-465.19.01-1_amd64.deb -sudo apt-key add /var/cuda-repo-${OS}-11-3-local/7fa2af80.pub - -sudo apt-get -qq update -sudo apt install cuda-nvcc-11-3 cuda-libraries-dev-11-3 -sudo apt clean - -rm -f https://developer.download.nvidia.com/compute/cuda/11.3.0/local_installers/cuda-repo-${OS}-11-3-local_11.3.0-465.19.01-1_amd64.deb diff --git a/.github/workflows/cuda/cu113-Windows-env.sh b/.github/workflows/cuda/cu113-Windows-env.sh deleted file mode 100644 index 6821529..0000000 --- a/.github/workflows/cuda/cu113-Windows-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.3 -PATH=${CUDA_HOME}/bin:$PATH -PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" diff --git a/.github/workflows/cuda/cu113-Windows.sh b/.github/workflows/cuda/cu113-Windows.sh deleted file mode 100644 index 3cd7133..0000000 --- a/.github/workflows/cuda/cu113-Windows.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Install NVIDIA drivers, see: -# https://github.com/pytorch/vision/blob/master/packaging/windows/internal/cuda_install.bat#L99-L102 -curl -k -L "https://drive.google.com/u/0/uc?id=1injUyo3lnarMgWyRcXqKg4UGnN0ysmuq&export=download" --output "/tmp/gpu_driver_dlls.zip" -7z x "/tmp/gpu_driver_dlls.zip" -o"/c/Windows/System32" - -export CUDA_SHORT=11.3 -export CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.0/local_installers -export CUDA_FILE=cuda_${CUDA_SHORT}.0_465.89_win10.exe - -# Install CUDA: -curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}" -echo "" -echo "Installing from ${CUDA_FILE}..." -PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} thrust_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT}\" -Wait -NoNewWindow" -echo "Done!" -rm -f "${CUDA_FILE}" diff --git a/.github/workflows/cuda/cu115-Linux-env.sh b/.github/workflows/cuda/cu115-Linux-env.sh deleted file mode 100644 index 1c148a2..0000000 --- a/.github/workflows/cuda/cu115-Linux-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/usr/local/cuda-11.5 -LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} -PATH=${CUDA_HOME}/bin:${PATH} - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" diff --git a/.github/workflows/cuda/cu115-Linux.sh b/.github/workflows/cuda/cu115-Linux.sh deleted file mode 100644 index 02bcb4d..0000000 --- a/.github/workflows/cuda/cu115-Linux.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -OS=ubuntu1804 - -wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin -sudo mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600 -wget -nv https://developer.download.nvidia.com/compute/cuda/11.5.2/local_installers/cuda-repo-${OS}-11-5-local_11.5.2-495.29.05-1_amd64.deb -sudo dpkg -i cuda-repo-${OS}-11-5-local_11.5.2-495.29.05-1_amd64.deb -sudo apt-key add /var/cuda-repo-${OS}-11-5-local/7fa2af80.pub - -sudo apt-get -qq update -sudo apt install cuda-nvcc-11-5 cuda-libraries-dev-11-5 -sudo apt clean - -rm -f https://developer.download.nvidia.com/compute/cuda/11.5.2/local_installers/cuda-repo-${OS}-11-5-local_11.5.2-495.29.05-1_amd64.deb diff --git a/.github/workflows/cuda/cu115-Windows-env.sh b/.github/workflows/cuda/cu115-Windows-env.sh deleted file mode 100644 index 3a662fb..0000000 --- a/.github/workflows/cuda/cu115-Windows-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.3 -PATH=${CUDA_HOME}/bin:$PATH -PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="6.0+PTX" diff --git a/.github/workflows/cuda/cu115-Windows.sh b/.github/workflows/cuda/cu115-Windows.sh deleted file mode 100644 index db2559c..0000000 --- a/.github/workflows/cuda/cu115-Windows.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# TODO We currently use CUDA 11.3 to build CUDA 11.5 Windows wheels - -# Install NVIDIA drivers, see: -# https://github.com/pytorch/vision/blob/master/packaging/windows/internal/cuda_install.bat#L99-L102 -curl -k -L "https://drive.google.com/u/0/uc?id=1injUyo3lnarMgWyRcXqKg4UGnN0ysmuq&export=download" --output "/tmp/gpu_driver_dlls.zip" -7z x "/tmp/gpu_driver_dlls.zip" -o"/c/Windows/System32" - -export CUDA_SHORT=11.3 -export CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.0/local_installers -export CUDA_FILE=cuda_${CUDA_SHORT}.0_465.89_win10.exe - -# Install CUDA: -curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}" -echo "" -echo "Installing from ${CUDA_FILE}..." -PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} thrust_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT}\" -Wait -NoNewWindow" -echo "Done!" -rm -f "${CUDA_FILE}" diff --git a/.github/workflows/cuda/cu116-Linux-env.sh b/.github/workflows/cuda/cu116-Linux-env.sh deleted file mode 100644 index 1fe663c..0000000 --- a/.github/workflows/cuda/cu116-Linux-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/usr/local/cuda-11.6 -LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} -PATH=${CUDA_HOME}/bin:${PATH} - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" \ No newline at end of file diff --git a/.github/workflows/cuda/cu116-Linux.sh b/.github/workflows/cuda/cu116-Linux.sh deleted file mode 100644 index 4f5c4c7..0000000 --- a/.github/workflows/cuda/cu116-Linux.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -OS=ubuntu1804 - -wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin -sudo mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600 -wget -nv https://developer.download.nvidia.com/compute/cuda/11.6.2/local_installers/cuda-repo-${OS}-11-6-local_11.6.2-510.47.03-1_amd64.deb -sudo dpkg -i cuda-repo-${OS}-11-6-local_11.6.2-510.47.03-1_amd64.deb -sudo apt-key add /var/cuda-repo-${OS}-11-6-local/7fa2af80.pub - -sudo apt-get -qq update -sudo apt install cuda-nvcc-11-6 cuda-libraries-dev-11-6 -sudo apt clean - -rm -f https://developer.download.nvidia.com/compute/cuda/11.5.2/local_installers/cuda-repo-${OS}-11-6-local_11.6.2-510.47.03-1_amd64.deb \ No newline at end of file diff --git a/.github/workflows/cuda/cu116-Windows-env.sh b/.github/workflows/cuda/cu116-Windows-env.sh deleted file mode 100644 index 74ec597..0000000 --- a/.github/workflows/cuda/cu116-Windows-env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.3 -PATH=${CUDA_HOME}/bin:$PATH -PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH - -export FORCE_CUDA=1 -export TORCH_CUDA_ARCH_LIST="6.0+PTX" \ No newline at end of file diff --git a/.github/workflows/cuda/cu116-Windows.sh b/.github/workflows/cuda/cu116-Windows.sh deleted file mode 100644 index e834e28..0000000 --- a/.github/workflows/cuda/cu116-Windows.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# TODO We currently use CUDA 11.3 to build CUDA 11.5 Windows wheels - -# Install NVIDIA drivers, see: -# https://github.com/pytorch/vision/blob/master/packaging/windows/internal/cuda_install.bat#L99-L102 -curl -k -L "https://drive.google.com/u/0/uc?id=1injUyo3lnarMgWyRcXqKg4UGnN0ysmuq&export=download" --output "/tmp/gpu_driver_dlls.zip" -7z x "/tmp/gpu_driver_dlls.zip" -o"/c/Windows/System32" - -export CUDA_SHORT=11.3 -export CUDA_URL=https://developer.download.nvidia.com/compute/cuda/${CUDA_SHORT}.0/local_installers -export CUDA_FILE=cuda_${CUDA_SHORT}.0_465.89_win10.exe - -# Install CUDA: -curl -k -L "${CUDA_URL}/${CUDA_FILE}" --output "${CUDA_FILE}" -echo "" -echo "Installing from ${CUDA_FILE}..." -PowerShell -Command "Start-Process -FilePath \"${CUDA_FILE}\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cuobjdump_${CUDA_SHORT} nvprune_${CUDA_SHORT} cupti_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} thrust_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT}\" -Wait -NoNewWindow" -echo "Done!" -rm -f "${CUDA_FILE}" \ No newline at end of file diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml deleted file mode 100644 index cbbbf77..0000000 --- a/.github/workflows/deploy.yaml +++ /dev/null @@ -1,40 +0,0 @@ -on: - push: - tags: - - 'v*' - -name: Deploy - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Set up Python 3.6 - uses: actions/setup-python@v1 - with: - python-version: 3.6 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install torch "numpy<=1.21" scikit-learn flake8 setuptools wheel twine numba - - name: Build package - run: | - python setup.py build_ext --inplace - - name: Lint with flake8 - run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with unittest - run: | - python -m unittest -v - - name: Build package - run: | - python setup.py sdist - - name: Publish package - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.PYPI_PASSWORD }}