Skip to content

Commit

Permalink
Ignore Torchbench CI on Tritonbench paths (#2481)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
xuzhao9 authored and facebook-github-bot committed Oct 2, 2024
1 parent f2932b7 commit a8ce4b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
name: TorchBench PR Test
on:
pull_request:
# ignore tritonbench paths
paths-ignore:
- 'torchbenchmark/operators'
- 'torchbenchmark/util/triton_op.py'
- 'userbenchmark/triton'
workflow_dispatch:
push:
branches:
- main
# ignore tritonbench paths
paths-ignore:
- 'torchbenchmark/operators'
- 'torchbenchmark/util/triton_op.py'
- 'userbenchmark/triton'

jobs:
cpu-test:
Expand Down

0 comments on commit a8ce4b5

Please sign in to comment.