Skip to content

Commit ee7c3db

Browse files
jithunnair-amdpytorchmergebot
authored andcommitted
Enable inductor-rocm workflow for all trunk commits AND inductor-related PRs (pytorch#138623)
It should help with triaging ROCm-inductor-related breakages and surfacing them in the PRs itself. Pull Request resolved: pytorch#138623 Approved by: https://github.com/huydhn
1 parent 7167323 commit ee7c3db

File tree

1 file changed

+34
-7
lines changed

1 file changed

+34
-7
lines changed

.github/workflows/inductor-rocm.yml

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,42 @@
11
name: inductor-rocm
22

33
on:
4-
schedule:
5-
# We have several schedules so jobs can check github.event.schedule to activate only for a fraction of the runs.
6-
# Also run less frequently on weekends.
7-
- cron: 45 0,4,8,12,16,20 * * 1-5
8-
- cron: 45 4,12 * * 0,6
9-
- cron: 29 8 * * * # about 1:29am PDT, for mem leak check and rerun disabled tests
4+
pull_request:
5+
paths:
6+
# from "ciflow/inductor" in .github/labeler.yml
7+
- 'torch/_decomp/**'
8+
- 'torch/_dynamo/**'
9+
- 'torch/_export/**'
10+
- 'torch/_inductor/**'
11+
- 'benchmarks/dynamo/**'
12+
- 'torch/_subclasses/fake_tensor.py'
13+
- 'torch/_subclasses/fake_utils.py'
14+
- 'torch/_subclasses/meta_utils.py'
15+
- 'test/distributed/test_dynamo_distributed.py'
16+
- 'test/distributed/test_inductor_collectives.py'
17+
- 'torch/_functorch/_aot_autograd/**'
18+
- 'torch/_functorch/aot_autograd.py'
19+
- 'torch/_functorch/partitioners.py'
20+
- '.ci/docker/ci_commit_pins/**'
21+
- '.github/ci_commit_pins/**'
22+
- 'c10/core/Sym*'
23+
- 'torch/fx/experimental/symbolic_shapes.py'
24+
- 'torch/fx/experimental/recording.py'
25+
- 'torch/fx/experimental/sym_node.py'
26+
- 'torch/fx/experimental/validator.py'
27+
- 'torch/fx/experimental/proxy_tensor.py'
28+
- 'test/distributed/_tensor/test_dtensor_compile.py'
29+
- 'test/distributed/tensor/parallel/test_fsdp_2d_parallel.py'
30+
- 'torch/distributed/_tensor/**'
31+
- 'torch/distributed/fsdp/**'
32+
- 'torch/csrc/inductor/**'
33+
- 'test/cpp/aoti_abi_check/**'
34+
- 'test/cpp/aoti_inference/**'
35+
# from "module: inductor" in .github/labeler.yml
36+
- 'test/inductor/**'
1037
push:
1138
branches:
12-
# - main
39+
- main
1340
- release/*
1441
tags:
1542
- ciflow/inductor-rocm/*

0 commit comments

Comments
 (0)