Skip to content

Commit e183d47

Browse files
authored
Merge branch 'main' into main
2 parents 9cad3dc + fe1d0e6 commit e183d47

File tree

140 files changed

+8952
-2162
lines changed

Some content is hidden

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

140 files changed

+8952
-2162
lines changed
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
name: Bug Report
2+
description: Report a bug to help us improve slime. Please check the docs and existing issues before submitting.
3+
title: "[Bug] "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for taking the time to report a bug!
10+
11+
> **Note:** slime's open-source collaboration is currently focused on **bug fixes** and **general-purpose RL optimizations**.
12+
> Feature requests are outside our current scope — please see [CONTRIBUTING.md](https://github.com/THUDM/slime/blob/main/CONTRIBUTING.md) for details.
13+
14+
Before submitting, please make sure you have:
15+
- [ ] Read the [documentation](https://thudm.github.io/slime/) and [FAQ](https://thudm.github.io/slime/en/get_started/qa.html)
16+
- [ ] Searched [existing issues](https://github.com/THUDM/slime/issues) to avoid duplicates
17+
- [ ] Reproduced the issue with the latest version of slime
18+
19+
- type: textarea
20+
id: description
21+
attributes:
22+
label: Bug Description
23+
description: A clear and concise description of what the bug is.
24+
placeholder: Describe the bug here...
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: reproduction
30+
attributes:
31+
label: Steps to Reproduce
32+
description: |
33+
Please provide a minimal, reproducible example. Include the full command you used and any relevant configuration.
34+
Issues without clear reproduction steps may be closed.
35+
placeholder: |
36+
1. Run the following command: `...`
37+
2. With the following config: `...`
38+
3. Observe the error...
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: expected
44+
attributes:
45+
label: Expected Behavior
46+
description: What did you expect to happen?
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
id: actual
52+
attributes:
53+
label: Actual Behavior
54+
description: What actually happened? Please include the **full error message and traceback** if applicable.
55+
validations:
56+
required: true
57+
58+
- type: textarea
59+
id: environment
60+
attributes:
61+
label: Environment
62+
description: |
63+
Please provide your environment details. You can run `pip show slime` and `python -c "import torch; print(torch.__version__)"` to get some of this info.
64+
value: |
65+
- slime version:
66+
- Python version:
67+
- PyTorch version:
68+
- CUDA/ROCm version:
69+
- GPU type and count:
70+
- OS:
71+
- SGLang version (if relevant):
72+
- Megatron-LM version (if relevant):
73+
validations:
74+
required: true
75+
76+
- type: textarea
77+
id: logs
78+
attributes:
79+
label: Logs
80+
description: |
81+
Please paste any relevant log output here. This will be automatically formatted into code, so no need for backticks.
82+
render: shell
83+
84+
- type: textarea
85+
id: additional
86+
attributes:
87+
label: Additional Context
88+
description: Add any other context, screenshots, or config files that might help us understand the issue.
89+
90+
- type: checkboxes
91+
id: checklist
92+
attributes:
93+
label: Pre-submission Checklist
94+
options:
95+
- label: I have read the [CONTRIBUTING.md](https://github.com/THUDM/slime/blob/main/CONTRIBUTING.md) and understand the collaboration scope.
96+
required: true
97+
- label: I have read the [documentation](https://thudm.github.io/slime/) and my issue is not addressed there.
98+
required: true
99+
- label: I have searched for [existing issues](https://github.com/THUDM/slime/issues) and this is not a duplicate.
100+
required: true
101+
- label: I have provided a minimal, reproducible example.
102+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Collaboration Scope / 协作范围
4+
url: https://github.com/THUDM/slime/blob/main/CONTRIBUTING.md
5+
about: |
6+
Please read before submitting. We welcome bug reports and general RL optimizations; feature requests are currently outside our scope.
7+
提交前请阅读。我们欢迎 bug 报告和通用 RL 优化,feature request 暂时不在协作范围内。
8+
- name: Documentation
9+
url: https://thudm.github.io/slime/
10+
about: Please check the documentation before opening an issue. Many common questions are already answered there.
11+
- name: Q&A / FAQ
12+
url: https://thudm.github.io/slime/en/get_started/qa.html
13+
about: Check the FAQ — your question might already have an answer.
14+
- name: Discussions
15+
url: https://github.com/THUDM/slime/discussions
16+
about: For general questions and open-ended conversations, please use GitHub Discussions instead.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: Question / Help
2+
description: Ask a question about using slime. Please check the docs and FAQ first.
3+
title: "[Question] "
4+
labels: ["question"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for reaching out!
10+
11+
> **Note:** slime's open-source collaboration is currently focused on **bug fixes** and **general-purpose RL optimizations**.
12+
> Feature requests are outside our current scope — please see [CONTRIBUTING.md](https://github.com/THUDM/slime/blob/main/CONTRIBUTING.md) for details.
13+
14+
Before asking, please make sure you have checked:
15+
- [Quick Start Guide](https://thudm.github.io/slime/en/get_started/quick_start.html)
16+
- [Usage Guide](https://thudm.github.io/slime/en/get_started/usage.html)
17+
- [FAQ](https://thudm.github.io/slime/en/get_started/qa.html)
18+
- [Examples](https://github.com/THUDM/slime/tree/main/examples)
19+
20+
Many common questions are already covered in the documentation above. If your question is about general usage or open-ended discussion, consider using [GitHub Discussions](https://github.com/THUDM/slime/discussions) instead.
21+
22+
- type: textarea
23+
id: question
24+
attributes:
25+
label: Your Question
26+
description: Describe your question clearly. Include enough context so we can understand what you're trying to achieve.
27+
placeholder: I'm trying to ... and I'm confused about ...
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: what-tried
33+
attributes:
34+
label: What I've Tried
35+
description: |
36+
Please describe what you have already tried. This helps us avoid suggesting things you've already done, and shows us that you've done your homework.
37+
placeholder: |
38+
- I read the Quick Start Guide and followed the steps, but ...
39+
- I tried modifying the config to ..., but got ...
40+
validations:
41+
required: true
42+
43+
- type: textarea
44+
id: environment
45+
attributes:
46+
label: Environment (if relevant)
47+
description: If your question is related to setup or runtime behavior, please provide your environment details.
48+
value: |
49+
- slime version:
50+
- Python version:
51+
- PyTorch version:
52+
- CUDA/ROCm version:
53+
- GPU type and count:
54+
- OS:
55+
56+
- type: textarea
57+
id: additional
58+
attributes:
59+
label: Additional Context
60+
description: Add any other context, logs, config files, or screenshots that might help us answer your question.
61+
62+
- type: checkboxes
63+
id: checklist
64+
attributes:
65+
label: Pre-submission Checklist
66+
options:
67+
- label: I have read the [CONTRIBUTING.md](https://github.com/THUDM/slime/blob/main/CONTRIBUTING.md) and understand the collaboration scope.
68+
required: true
69+
- label: I have read the [documentation](https://thudm.github.io/slime/) and [FAQ](https://thudm.github.io/slime/en/get_started/qa.html) and my question is not answered there.
70+
required: true
71+
- label: I have searched for [existing issues](https://github.com/THUDM/slime/issues) and my question has not been asked before.
72+
required: true

.github/workflows/bot-slash-lint.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- name: React to command comment (ack)
2525
if: always()
26-
uses: actions/github-script@v7
26+
uses: actions/github-script@v8
2727
with:
2828
script: |
2929
const commentId = context.payload.comment.id;
@@ -36,14 +36,14 @@ jobs:
3636
});
3737
3838
- name: Check out Git repository
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040
with:
4141
repository: ${{ github.repository }}
4242
ref: refs/pull/${{ github.event.issue.number }}/head
4343
token: ${{ secrets.GITHUB_TOKEN }}
4444

4545
- name: Set up Python
46-
uses: actions/setup-python@v5
46+
uses: actions/setup-python@v6
4747
with:
4848
python-version: '3.10'
4949

@@ -80,7 +80,7 @@ jobs:
8080
runs-on: ubuntu-latest
8181
steps:
8282
- name: Remove initial ack reaction
83-
uses: actions/github-script@v7
83+
uses: actions/github-script@v8
8484
with:
8585
script: |
8686
const commentId = context.payload.comment.id;

.github/workflows/conda-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626

2727
- name: Construct Conda
2828
run: |

0 commit comments

Comments
 (0)