pytorch/.github/merge_rules.yaml
Huy Do 3008368b12 Honor Dr.CI classification results on auto commit hash update (#146337)
Disable `ignore_flaky_failures` was a safer choice, but it seems that this option doesn't work with the current state of the CI.  For example, https://github.com/pytorch/pytorch/pull/125806 hasn't been merged since May because there would always be a failure in one type or another.  This effectively disables the automate mechanism.

My proposal here is to relax this rule and allows the bot to merge auto commit has update with `@pytorchbot merge` like a regular PR.  Then we will at least have something working.  If this causes issue, we can revert it back and try to longer route of improving CI reliability.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/146337
Approved by: https://github.com/clee2000
2025-02-06 20:33:38 +00:00

557 lines
10 KiB
YAML

- name: ONNX exporter
patterns:
- .ci/caffe2/*
- .ci/onnx/*
- .ci/docker/common/install_onnx.sh
- aten/src/ATen/core/interned_strings.h
- benchmarks/dynamo/**
- docs/source/onnx.rst
- docs/source/onnx*
- docs/source/scripts/onnx/**
- docs/source/_static/img/onnx/**
- scripts/onnx/**
- test/onnx/**
- test/onnx_caffe2/**
- tools/onnx/**
- torch/_dynamo/backends/onnxrt.py
- torch/_C/__init__.pyi.in
- torch/_C/_onnx.pyi
- torch/_logging/**
- torch/csrc/jit/passes/onnx.*
- torch/csrc/jit/passes/onnx/**
- torch/csrc/jit/serialization/export.*
- torch/csrc/jit/serialization/onnx.*
- torch/csrc/onnx/**
- torch/onnx/**
- torch/testing/_internal/common_methods_invocations.py
- third_party/onnx
- caffe2/python/onnx/**
approved_by:
- justinchuby
- liqunfu
- shubhambhokare1
- titaiwangms
- wschin
- xadupre
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: NVFuser
patterns:
- test/test_jit_cuda_fuser.py
- torch/csrc/jit/codegen/fuser/cuda/**
- torch/csrc/jit/codegen/cuda/**
- benchmarks/cpp/nvfuser/**
approved_by:
- csarofeen
- ngimel
- jjsjann123
- kevinstephano
- ptrblck
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: OSS CI
patterns:
- .github/**
- .circleci/**
- .ci/**
- scripts/**
- tools/**
approved_by:
- alband
- dagitses
- pytorch/pytorch-dev-infra
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: OSS CI / pytorchbot
patterns:
- .github/ci_commit_pins/audio.txt
- .github/ci_commit_pins/vision.txt
- .github/ci_commit_pins/torchdynamo.txt
- .ci/docker/ci_commit_pins/triton.txt
approved_by:
- pytorchbot
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- inductor
- name: OSS CI / pytorchbot / slow tests
patterns:
- test/slow_tests.json
approved_by:
- pytorchbot
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- slow
- name: OSS CI /pytorchbot / Executorch
patterns:
- .ci/docker/ci_commit_pins/executorch.txt
approved_by:
- pytorchbot
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: OSS CI / pytorchbot / XLA
patterns:
- .github/ci_commit_pins/xla.txt
approved_by:
- pytorchbot
ignore_flaky_failures: false
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Documentation
patterns:
- docs/**
- torch/*docs.py
approved_by:
- svekars
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Mobile
patterns:
- ios/**
- android/**
- test/mobile/**
approved_by:
- linbinyu
- IvanKobzarev
- dreiss
- raziel
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: PrimTorch
patterns:
- torch/_meta_registrations.py
- torch/_decomp/**
- torch/_refs/**
- torch/_prims/**
- torch/_prims_common/**
approved_by:
- nkaretnikov
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Linear Algebra
patterns:
- aten/src/ATen/native/cuda/linalg/**
- aten/src/ATen/LinalgBackend.h
- aten/src/ATen/native/**LinearAlgebra*
- docs/source/linalg.rst
- torch/linalg/**
- torch/_linalg_utils.py
- torch/**python_linalg_functions.*
- torch/**linalg.h
- tools/autograd/templates/python_linalg_functions.cpp
- test/test_linalg.py
approved_by:
- mruberry
- lezcano
- IvanYashchuk
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: FFT
patterns:
- aten/src/ATen/native/cuda/*FFT*.h
- aten/src/ATen/native/SpectralOps.cpp
- aten/src/ATen/native/mkl/SpectralOps.cpp
- aten/src/ATen/native/cuda/SpectralOps.*
- docs/source/fft.rst
- torch/fft/**
- torch/csrc/api/include/torch/fft.h
- torch/**python_fft_functions.*
- tools/autograd/templates/python_fft_functions.cpp
- test/cpp/api/fft.cpp
approved_by:
- mruberry
- peterbell10
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Sparse
patterns:
- benchmarks/sparse
- c10/util/sparse_bitset.h
- docs/source/sparse.rst
- torch/**sparse/**
- torch/**sparse*
- torch/optim/sparse*
- torch/ao/nn/sparse/**
- torch/utils/benchmark/**sparse*
- aten/src/ATen/native/ao_sparse/**
- aten/src/ATen/native/sparse/**
- aten/src/ATen/**Sparse*
- aten/src/ATen/*Sparse*
- torch/_masked/**
- test/*_masked*
- test/**sparse*
approved_by:
- nikitaved
- cpuhrsch
- pearu
- IvanYashchuk
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: MPS
patterns:
- test/test_mps.py
- aten/src/ATen/native/native_functions.yaml
- aten/src/ATen/mps/**
- aten/src/ATen/native/mps/**
approved_by:
- kulinseth
- alband
- malfet
- razarmehr
- DenisVieriu97
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Distributions
patterns:
- torch/distributions/**
- test/distributions/**
approved_by:
- fritzo
- neerajprad
- alicanb
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Distributed
patterns:
- docs/source/pipeline.rst
- docs/source/distributed*
- docs/source/rpc.rst
- docs/source/rpc/**
- docs/source/_static/img/rpc*
- docs/source/_static/img/*distributed*
- docs/source/elastic/**
- benchmarks/distributed/**
- torch/distributed/**
- torch/nn/parallel/distributed*
- torch/_C/_distributed*
- torch/csrc/distributed/**
- torch/testing/_internal/distributed/**
- torch/multiprocessing/**
- test/distributed/**
- test/cpp/dist_autograd/**
- test/cpp/rpc/**
- test/*multiprocessing*
approved_by:
- wconstab
- mrshenli
- pritamdamania87
- zhaojuanmao
- rohan-varma
- wanchaol
- fduwjj
- H-Huang
- kwen2501
- XilunWu
- wz337
- awgu
- fegin
- kurman
- LucasLLC
- sanketpurandare
- shuqiangzhang
- tianyu-l
- kiukchung
- d4l3k
- shuqiangzhang
- weifengpy
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: DCP
patterns:
- docs/source/distributed.checkpoint.rst
- torch/distributed/checkpoint/**
approved_by:
- LucasLLC
- fegin
- wz337
- saumishr
- daulet-askarov
- pradeepdfb
- kirtiteja
- mhorowitz
- saiteja64
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: IDEEP
patterns:
- third_party/ideep
- caffe2/ideep/**
- caffe2/python/ideep/**
- cmake/Modules/FindMKLDNN.cmake
- third_party/mkl-dnn.BUILD
approved_by:
- XiaobingSuper
- jgong5
- mingfeima
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: oneDNN graph
patterns:
- torch/csrc/jit/codegen/onednn/**
- test/test_jit_llga_fuser.py
approved_by:
- sanchitintel
- chunyuan-w
- jgong5
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: CPU ATen backend
patterns:
- aten/src/ATen/cpu/**
- aten/src/ATen/native/cpu/**
- aten/src/ATen/native/quantized/cpu/**
- aten/src/ATen/native/Convolution*.cpp
- aten/src/ATen/native/mkldnn/**
- test/test_mkl*.py
approved_by:
- mingfeima
- XiaobingSuper
- jgong5
- vfdev-5
- leslie-fang-intel
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: CPU frontend
patterns:
- torch/cpu/**
- torch/utils/mkldnn.py
- test/test_mkldnn.py
approved_by:
- leslie-fang-intel
- jgong5
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: CPU inductor
patterns:
- torch/_inductor/mkldnn_ir.py
- torch/_inductor/mkldnn_lowerings.py
- torch/_inductor/fx_passes/mkldnn_fusion.py
- torch/_inductor/fx_passes/quantization.py
- torch/_inductor/codegen/cpp_prefix.h
- torch/_inductor/codegen/cpp.py
- torch/_inductor/codegen/cpp_utils.py
- torch/_inductor/codegen/cpp_micro_gemm.py
- torch/_inductor/codegen/cpp_template_kernel.py
- torch/_inductor/codegen/cpp_template.py
- torch/_inductor/codegen/cpp_gemm_template.py
- test/inductor/test_mkldnn_pattern_matcher.py
- test/inductor/test_cpu_repro.py
- test/inductor/test_cpu_cpp_wrapper.py
- test/inductor/test_cpu_select_algorithm.py
- aten/src/ATen/cpu/**
- aten/src/ATen/native/quantized/cpu/**
- test/quantization/core/test_quantized_op.py
- torch/ao/quantization/quantizer/x86_inductor_quantizer.py
- test/quantization/pt2e/test_x86inductor_quantizer.py
approved_by:
- leslie-fang-intel
- jgong5
- EikanWang
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Autocast
patterns:
- torch/amp/**
- aten/src/ATen/autocast_mode.*
- torch/csrc/jit/passes/autocast.cpp
- test/test_autocast.py
- torch/testing/_internal/autocast_test_lists.py
approved_by:
- leslie-fang-intel
- jgong5
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: NNC
patterns:
- torch/csrc/jit/tensorexpr/**
approved_by:
- EikanWang
- jgong5
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Lazy Tensor
patterns:
- torch/csrc/lazy/**
- test/cpp/lazy/**
- test/lazy/**
- torchgen/api/lazy.py
- torchgen/dest/lazy_ir.py
- torchgen/dest/lazy_ts_lowering.py
- torchgen/gen_lazy_tensor.py
- aten/src/ATen/native/ts_native_functions.yaml
- .github/ci_commit_pins/xla.txt
approved_by:
- alanwaketan
- JackCaoG
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: functorch
patterns:
- functorch/**
- test/functorch/**
- torch/_C/__init__.pyi.in
- torch/__init__.py
- torch/csrc/functorch/**
- torch/_functorch/**
- torch/func/**
- aten/src/ATen/functorch/**
- docs/source/func**
- '**vmap**'
- '**functorch**'
- '**pytree**'
approved_by:
- kshitij12345
- srossross
- chillee
- zou3519
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: ROCm
patterns:
- '**rocm**'
- '**hip**'
approved_by:
- jeffdaily
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: XPU
patterns:
- '**xpu**'
- '**sycl**'
approved_by:
- EikanWang
- jgong5
- gujinghui
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: superuser
patterns:
- '*'
approved_by:
- pytorch/metamates
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Core Reviewers
patterns:
- '*'
approved_by:
- mruberry
- lezcano
- Skylion007
- ngimel
- peterbell10
- eqy
- jansel
- jeffdaily
- eellison
- anijain2305
- bdhirsh
- zou3519
- isuruf
mandatory_checks_name:
- EasyCLA
- Lint
- pull
- name: Core Maintainers
patterns:
- '*'
approved_by:
- soumith
- gchanan
- ezyang
- dzhulgakov
- malfet
- albanD
- ptrblck
mandatory_checks_name:
- EasyCLA
- Lint
- pull