Prebuilding Legion and use pre-built for building FlexFlow #2325
Workflow file for this run
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
name: "docker-build" | |
on: | |
pull_request: | |
paths-ignore: | |
- "docker/**" | |
- "!docker/README.md" | |
- ".github/workflows/docker-build.yml" | |
workflow_dispatch: | |
# Cancel outdated workflows if they are still running | |
concurrency: | |
group: docker-build-skip-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
docker-build: | |
name: Build and Install FlexFlow in a Docker Container | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
gpu_backend: ["cuda", "hip_rocm"] | |
cuda_version: ["11.1", "11.2", "11.3", "11.5", "11.6", "11.7", "11.8"] | |
# The CUDA version doesn't matter when building for hip_rocm, so we just pick one arbitrarily (11.8) to avoid building for hip_rocm once per number of CUDA version supported | |
exclude: | |
- gpu_backend: "hip_rocm" | |
cuda_version: "11.1" | |
- gpu_backend: "hip_rocm" | |
cuda_version: "11.2" | |
- gpu_backend: "hip_rocm" | |
cuda_version: "11.3" | |
- gpu_backend: "hip_rocm" | |
cuda_version: "11.5" | |
- gpu_backend: "hip_rocm" | |
cuda_version: "11.6" | |
- gpu_backend: "hip_rocm" | |
cuda_version: "11.7" | |
fail-fast: false | |
steps: | |
- run: 'echo "No docker-build required"' |