Skip to content

Commit fd56b22

Browse files
authored
Merge pull request #6334 from flybird11111/main
[release] release version
2 parents 6f19618 + 0601023 commit fd56b22

15 files changed

+60
-21
lines changed

.github/workflows/close_inactive.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
close-issues:
99
if: github.event.pull_request.draft == false && github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
10-
runs-on: [self-hosted, ubuntu-latest]-latest
10+
runs-on: [self-hosted, ubuntu-latest]
1111
permissions:
1212
issues: write
1313
pull-requests: write

.github/workflows/compatiblity_test_on_dispatch.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
matrix_preparation:
1717
name: Prepare Container List
18-
runs-on: [self-hosted, ubuntu-latest]-latest
18+
runs-on: [self-hosted, ubuntu-latest]
1919
outputs:
2020
matrix: ${{ steps.set-matrix.outputs.matrix }}
2121
steps:
@@ -73,7 +73,18 @@ jobs:
7373
7474
- name: Unit Testing
7575
run: |
76-
PYTHONPATH=$PWD pytest --durations=0 tests
76+
PYTHONPATH=$PWD pytest
77+
-m "not largedist" \
78+
--durations=0 \
79+
--ignore tests/test_analyzer \
80+
--ignore tests/test_auto_parallel \
81+
--ignore tests/test_fx \
82+
--ignore tests/test_autochunk \
83+
--ignore tests/test_gptq \
84+
--ignore tests/test_infer_ops \
85+
--ignore tests/test_legacy \
86+
--ignore tests/test_smoothquant \
87+
tests/
7788
env:
7889
DATA: /data/scratch/cifar-10
7990
LD_LIBRARY_PATH: /github/home/.tensornvme/lib

.github/workflows/compatiblity_test_on_pr.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
matrix_preparation:
1111
name: Prepare Container List
12-
runs-on: [self-hosted, ubuntu-latest]-latest
12+
runs-on: [self-hosted, ubuntu-latest]
1313
outputs:
1414
matrix: ${{ steps.set-matrix.outputs.matrix }}
1515
concurrency:
@@ -67,7 +67,18 @@ jobs:
6767
6868
- name: Unit Testing
6969
run: |
70-
PYTHONPATH=$PWD pytest --durations=0 tests
70+
PYTHONPATH=$PWD pytest \
71+
-m "not largedist" \
72+
--durations=0 \
73+
--ignore tests/test_analyzer \
74+
--ignore tests/test_auto_parallel \
75+
--ignore tests/test_fx \
76+
--ignore tests/test_autochunk \
77+
--ignore tests/test_gptq \
78+
--ignore tests/test_infer_ops \
79+
--ignore tests/test_legacy \
80+
--ignore tests/test_smoothquant \
81+
tests/
7182
env:
7283
DATA: /data/scratch/cifar-10
7384
LD_LIBRARY_PATH: /github/home/.tensornvme/lib

.github/workflows/compatiblity_test_on_schedule.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
matrix_preparation:
1111
name: Prepare Container List
12-
runs-on: [self-hosted, ubuntu-latest]-latest
12+
runs-on: [self-hosted, ubuntu-latest]
1313
outputs:
1414
matrix: ${{ steps.set-matrix.outputs.matrix }}
1515
steps:
@@ -61,7 +61,18 @@ jobs:
6161
6262
- name: Unit Testing
6363
run: |
64-
PYTHONPATH=$PWD pytest --durations=0 tests
64+
PYTHONPATH=$PWD pytest \
65+
-m "not largedist" \
66+
--durations=0 \
67+
--ignore tests/test_analyzer \
68+
--ignore tests/test_auto_parallel \
69+
--ignore tests/test_fx \
70+
--ignore tests/test_autochunk \
71+
--ignore tests/test_gptq \
72+
--ignore tests/test_infer_ops \
73+
--ignore tests/test_legacy \
74+
--ignore tests/test_smoothquant \
75+
tests/
6576
env:
6677
DATA: /data/scratch/cifar-10
6778
LD_LIBRARY_PATH: /github/home/.tensornvme/lib

.github/workflows/doc_build_on_schedule_after_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build-doc:
1212
name: Trigger Documentation Build Workflow
1313
if: github.repository == 'hpcaitech/ColossalAI'
14-
runs-on: [self-hosted, ubuntu-latest]-latest
14+
runs-on: [self-hosted, ubuntu-latest]
1515
steps:
1616
- name: trigger workflow in ColossalAI-Documentation
1717
run: |

.github/workflows/doc_check_on_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
if: |
3434
github.event.pull_request.draft == false &&
3535
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
36-
runs-on: [self-hosted, ubuntu-latest]-latest
36+
runs-on: [self-hosted, ubuntu-latest]
3737
concurrency:
3838
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-check-doc
3939
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
@@ -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' && github.event_name == 'pull_request'
18-
runs-on: [self-hosted, ubuntu-latest]-latest
18+
runs-on: [self-hosted, ubuntu-latest]
1919
outputs:
2020
any_changed: ${{ steps.changed-files.outputs.any_changed }}
2121
changed_files: ${{ steps.changed-files.outputs.all_changed_files }}

.github/workflows/draft_github_release_post_after_merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
release:
1313
name: Draft Release Post
1414
if: ( github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true ) && github.repository == 'hpcaitech/ColossalAI'
15-
runs-on: [self-hosted, ubuntu-latest]-latest
15+
runs-on: [self-hosted, ubuntu-latest]
1616
steps:
1717
- uses: actions/checkout@v2
1818
with:

.github/workflows/example_check_on_dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
github.base_ref == 'main' &&
1515
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
1616
name: Check the examples user want
17-
runs-on: [self-hosted, ubuntu-latest]-latest
17+
runs-on: [self-hosted, ubuntu-latest]
1818
outputs:
1919
matrix: ${{ steps.set-matrix.outputs.matrix }}
2020
steps:

.github/workflows/example_check_on_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: |
1818
github.event.pull_request.draft == false &&
1919
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && github.event_name == 'pull_request'
20-
runs-on: [self-hosted, ubuntu-latest]-latest
20+
runs-on: [self-hosted, ubuntu-latest]
2121
outputs:
2222
matrix: ${{ steps.setup-matrix.outputs.matrix }}
2323
anyChanged: ${{ steps.setup-matrix.outputs.anyChanged }}
@@ -64,7 +64,7 @@ jobs:
6464
changedFileName="${file}:${changedFileName}"
6565
done
6666
echo "$changedFileName was changed"
67-
res=`python .github/workflows/scripts/example_checks/detect_changed_example.py --fileNameList $changedFileName`
67+
res=`python3 .github/workflows/scripts/example_checks/detect_changed_example.py --fileNameList $changedFileName`
6868
echo "All changed examples are $res"
6969
7070
if [ "$res" == "[]" ]; then

0 commit comments

Comments
 (0)