Skip to content

Commit 948089c

Browse files
committed
add dummy workflow
Signed-off-by: mywaaagh_admin <[email protected]>
1 parent 902c9f7 commit 948089c

File tree

4 files changed

+109
-0
lines changed

4 files changed

+109
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: 🐞 Bug report
2+
description: Create a report to help us reproduce and fix the bug
3+
title: "[Bug] "
4+
labels: ['Bug']
5+
6+
body:
7+
- type: checkboxes
8+
attributes:
9+
label: Checklist
10+
options:
11+
- label: 1. I have searched related issues but cannot get the expected help.
12+
- label: 2. The bug has not been fixed in the latest version.
13+
- label: 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
14+
- label: 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
15+
- label: 5. Please use English, otherwise it will be closed.
16+
- type: textarea
17+
attributes:
18+
label: Describe the bug
19+
description: A clear and concise description of what the bug is.
20+
validations:
21+
required: true
22+
- type: textarea
23+
attributes:
24+
label: Reproduction
25+
description: |
26+
What command or script did you run? Which **model** are you using?
27+
placeholder: |
28+
A placeholder for the command.
29+
validations:
30+
required: true
31+
- type: textarea
32+
attributes:
33+
label: Environment
34+
description: |
35+
Please provide necessary environment information here with `python3 -m sglang.check_env`. Otherwise the issue will be closed.
36+
placeholder: Environment here.
37+
validations:
38+
required: true
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 🚀 Feature request
2+
description: Suggest an idea for this project
3+
title: "[Feature] "
4+
5+
body:
6+
- type: checkboxes
7+
attributes:
8+
label: Checklist
9+
options:
10+
- label: 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
11+
- label: 2. Please use English, otherwise it will be closed.
12+
- type: textarea
13+
attributes:
14+
label: Motivation
15+
description: |
16+
A clear and concise description of the motivation of the feature.
17+
validations:
18+
required: true
19+
- type: textarea
20+
attributes:
21+
label: Related resources
22+
description: |
23+
If there is an official code release or third-party implementations, please also provide the information here, which would be very helpful.

.github/pull_request_template.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!-- Thank you for your contribution! We appreciate it. The following guidelines will help improve your pull request and facilitate feedback. If anything is unclear, don't hesitate to submit your pull request and ask the maintainers for assistance. -->
2+
3+
## Motivation
4+
5+
<!-- Explain the purpose of this PR and the goals it aims to achieve. -->
6+
7+
## Modifications
8+
9+
<!-- Describe the changes made in this PR. -->
10+
11+
## Checklist
12+
13+
- [ ] Format your code according to the [Code Formatting with Pre-Commit](https://docs.sglang.ai/references/contribution_guide.html#code-formatting-with-pre-commit).
14+
- [ ] Add unit tests as outlined in the [Running Unit Tests](https://docs.sglang.ai/references/contribution_guide.html#running-unit-tests-adding-to-ci).
15+
- [ ] Update documentation / docstrings / example tutorials as needed, according to [Writing Documentation](https://docs.sglang.ai/references/contribution_guide.html#writing-documentation-running-docs-ci).
16+
- [ ] Provide throughput / latency benchmark results and accuracy evaluation results as needed, according to [Benchmark and Profiling](https://docs.sglang.ai/references/benchmark_and_profiling.html) and [Accuracy Results](https://docs.sglang.ai/references/accuracy_evaluation.html).
17+
- [ ] For reviewers: If you haven't made any contributions to this PR and are only assisting with merging the main branch, please remove yourself as a co-author when merging the PR.
18+
- [ ] Please feel free to join our Slack channel at https://slack.sglang.ai to discuss your PR.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: PR Test Dummy
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths:
7+
- ".github/workflows/pr-test-dummy.yml"
8+
pull_request:
9+
branches: [ main ]
10+
paths:
11+
- ".github/workflows/pr-test-dummy.yml"
12+
workflow_dispatch:
13+
14+
concurrency:
15+
group: pr-test-dummy-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
unit-test-basic:
20+
if: (github.repository == 'sgl-project/sgl-kernel-npu' || github.event_name == 'pull_request') &&
21+
github.event.pull_request.draft == false
22+
runs-on: self-hosted
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v4
26+
27+
- name: Do test
28+
run: |
29+
sudo npu-smi info
30+

0 commit comments

Comments
 (0)