[release/2.10] Use triton with updated pyproject.toml to use cmake 4 … #585
This file contains hidden or 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: inductor-rocm-mi300 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/* | |
| tags: | |
| - ciflow/inductor-rocm/* | |
| - ciflow/inductor-rocm-mi300/* | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }} | |
| cancel-in-progress: true | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| target-determination: | |
| if: github.repository_owner == 'pytorch' | |
| name: before-test | |
| uses: ./.github/workflows/target_determination.yml | |
| permissions: | |
| id-token: write | |
| contents: read | |
| get-label-type: | |
| name: get-label-type | |
| uses: pytorch/pytorch/.github/workflows/_runner-determinator.yml@release/2.10 | |
| if: ${{ (github.event_name != 'schedule' || github.repository == 'pytorch/pytorch') && github.repository_owner == 'pytorch' }} | |
| with: | |
| triggering_actor: ${{ github.triggering_actor }} | |
| issue_owner: ${{ github.event.pull_request.user.login || github.event.issue.user.login }} | |
| curr_branch: ${{ github.head_ref || github.ref_name }} | |
| curr_ref_type: ${{ github.ref_type }} | |
| opt_out_experiments: lf | |
| linux-noble-rocm-py3_12-inductor-build: | |
| name: rocm-py3.12-inductor-mi300 | |
| uses: ./.github/workflows/_linux-build.yml | |
| needs: get-label-type | |
| with: | |
| runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | |
| build-environment: linux-noble-rocm-py3.12-mi300 | |
| docker-image-name: ci-image:pytorch-linux-noble-rocm-n-py3 | |
| test-matrix: | | |
| { include: [ | |
| { config: "inductor", shard: 1, num_shards: 2, runner: "linux.rocm.gpu.gfx942.1" }, | |
| { config: "inductor", shard: 2, num_shards: 2, runner: "linux.rocm.gpu.gfx942.1" }, | |
| ]} | |
| secrets: inherit | |
| linux-noble-rocm-py3_12-inductor-test: | |
| permissions: | |
| id-token: write | |
| contents: read | |
| name: rocm-py3.12-inductor-mi300 | |
| uses: ./.github/workflows/_rocm-test.yml | |
| needs: linux-noble-rocm-py3_12-inductor-build | |
| with: | |
| build-environment: ${{ needs.linux-noble-rocm-py3_12-inductor-build.outputs.build-environment }} | |
| docker-image: ${{ needs.linux-noble-rocm-py3_12-inductor-build.outputs.docker-image }} | |
| test-matrix: ${{ needs.linux-noble-rocm-py3_12-inductor-build.outputs.test-matrix }} | |
| secrets: inherit |