From a8ce4b5ab1dd6ea39965425944e8ddc2b9d618f0 Mon Sep 17 00:00:00 2001 From: Xu Zhao Date: Wed, 2 Oct 2024 12:11:09 -0700 Subject: [PATCH] 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: https://github.com/pytorch/benchmark/pull/2481 Reviewed By: kit1980 Differential Revision: D63695702 Pulled By: xuzhao9 fbshipit-source-id: cc88e0a987ecca1daf09d35ddeca18f07bef9077 --- .github/workflows/pr-test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 00417d454..c9bdb3131 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -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: