Skip to content

Commit a8ce4b5

Browse files
xuzhao9facebook-github-bot
authored andcommitted
Ignore Torchbench CI on Tritonbench paths (#2481)
Summary: Right now, Tritonbench is still sharing codebase with Torchbench. Skip the Torchbench tests when the PR is on Tritonbench paths. Pull Request resolved: #2481 Reviewed By: kit1980 Differential Revision: D63695702 Pulled By: xuzhao9 fbshipit-source-id: cc88e0a987ecca1daf09d35ddeca18f07bef9077
1 parent f2932b7 commit a8ce4b5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/pr-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
name: TorchBench PR Test
22
on:
33
pull_request:
4+
# ignore tritonbench paths
5+
paths-ignore:
6+
- 'torchbenchmark/operators'
7+
- 'torchbenchmark/util/triton_op.py'
8+
- 'userbenchmark/triton'
49
workflow_dispatch:
510
push:
611
branches:
712
- main
13+
# ignore tritonbench paths
14+
paths-ignore:
15+
- 'torchbenchmark/operators'
16+
- 'torchbenchmark/util/triton_op.py'
17+
- 'userbenchmark/triton'
818

919
jobs:
1020
cpu-test:

0 commit comments

Comments
 (0)