Skip to content

Commit 9deb53b

Browse files
committed
cpu_pytorch
1 parent 5f0e205 commit 9deb53b

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

.github/workflows/benchmark_cpu_onnxruntime.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
run_benchmarks:
2121
if: >-
2222
(github.event_name == 'push' && contains(github.event.head_commit.message, 'cpu_onnxruntime')) ||
23+
(github.event_name == 'push' && contains(github.event.head_commit.message, 'all_benchmarks')) ||
2324
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
2425
github.event_name == 'workflow_dispatch' ||
2526
(github.event_name == 'pull_request' && (

.github/workflows/benchmark_cpu_openvino.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
run_benchmarks:
2121
if: >-
2222
(github.event_name == 'push' && contains(github.event.head_commit.message, 'cpu_openvino')) ||
23+
(github.event_name == 'push' && contains(github.event.head_commit.message, 'all_benchmarks')) ||
2324
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
2425
github.event_name == 'workflow_dispatch' ||
2526
(github.event_name == 'pull_request' && (

.github/workflows/benchmark_cpu_pytorch.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
run_benchmarks:
2121
if: >-
2222
(github.event_name == 'push' && contains(github.event.head_commit.message, 'cpu_pytorch')) ||
23+
(github.event_name == 'push' && contains(github.event.head_commit.message, 'all_benchmarks')) ||
2324
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
2425
github.event_name == 'workflow_dispatch' ||
2526
(github.event_name == 'pull_request' && (

.github/workflows/benchmark_cuda_pytorch.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- cron: "0 0 * * *"
77
push:
88
branches:
9-
- main
9+
- '*'
1010
pull_request:
1111

1212
concurrency:
@@ -18,14 +18,17 @@ env:
1818

1919
jobs:
2020
run_benchmarks:
21-
if: ${{
22-
(github.event_name == 'push') ||
23-
(github.event_name == 'workflow_dispatch') ||
24-
contains( github.event.pull_request.labels.*.name, 'leaderboard') ||
25-
contains( github.event.pull_request.labels.*.name, 'cuda') ||
26-
contains( github.event.pull_request.labels.*.name, 'pytorch') ||
27-
contains( github.event.pull_request.labels.*.name, 'cuda_pytorch')
28-
}}
21+
if: >-
22+
(github.event_name == 'push' && contains(github.event.head_commit.message, 'cuda_pytorch')) ||
23+
(github.event_name == 'push' && contains(github.event.head_commit.message, 'all_benchmarks')) ||
24+
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
25+
github.event_name == 'workflow_dispatch' ||
26+
(github.event_name == 'pull_request' && (
27+
contains(github.event.pull_request.labels.*.name, 'leaderboard') ||
28+
contains(github.event.pull_request.labels.*.name, 'cuda') ||
29+
contains(github.event.pull_request.labels.*.name, 'pytorch') ||
30+
contains(github.event.pull_request.labels.*.name, 'cuda_pytorch')
31+
))
2932
3033
strategy:
3134
fail-fast: false

0 commit comments

Comments
 (0)