mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
Would be nice to have it Pull Request resolved: https://github.com/pytorch/pytorch/pull/117290 Approved by: https://github.com/seemethere, https://github.com/osalpekar, https://github.com/huydhn, https://github.com/atalman
37 lines
1.4 KiB
YAML
37 lines
1.4 KiB
YAML
name: unstable-periodic
|
|
|
|
on:
|
|
schedule:
|
|
- cron: 45 0,4,8,12,16,20 * * *
|
|
- cron: 29 8 * * * # about 1:29am PDT, for mem leak check and rerun disabled tests
|
|
push:
|
|
tags:
|
|
- ciflow/unstable/*
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}-${{ github.event.schedule }}
|
|
cancel-in-progress: true
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
# There must be at least one job here to satisfy GitHub action workflow syntax
|
|
introduction:
|
|
if: github.repository_owner == 'pytorch'
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- name: Introduce PyTorch unstable (periodic) workflow
|
|
run: |
|
|
echo "PyTorch unstable workflow is used to host experimental or flaky jobs"
|
|
echo " that needs to be run periodically, but doesn't impact trunk as part"
|
|
echo " of the stable periodic workflows."
|
|
echo
|
|
echo "In addition, a new label called ciflow/unstable can be attached to the"
|
|
echo " PR to trigger this workflow. That can be done either manually or"
|
|
echo " automatically using PyTorch auto-label bot."
|
|
echo
|
|
echo "Once the jobs are deemed stable enough (% red signal < 5% and TTS < 3h),"
|
|
echo " they can graduate and move back to periodic."
|