Skip to content

Commit 29b699e

Browse files
authored
Merge branch 'main' into amd-ci-monitor
2 parents ed80d9d + b564dce commit 29b699e

File tree

1,164 files changed

+101789
-78301
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,164 files changed

+101789
-78301
lines changed

.codespellrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[codespell]
2+
ignore-words-list = ans, als, hel, boostrap, childs, te, vas, hsa, ment, cann, thi, makro, wil, rouge, PRIS
3+
skip = *.json,*.jsonl,*.patch,*.txt

.github/CI_PERMISSIONS.json

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,13 @@
209209
"reason": "top contributor",
210210
"can_rerun_stage": true
211211
},
212+
"Shunkangz": {
213+
"can_tag_run_ci_label": true,
214+
"can_rerun_failed_ci": true,
215+
"cooldown_interval_minutes": 60,
216+
"reason": "custom override",
217+
"can_rerun_stage": true
218+
},
212219
"SimonCqk": {
213220
"can_tag_run_ci_label": true,
214221
"can_rerun_failed_ci": true,
@@ -279,6 +286,13 @@
279286
"reason": "custom override",
280287
"can_rerun_stage": true
281288
},
289+
"ZhengWG": {
290+
"can_tag_run_ci_label": true,
291+
"can_rerun_failed_ci": true,
292+
"cooldown_interval_minutes": 60,
293+
"reason": "custom override",
294+
"can_rerun_stage": true
295+
},
282296
"ZhengdQin": {
283297
"can_tag_run_ci_label": true,
284298
"can_rerun_failed_ci": true,
@@ -405,6 +419,13 @@
405419
"reason": "custom override",
406420
"can_rerun_stage": true
407421
},
422+
"dongjiyingdjy": {
423+
"can_tag_run_ci_label": true,
424+
"can_rerun_failed_ci": true,
425+
"cooldown_interval_minutes": 60,
426+
"reason": "custom override",
427+
"can_rerun_stage": true
428+
},
408429
"dougyster": {
409430
"can_tag_run_ci_label": true,
410431
"can_rerun_failed_ci": true,
@@ -660,7 +681,7 @@
660681
"liusy58": {
661682
"can_tag_run_ci_label": true,
662683
"can_rerun_failed_ci": true,
663-
"cooldown_interval_minutes": 60,
684+
"cooldown_interval_minutes": 0,
664685
"reason": "custom override",
665686
"can_rerun_stage": true
666687
},
@@ -804,6 +825,13 @@
804825
"reason": "top contributor",
805826
"can_rerun_stage": true
806827
},
828+
"samuellees": {
829+
"can_tag_run_ci_label": true,
830+
"can_rerun_failed_ci": true,
831+
"cooldown_interval_minutes": 60,
832+
"reason": "custom override",
833+
"can_rerun_stage": true
834+
},
807835
"scottjlee": {
808836
"can_tag_run_ci_label": true,
809837
"can_rerun_failed_ci": true,
@@ -958,6 +986,13 @@
958986
"reason": "custom override",
959987
"can_rerun_stage": true
960988
},
989+
"xyjixyjixyji": {
990+
"can_tag_run_ci_label": true,
991+
"can_rerun_failed_ci": true,
992+
"cooldown_interval_minutes": 0,
993+
"reason": "custom override",
994+
"can_rerun_stage": true
995+
},
961996
"yanbing-j": {
962997
"can_tag_run_ci_label": true,
963998
"can_rerun_failed_ci": true,
@@ -972,6 +1007,13 @@
9721007
"reason": "custom override",
9731008
"can_rerun_stage": true
9741009
},
1010+
"yeahdongcn": {
1011+
"can_tag_run_ci_label": true,
1012+
"can_rerun_failed_ci": true,
1013+
"cooldown_interval_minutes": 0,
1014+
"reason": "custom override",
1015+
"can_rerun_stage": true
1016+
},
9751017
"yhyang201": {
9761018
"can_tag_run_ci_label": true,
9771019
"can_rerun_failed_ci": true,

.github/CODEOWNERS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
/docker/npu.Dockerfile @ping1jing2 @iforgetmyname
44
/python/pyproject.toml @merrymercy @Fridge003 @ispobock
55
/python/sglang/jit_kernel @DarkSharpness @BBuf
6+
/python/sglang/jit_kernel/diffusion @yingluosanqian @BBuf @mickqian
67
/python/sglang/multimodal_gen @mickqian @yhyang201
7-
/python/sglang/multimodal_gen/runtime/layers @mickqian @yhyang201 @BBuf
8-
/python/sglang/multimodal_gen/runtime/models/dits @mickqian @yhyang201 @BBuf
8+
/python/sglang/multimodal_gen/runtime/layers @mickqian @yhyang201 @BBuf @yingluosanqian
9+
/python/sglang/multimodal_gen/runtime/models/dits @mickqian @yhyang201 @BBuf @yingluosanqian
910
/python/sglang/srt/batch_invariant_ops @Fridge003 @hebiao064
1011
/python/sglang/srt/constrained @hnyls2002 @DarkSharpness
1112
/python/sglang/srt/compilation @hebiao064

.github/labeler.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,10 @@ deterministic:
108108
piecewise-cuda-graph:
109109
- changed-files:
110110
- any-glob-to-any-file: 'python/sglang/srt/compilation/**/*'
111+
112+
# Moore Threads specific
113+
mthreads:
114+
- changed-files:
115+
- any-glob-to-any-file:
116+
- '**/*mthreads*'
117+
- '**/*musa*'

.github/workflows/ci-coverage-overview.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
paths:
88
- '.github/workflows/ci-coverage-overview.yml'
9-
- 'scripts/ci/ci_coverage_report.py'
9+
- 'scripts/ci/utils/ci_coverage_report.py'
1010
- 'test/registered/**'
1111
workflow_dispatch:
1212
inputs:
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Generate Summary Report
3636
run: |
37-
python scripts/ci/ci_coverage_report.py --section summary
37+
python scripts/ci/utils/ci_coverage_report.py --section summary
3838
3939
by-folder:
4040
name: Tests by Folder
@@ -50,7 +50,7 @@ jobs:
5050

5151
- name: Generate Tests by Folder Report
5252
run: |
53-
python scripts/ci/ci_coverage_report.py --section by-folder
53+
python scripts/ci/utils/ci_coverage_report.py --section by-folder
5454
5555
by-suite:
5656
name: Tests by Suite
@@ -66,7 +66,7 @@ jobs:
6666

6767
- name: Generate Tests by Suite Report
6868
run: |
69-
python scripts/ci/ci_coverage_report.py --section by-suite
69+
python scripts/ci/utils/ci_coverage_report.py --section by-suite
7070
7171
json-export:
7272
name: JSON Export
@@ -83,7 +83,7 @@ jobs:
8383

8484
- name: Generate JSON Report
8585
run: |
86-
python scripts/ci/ci_coverage_report.py --output-format json > ci_coverage.json
86+
python scripts/ci/utils/ci_coverage_report.py --output-format json > ci_coverage.json
8787
8888
- name: Upload JSON artifact
8989
uses: actions/upload-artifact@v4

.github/workflows/execute-notebook.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,40 @@ name: Execute Notebooks
33
on:
44
pull_request:
55
branches: [ main ]
6+
types: [opened, synchronize, reopened, labeled]
67
paths:
78
- "python/sglang/**"
89
- "docs/**"
10+
- "!python/sglang/**/*.md"
11+
- "!docs/**/*.md"
912
workflow_dispatch:
1013

1114

1215
concurrency:
1316
group: execute-notebook-${{ github.ref }}
1417
cancel-in-progress: true
1518

19+
env:
20+
SGLANG_IS_IN_CI: true
1621

1722
jobs:
23+
call-gate:
24+
# Align with PR Test: fail fast if PR doesn't have run-ci label.
25+
# This makes /tag-and-rerun-ci work by rerunning this failed workflow.
26+
uses: ./.github/workflows/pr-gate.yml
27+
secrets: inherit
28+
1829
run-all-notebooks:
30+
needs: [call-gate]
1931
runs-on: 1-gpu-runner
20-
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-ci')
32+
if: github.event_name != 'pull_request' || needs.call-gate.result == 'success'
2133
steps:
2234
- name: Checkout code
2335
uses: actions/checkout@v4
2436

2537
- name: Install dependencies
2638
run: |
27-
bash scripts/ci/ci_install_dependency.sh
39+
bash scripts/ci/cuda/ci_install_dependency.sh
2840
pip install -r docs/requirements.txt
2941
apt-get update && apt-get install -y pandoc parallel retry
3042
ln -sf "$(which python3)" /usr/bin/python
@@ -43,9 +55,11 @@ jobs:
4355
4456
notebook-finish:
4557
needs: [
58+
call-gate,
4659
run-all-notebooks
4760
]
4861
runs-on: ubuntu-latest
62+
if: always() && needs.run-all-notebooks.result != 'skipped'
4963
steps:
5064
- name: Check all dependent job statuses
5165
run: |

0 commit comments

Comments
 (0)