Skip to content

Refactor GPU CI

Refactor GPU CI #20

Workflow file for this run

name: "Package Linux"
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "docs/**"
- "examples/**"
- "*.md"
branches:
- main
push:
paths-ignore:
- "docs/**"
- "examples/**"
- "*.md"
branches:
- main
jobs:
#############################################################################
# Conda (CPU)
#############################################################################
conda-cpu-py312:
name: "Conda Build (Python 3.12, CPU)"
uses: ./.github/workflows/conda_cpu_build.yml
with:
os: ubuntu-latest
python-version: "3.12"
artifact: conda-cpu-py312
conda-cpu-py311:
name: "Conda Build (Python 3.11, CPU)"
uses: ./.github/workflows/conda_cpu_build.yml
with:
os: ubuntu-latest
python-version: "3.11"
artifact: conda-cpu-py311
conda-cpu-py310:
name: "Conda Build (Python 3.10, CPU)"
uses: ./.github/workflows/conda_cpu_build.yml
with:
os: ubuntu-latest
python-version: "3.10"
artifact: conda-cpu-py310
conda-cpu-py310-test:
name: "Conda Test (Python 3.10, CPU)"
needs: [ "conda-cpu-py310" ]
uses: ./.github/workflows/conda_cpu_test.yml
with:
os: ubuntu-latest
python-version: "3.10"
artifact: conda-cpu-py310
#############################################################################
# Conda (CUDA-11.8)
#############################################################################
conda-cuda-py312-cu118:
name: "Conda (Python 3.12, CUDA 11.8)"
uses: ./.github/workflows/conda_cuda_build.yml
with:
python-version: "3.12"
cu-version: "11.8.0"
artifact: conda-cuda-py312-cu118
conda-cuda-py311-cu118:
name: "Conda (Python 3.11, CUDA 11.8)"
uses: ./.github/workflows/conda_cuda_build.yml
with:
python-version: "3.11"
cu-version: "11.8.0"
artifact: conda-cuda-py311-cu118
conda-cuda-py310-cu118:
name: "Conda (Python 3.10, CUDA 11.8)"
uses: ./.github/workflows/conda_cuda_build.yml
with:
python-version: "3.10"
cu-version: "11.8.0"
artifact: conda-cuda-py310-cu118
conda-cuda-py310-test:
name: "Conda Test (Python 3.10, CUDA 11.8)"
uses: ./.github/workflows/conda_cuda_test.yml
needs: [ "conda-cuda-py310-cu118" ]
with:
python-version: "3.10"
cu-version: "11.8"
artifact: conda-cuda-py310-cu118
#############################################################################
# Conda (CUDA-12.1)
#############################################################################
conda-cuda-py312-cu121:
name: "Conda (Python 3.12, CUDA 12.1)"
uses: ./.github/workflows/conda_cuda_build.yml
with:
python-version: "3.12"
cu-version: "12.1.0"
artifact: conda-cuda-py312-cu121
conda-cuda-py311-cu121:
name: "Conda (Python 3.11, CUDA 12.1)"
uses: ./.github/workflows/conda_cuda_build.yml
with:
python-version: "3.11"
cu-version: "12.1.0"
artifact: conda-cuda-py311-cu121
conda-cuda-py310-cu121:
name: "Conda (Python 3.10, CUDA 12.1)"
uses: ./.github/workflows/conda_cuda_build.yml
with:
python-version: "3.10"
cu-version: "12.1.0"
artifact: conda-cuda-py310-cu121
conda-cuda-py310-cu121-test:
name: "Conda (Python 3.10, CUDA 12.1)"
uses: ./.github/workflows/conda_cuda_test.yml
needs: [ conda-cuda-py310-cu121 ]
with:
python-version: "3.10"
cu-version: "12.1"
artifact: conda-cuda-py310-cu121
#############################################################################
# Wheel (CUDA-12.1)
#############################################################################
wheel-cuda-py312-cu121:
name: "Wheel (Python 3.12, CUDA 12.1)"
uses: ./.github/workflows/wheel_cuda_build.yml
with:
python-version: "3.12"
cu-version: "12.1"
artifact: wheel-cuda-py312-cu121
wheel-cuda-py311-cu121:
name: "Wheel (Python 3.11, CUDA 12.1)"
uses: ./.github/workflows/wheel_cuda_build.yml
with:
python-version: "3.11"
cu-version: "12.1"
artifact: wheel-cuda-py311-cu121
wheel-cuda-py310-cu121:
name: "Wheel (Python 3.10, CUDA 12.1)"
uses: ./.github/workflows/wheel_cuda_build.yml
with:
python-version: "3.10"
cu-version: "12.1"
artifact: wheel-cuda-py310-cu121
wheel-cuda-py310-cu121-test:
name: "Wheel (Python 3.10, CUDA 12.1)"
needs: [ wheel-cuda-py310-cu121 ]
uses: ./.github/workflows/wheel_cuda_test.yml

Check failure on line 159 in .github/workflows/package_linux.yml

View workflow run for this annotation

GitHub Actions / Package Linux

Invalid workflow file

The workflow is not valid. In .github/workflows/package_linux.yml (Line: 159, Col: 11): Error from called workflow facebookresearch/spdl/.github/workflows/wheel_cuda_test.yml@19793a1b6ca23aa0f2d295ddb05176581ca38132 (Line: 20, Col: 3): The workflow must contain at least one job with no dependencies.
with:
python-version: "3.10"
cu-version: "12.1"
artifact: wheel-cuda-py310-cu121