Skip to content

Commit 504c572

Browse files
authored
ci: route GPU jobs to gpu runner, CPU jobs to cpu runner via labels (#901)
1 parent e7bfc4b commit 504c572

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/Modeltest_check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
name: Modeltest Check
3636
runs-on:
3737
group: PaConvert
38+
labels: [cpu]
3839
timeout-minutes: 120
3940
env:
4041
TORCH_PROJECT_PATH: /workspace/torch_project

.github/workflows/Unittest_check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
name: CI Unittest
3535
runs-on:
3636
group: PaConvert
37+
labels: [cpu]
3738
timeout-minutes: 60
3839

3940
steps:

.github/workflows/Unittest_check_distribute.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
name: Distributed Unittest Check
3535
runs-on:
3636
group: PaConvert
37+
labels: [gpu]
3738
timeout-minutes: 120
3839

3940
steps:

.github/workflows/Unittest_check_gpu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
name: GPU Unittest Check
3535
runs-on:
3636
group: PaConvert
37+
labels: [gpu]
3738
timeout-minutes: 120
3839

3940
steps:

0 commit comments

Comments
 (0)