Skip to content

Commit b4ec405

Browse files
authored
Merge pull request #6336 from BurkeHulk/fix/update-test-config
[fix] fix CI machine tag
2 parents fd56b22 + 067dd43 commit b4ec405

20 files changed

+25
-21
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: [self-hosted,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: [self-hosted,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

.github/workflows/build_on_schedule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
name: Build and Test Colossal-AI
1212
if: github.repository == 'hpcaitech/ColossalAI'
13-
runs-on: [self-hosted, gpu]
13+
runs-on: [self-hosted, ubuntu-latest]
1414
container:
1515
image: image-cloud.luchentech.com/hpcaitech/pytorch-cuda:2.2.2-12.1.0
1616
options: --gpus all --rm -v /dev/shm -v /data/scratch/:/data/scratch/

.github/workflows/compatiblity_test_on_dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Unit Testing
7575
run: |
76-
PYTHONPATH=$PWD pytest
76+
PYTHONPATH=$PWD pytest
7777
-m "not largedist" \
7878
--durations=0 \
7979
--ignore tests/test_analyzer \

.github/workflows/cuda_ext_check_before_merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
matrix_preparation:
1111
name: Prepare Container List
1212
if: github.repository == 'hpcaitech/ColossalAI'
13-
runs-on: [self-hosted,ubuntu-latest]
13+
runs-on: [self-hosted, ubuntu-latest]
1414
outputs:
1515
matrix: ${{ steps.set-matrix.outputs.matrix }}
1616
steps:

.github/workflows/doc_check_on_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: |
1616
github.event.pull_request.draft == false &&
1717
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
18-
runs-on: ubuntu-[self-hosted, ubuntu-latest]
18+
runs-on: [self-hosted, ubuntu-latest]
1919
concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-check-i18n
2121
cancel-in-progress: true

.github/workflows/doc_test_on_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
needs.detect-changed-doc.outputs.any_changed == 'true'
5555
name: Test the changed Doc
5656
needs: detect-changed-doc
57-
runs-on: [self-hosted, gpu]
57+
runs-on: [self-hosted, ubuntu-latest]
5858
container:
5959
image: image-cloud.luchentech.com/hpcaitech/pytorch-cuda:2.2.2-12.1.0
6060
options: --gpus all --rm

.github/workflows/doc_test_on_schedule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
# Add this condition to avoid executing this job if the trigger event is workflow_dispatch.
1111
if: github.repository == 'hpcaitech/ColossalAI'
1212
name: Test the changed Doc
13-
runs-on: [self-hosted, gpu]
13+
runs-on: [self-hosted, ubuntu-latest]
1414
container:
1515
image: image-cloud.luchentech.com/hpcaitech/pytorch-cuda:2.2.2-12.1.0
1616
options: --gpus all --rm

.github/workflows/example_check_on_dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
4141
name: Manually check example files
4242
needs: manual_check_matrix_preparation
43-
runs-on: [self-hosted, gpu]
43+
runs-on: [self-hosted, ubuntu-latest]
4444
strategy:
4545
fail-fast: false
4646
matrix: ${{fromJson(needs.manual_check_matrix_preparation.outputs.matrix)}}

.github/workflows/example_check_on_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
needs.detect-changed-example.outputs.anyChanged == 'true'
8686
name: Test the changed example
8787
needs: detect-changed-example
88-
runs-on: [self-hosted, gpu]
88+
runs-on: [self-hosted, ubuntu-latest]
8989
strategy:
9090
fail-fast: false
9191
matrix: ${{fromJson(needs.detect-changed-example.outputs.matrix)}}

.github/workflows/example_check_on_schedule.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
matrix_preparation:
1111
if: github.repository == 'hpcaitech/ColossalAI'
1212
name: Prepare matrix for weekly check
13-
runs-on: ubunt[self-hosted, ubuntu-latest]u-latest
13+
runs-on: [self-hosted, ubuntu-latest]
1414
outputs:
1515
matrix: ${{ steps.setup-matrix.outputs.matrix }}
1616
steps:
@@ -29,7 +29,7 @@ jobs:
2929
if: github.repository == 'hpcaitech/ColossalAI'
3030
name: Weekly check all examples
3131
needs: matrix_preparation
32-
runs-on: [self-hosted, gpu]
32+
runs-on: [self-hosted, ubuntu-latest]
3333
strategy:
3434
fail-fast: false
3535
matrix: ${{fromJson(needs.matrix_preparation.outputs.matrix)}}

0 commit comments

Comments
 (0)