Skip to content

Commit 0994054

Browse files
committed
cpu_pytorch
1 parent e15917c commit 0994054

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/benchmark_cpu_pytorch.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ env:
1818

1919
jobs:
2020
run_benchmarks:
21-
if: ${{
21+
if: >-
2222
(github.event_name == 'push' && contains(github.event.head_commit.message, 'cpu_pytorch')) ||
23-
(github.event_name == 'push') && github.ref == 'refs/heads/main' ||
24-
(github.event_name == 'workflow_dispatch') ||
25-
contains( github.event.pull_request.labels.*.name, 'leaderboard') ||
26-
contains( github.event.pull_request.labels.*.name, 'cpu') ||
27-
contains( github.event.pull_request.labels.*.name, 'pytorch') ||
28-
contains( github.event.pull_request.labels.*.name, 'cpu_pytorch') ||
29-
30-
}}
23+
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
24+
github.event_name == 'workflow_dispatch' ||
25+
(github.event_name == 'pull_request' && (
26+
contains(github.event.pull_request.labels.*.name, 'leaderboard') ||
27+
contains(github.event.pull_request.labels.*.name, 'cpu') ||
28+
contains(github.event.pull_request.labels.*.name, 'pytorch') ||
29+
contains(github.event.pull_request.labels.*.name, 'cpu_pytorch')
30+
))
3131
3232
strategy:
3333
fail-fast: false

0 commit comments

Comments
 (0)