Skip to content

Commit b39fbb2

Browse files
authored
Update build_on_pr.yml
1 parent de47d22 commit b39fbb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_on_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
anyExtensionFileChanged: ${{ steps.find-extension-change.outputs.any_changed }}
3535
changedLibraryFiles: ${{ steps.find-lib-change.outputs.all_changed_files }}
3636
anyLibraryFileChanged: ${{ steps.find-lib-change.outputs.any_changed }}
37-
runs-on: ubuntu-latest
37+
runs-on: [self-hosted,ubuntu-latest]
3838
concurrency:
3939
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-detect-change
4040
cancel-in-progress: true
@@ -87,7 +87,7 @@ jobs:
8787
name: Build and Test Colossal-AI
8888
needs: detect
8989
if: needs.detect.outputs.anyLibraryFileChanged == 'true'
90-
runs-on: ubuntu-latest
90+
runs-on: [self-hosted,ubuntu-latest]
9191
container:
9292
image: image-cloud.luchentech.com/hpcaitech/pytorch-cuda:2.2.2-12.1.0
9393
options: --gpus all --shm-size=2g --rm -v /dev/shm -v /data/scratch:/data/scratch

0 commit comments

Comments
 (0)