"module: dynamo":
- torch/_dynamo/**
- torch/csrc/dynamo/**
- benchmarks/dynamo/**
- test/dynamo/**

"module: inductor":
- torch/_inductor/**
- test/inductor/**

"ciflow/inductor":
- torch/_decomp/**
- torch/_dynamo/**
- torch/_export/**
- torch/_inductor/**
- benchmarks/dynamo/**
- torch/_subclasses/fake_tensor.py
- torch/_subclasses/fake_utils.py
- torch/_subclasses/meta_utils.py
- test/distributed/test_dynamo_distributed.py
- test/distributed/test_inductor_collectives.py
- torch/_functorch/_aot_autograd/**
- torch/_functorch/aot_autograd.py
- torch/_functorch/partitioners.py
- .ci/docker/ci_commit_pins/**
- .github/ci_commit_pins/**
- c10/core/Sym*
- torch/fx/experimental/symbolic_shapes.py
- torch/fx/experimental/recording.py
- torch/fx/experimental/sym_node.py
- torch/fx/experimental/validator.py
- torch/fx/experimental/proxy_tensor.py
- test/distributed/tensor/test_dtensor_compile.py
- test/distributed/tensor/parallel/test_fsdp_2d_parallel.py
- torch/distributed/tensor/**
- torch/distributed/fsdp/**
- torch/csrc/inductor/**
- torch/csrc/dynamo/**
- test/cpp/aoti_abi_check/**
- test/cpp/aoti_inference/**
- test/inductor/**
- test/dynamo/**

"module: cpu":
- 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/**
- torch/cpu/**
- torch/utils/mkldnn.py
- torch/utils/_sympy/**
- test/test_mkldnn.py

"module: mkldnn":
- third_party/ideep
- caffe2/ideep/**
- caffe2/python/ideep/**
- cmake/Modules/FindMKLDNN.cmake
- third_party/mkl-dnn.BUILD
- torch/csrc/jit/codegen/onednn/**
- test/test_jit_llga_fuser.py
- test/test_mkldnn.py

"module: amp (automated mixed precision)":
- torch/amp/**
- aten/src/ATen/autocast_mode.*
- torch/csrc/jit/passes/autocast.cpp
- test/test_autocast.py

"NNC":
- torch/csrc/jit/tensorexpr/**

"release notes: quantization":
- torch/ao/quantization/**
- torch/quantization/**
- aten/src/ATen/quantized/**
- aten/src/ATen/native/quantized/cpu/**
- test/quantization/**

"ciflow/trunk":
- .ci/docker/ci_commit_pins/triton.txt

"release notes: distributed (checkpoint)":
- torch/distributed/checkpoint/**
- test/distributed/checkpoint/**

"module: compiled autograd":
- torch/csrc/dynamo/python_compiled_autograd.cpp
- torch/csrc/dynamo/compiled_autograd.h
- torch/_dynamo/compiled_autograd.py
- torch/inductor/test_compiled_autograd.py

"ciflow/xpu":
- torch/csrc/profiler/kineto/libkineto/**/xpupti/**
- torch/csrc/inductor/aoti_include/xpu.h
- torch/csrc/inductor/cpp_wrapper/device_internal/xpu.h
- torch/csrc/inductor/cpp_wrapper/xpu.h

"release notes: inductor (aoti)":
- torch/_C/_aoti.pyi
- torch/_dynamo/repro/aoti.py
- torch/_higher_order_ops/aoti_call_delegate.py
- torch/_inductor/codegen/aoti_runtime/**
- torch/_inductor/codegen/aoti_hipify_utils.py
- torch/_inductor/codegen/cpp_wrapper_cpu.py
- torch/_inductor/codegen/cpp_wrapper_gpu.py
- torch/_inductor/aoti_eager.py
- torch/csrc/inductor/aoti_runtime/**
- torch/csrc/inductor/aoti_torch/**
- torch/csrc/inductor/aoti_runner/**
- torch/csrc/inductor/aoti_eager/**
- torch/csrc/inductor/aoti_package/**
- torch/csrc/inductor/aoti_include/**
- torchgen/aoti/**
- torchgen/gen_aoti_c_shim.py

"release notes: distributed (dtensor)":
- torch/distributed/_tensor/**
- torch/distributed/tensor/**

"ciflow/dtensor":
- test/distributed/tensor/**
- torch/distributed/tensor/**

"ci-refresh-hf-cache":
- .github/ci_commit_pins/vllm.txt
- .ci/docker/ci_commit_pins/timm.txt
- .ci/docker/ci_commit_pins/huggingface-requirements.txt
- .ci/docker/ci_commit_pins/torchbench.txt

"ciflow/inductor-pallas":
- torch/_inductor/codegen/pallas.py
- torch/utils/_pallas.py
- test/inductor/test_pallas.py
- test/inductor/pallas_expected_failures/**
- test/inductor/pallas_skip_tests/**
- .github/workflows/inductor-pallas.yml
- .ci/docker/ci_commit_pins/jax.txt
- .ci/docker/common/install_jax.sh
- .ci/docker/common/install_torch_tpu.sh
- .ci/docker/common/requirements_tpu.txt
- .github/ci_commit_pins/torch_tpu.txt

"ciflow/b200":
- test/test_matmul_cuda.py
- test/test_scaled_matmul_cuda.py
- test/inductor/test_fp8.py
- aten/src/ATen/native/cuda/*Blas.cpp
- aten/src/ATen/cuda/CUDA*Blas.*
- torch/**/*cublas*
- torch/_inductor/kernel/mm.py
- test/inductor/test_max_autotune.py
- third_party/fbgemm
# Only smoke jobs install CuTeDSL, so these paths need the label for pre-merge coverage.
# DLPack feeds tvm-ffi kernels; the test glob labels otherwise-unmatched test-only changes.
- aten/src/ATen/DLConvertor.*
- aten/src/ATen/dlpack.h
- torch/utils/dlpack.py
- test/test_dlpack.py
- test/python_native/**
- torch/_native/**
- torch/backends/python_native/**
- torch/_vendor/quack/**
- torch/_inductor/codegen/cutedsl/**
- torch/_inductor/codegen/nv_universal_gemm/**
- torch/_inductor/heuristics/template/nv_universal_gemm.py
- torch/_inductor/kernel/flex_gemm/**
- torch/_inductor/kernel/flex/flex_flash_attention.py
- torch/_inductor/runtime/cutedsl_cache.py
- torch/_inductor/kernel/mm_grouped.py
- torch/_inductor/kernel/templates/cutedsl_mm_grouped.py.jinja
- torch/_inductor/kernel/vendored_templates/cutedsl/**
- torch/_inductor/heuristics/template/cutedsl.py
- torch/_higher_order_ops/cutedsl_kernel_wrap.py
- torch/_higher_order_ops/user_kernel_hop.py
- test/inductor/test_cutedsl_grouped_mm.py
- test/inductor/test_cutedsl_kernels.py
- test/inductor/test_cutedsl_template.py
- test/python_native/**

"ciflow/h100":
- test/test_matmul_cuda.py
- test/test_scaled_matmul_cuda.py
- test/inductor/test_fp8.py
- aten/src/ATen/native/cuda/*Blas.cpp
- aten/src/ATen/cuda/CUDA*Blas.*
- torch/**/*cublas*
- torch/_inductor/kernel/mm.py
- test/inductor/test_max_autotune.py
- third_party/fbgemm
# Run sm_90+ native ops on Hopper too; Blackwell alone misses Hopper regressions.
- test/python_native/**
- torch/_native/**
- torch/backends/python_native/**

"ciflow/rocm-mi300":
- test/test_matmul_cuda.py
- test/test_scaled_matmul_cuda.py
- test/inductor/test_fp8.py
- aten/src/ATen/native/cuda/*Blas.cpp
- aten/src/ATen/cuda/CUDA*Blas.*
- torch/_inductor/kernel/mm.py
- test/inductor/test_max_autotune.py
- third_party/fbgemm

"ciflow/mps":
- aten/src/ATen/mps/**
- aten/src/ATen/native/mps/**
- torch/_inductor/codegen/mps.py
- test/test_mps.py
- test/inductor/test_mps_basic.py

# TestNestedTensorOpInfo only runs in periodic-strict. Its njt_op_db is derived
# from op_db, so OpInfo changes are included. Compile stack changes are not, and
# are only covered after merge.
"ciflow/periodic-strict":
- aten/src/ATen/native/nested/**
- torch/nested/**
- torch/testing/_internal/common_methods_invocations.py
- torch/testing/_internal/opinfo/**
- test/test_nestedtensor.py

"ciflow/h100-symm-mem":
- torch/csrc/distributed/c10d/symm_mem/**
- torch/distributed/_symmetric_memory/**
- test/distributed/**/*mem*
- test/distributed/**/*mem*/**

"ciflow/distributed-rdma":
- torch/distributed/_transport/**
- test/distributed/test_transport_*
- test/distributed/transport_test_utils.py

"ciflow/docker":
- .ci/docker/**
- .github/workflows/docker-builds.yml
- .github/workflows/build-manywheel-images.yml
- .github/workflows/build-almalinux-images.yml
- .github/actions/binary-docker-build/**
- .lintrunner.toml

"ciflow/binaries":
# Files that pin the CUDA, cuDNN, cuSPARSELt, NCCL and MKL builds shipped in the
# wheels. generate_binary_build_matrix.py is the whole matrix generator and
# install_cuda.sh is shared with the CI images, so an edit that changes no pin
# also matches. This starts every ciflow/binaries/* workflow (Linux x86/aarch64/
# s390x, Windows x64/arm64, macOS arm64) on each push.
# The .ci/docker paths also get ciflow/docker, so both labels can land together;
# that relies on get-docker-tag in the Linux binary workflows waiting until every
# builder image is published (the CUDA wheel jobs pull a different image than the
# CPU one that it waits for today).
- .github/scripts/generate_binary_build_matrix.py
- .ci/pytorch/windows/internal/cuda_install.bat
- .ci/docker/common/install_cuda.sh
- .ci/docker/common/install_mkl.sh
- .ci/docker/ci_commit_pins/nccl.txt

"ciflow/torchtitan":
# torchtitan commit pin updates
- .github/ci_commit_pins/torchtitan.txt
# torch.distributed (FSDP, DTensor, etc.)
- torch/distributed/**
# torch.compile
- torch/_dynamo/**
- torch/_inductor/**
# activation checkpointing / selective activation checkpointing
- torch/utils/checkpoint.py
- torch/_functorch/_activation_checkpointing/**
- torch/_functorch/partitioners.py
- torch/distributed/algorithms/_checkpoint/checkpoint_wrapper.py
# flexattention
- torch/nn/attention/flex_attention.py
- torch/_higher_order_ops/flex_attention.py
- torch/_inductor/kernel/flex/**