|
| 1 | +name: Build FBGEMM GenAI Aarch64 Linux Wheels |
| 2 | + |
| 3 | +on: |
| 4 | + pull_request: |
| 5 | + push: |
| 6 | + branches: |
| 7 | + - nightly |
| 8 | + - main |
| 9 | + # Release candidate branch look like: v1.11.0-release |
| 10 | + - v[0-9]+.[0-9]+.[0-9]+-release+ |
| 11 | + tags: |
| 12 | + # Release candidate tag look like: v1.11.0-rc1 |
| 13 | + - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ |
| 14 | + - v[0-9]+.[0-9]+.[0-9]+ |
| 15 | + workflow_dispatch: |
| 16 | + |
| 17 | +concurrency: |
| 18 | + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| 19 | + cancel-in-progress: true |
| 20 | + |
| 21 | +permissions: |
| 22 | + id-token: write |
| 23 | + contents: read |
| 24 | + |
| 25 | +jobs: |
| 26 | + generate-matrix: |
| 27 | + if: ${{ github.repository_owner == 'pytorch' }} |
| 28 | + uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main |
| 29 | + with: |
| 30 | + package-type: wheel |
| 31 | + os: linux-aarch64 |
| 32 | + test-infra-repository: pytorch/test-infra |
| 33 | + test-infra-ref: main |
| 34 | + with-cuda: disable |
| 35 | + |
| 36 | + build: |
| 37 | + if: ${{ github.repository_owner == 'pytorch' }} |
| 38 | + needs: generate-matrix |
| 39 | + strategy: |
| 40 | + fail-fast: false |
| 41 | + matrix: |
| 42 | + include: |
| 43 | + - repository: pytorch/FBGEMM |
| 44 | + smoke-test-script: "" |
| 45 | + pre-script: ../.github/scripts/nova_prescript.bash |
| 46 | + post-script: ../.github/scripts/nova_postscript.bash |
| 47 | + env-var-script: .github/scripts/nova_dir.bash |
| 48 | + package-name: fbgemm_gpu |
| 49 | + name: ${{ matrix.repository }} |
| 50 | + uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main |
| 51 | + with: |
| 52 | + repository: ${{ matrix.repository }} |
| 53 | + ref: "" |
| 54 | + test-infra-repository: pytorch/test-infra |
| 55 | + test-infra-ref: main |
| 56 | + build-matrix: ${{ needs.generate-matrix.outputs.matrix }} |
| 57 | + pre-script: ${{ matrix.pre-script }} |
| 58 | + post-script: ${{ matrix.post-script }} |
| 59 | + package-name: ${{ matrix.package-name }} |
| 60 | + build-target: genai |
| 61 | + env-var-script: ${{ matrix.env-var-script }} |
| 62 | + smoke-test-script: ${{ matrix.smoke-test-script }} |
| 63 | + trigger-event: ${{ github.event_name }} |
| 64 | + architecture: aarch64 |
| 65 | + setup-miniconda: false |
| 66 | + timeout: 210 |
0 commit comments