mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
Follow @d4l3k 's fix in https://github.com/pytorch/pytorch/pull/157826/files. Two more fixes might be needed. Pull Request resolved: https://github.com/pytorch/pytorch/pull/157829 Approved by: https://github.com/davidberard98, https://github.com/d4l3k
59 lines
2.0 KiB
YAML
59 lines
2.0 KiB
YAML
name: Limited CI for symmetric memory tests on H100
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/h100-symm-mem.yml
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- ciflow/h100-symm-mem/*
|
|
schedule:
|
|
- cron: 22 8 * * * # about 1:22am PDT
|
|
|
|
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:
|
|
|
|
get-label-type:
|
|
if: github.repository_owner == 'pytorch'
|
|
name: get-label-type
|
|
uses: pytorch/pytorch/.github/workflows/_runner-determinator.yml@main
|
|
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 }}
|
|
|
|
linux-jammy-cuda12_8-py3_10-gcc11-sm90-build-symm:
|
|
name: linux-jammy-cuda12.8-py3.10-gcc11-sm90-symm
|
|
uses: ./.github/workflows/_linux-build.yml
|
|
needs: get-label-type
|
|
with:
|
|
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
|
|
build-environment: linux-jammy-cuda12.8-py3.10-gcc11-sm90-symm
|
|
docker-image-name: ci-image:pytorch-linux-jammy-cuda12.8-cudnn9-py3-gcc11
|
|
cuda-arch-list: '9.0'
|
|
test-matrix: |
|
|
{ include: [
|
|
{ config: "h100-symm-mem", shard: 1, num_shards: 1, runner: "linux.aws.h100.4" },
|
|
]}
|
|
secrets: inherit
|
|
|
|
linux-jammy-cuda12_8-py3_10-gcc11-sm90-test:
|
|
name: linux-jammy-cuda12.8-py3.10-gcc11-sm90-symm
|
|
uses: ./.github/workflows/_linux-test.yml
|
|
needs:
|
|
- linux-jammy-cuda12_8-py3_10-gcc11-sm90-build-symm
|
|
with:
|
|
build-environment: linux-jammy-cuda12.8-py3.10-gcc11-sm90-symm
|
|
docker-image: ${{ needs.linux-jammy-cuda12_8-py3_10-gcc11-sm90-build-symm.outputs.docker-image }}
|
|
test-matrix: ${{ needs.linux-jammy-cuda12_8-py3_10-gcc11-sm90-build-symm.outputs.test-matrix }}
|
|
secrets: inherit
|