Skip to content

Commit 5fbbe47

Browse files
committed
Initial SearchAgent-Zero import
0 parents  commit 5fbbe47

1,193 files changed

Lines changed: 217769 additions & 0 deletions

File tree

Some content is hidden

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

.agent/skills/issue.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
name: issue
3+
description: Create or update a GitHub issue following verl project conventions.
4+
user_invocable: true
5+
---
6+
7+
When the user asks to create or update an issue, follow these steps:
8+
9+
### 1. Gather Context
10+
11+
Read the following to understand available issue types and their required fields:
12+
13+
- [`bug-report.yml`](.github/ISSUE_TEMPLATE/bug-report.yml)
14+
- [`feature-request.yml`](.github/ISSUE_TEMPLATE/feature-request.yml)
15+
16+
If updating an existing issue, read its current title, body, labels, and comments first.
17+
18+
### 2. Determine Issue Type
19+
20+
Based on the user's description, select the appropriate template:
21+
22+
- **Bug report** ([`bug-report.yml`](.github/ISSUE_TEMPLATE/bug-report.yml)) — something is broken or behaves unexpectedly
23+
- **Feature request** ([`feature-request.yml`](.github/ISSUE_TEMPLATE/feature-request.yml)) — a new capability or enhancement
24+
- **Blank issue** — if neither template fits
25+
26+
### 3. Compose the Issue
27+
28+
Fill in the template fields based on information from the user and the codebase. For bug reports, run `python scripts/diagnose.py` to gather system info if possible.
29+
30+
When updating, ensure the title and body still accurately reflect the current state of the issue.
31+
32+
### 4. Check for Duplicates
33+
34+
Search for existing issues before creating:
35+
36+
```
37+
gh issue list --repo verl-project/verl --state open --search "<keywords>"
38+
```
39+
40+
If a duplicate exists, inform the user instead of creating a new one.
41+
42+
### 5. Create or Update the Issue
43+
44+
- **Create**: add `good first issue` and/or `call for contribution` labels if the issue is straightforward and suitable for new contributors.
45+
- **Update**: update title, body, and labels as needed.
46+
47+
Return the issue URL when done.

.agent/skills/pr.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: pr
3+
description: Create or update a pull request following verl project conventions.
4+
user_invocable: true
5+
---
6+
7+
When the user asks to create or update a PR, follow these steps:
8+
9+
### 1. Gather Context
10+
11+
Read the following and understand the current branch's changes compared to main:
12+
13+
- [`CONTRIBUTING.md`](CONTRIBUTING.md)
14+
- [`PULL_REQUEST_TEMPLATE.md`](.github/PULL_REQUEST_TEMPLATE.md)
15+
16+
If a PR already exists for this branch, also read its current title, body, and review comments.
17+
18+
### 2. Compose PR Title and Body
19+
20+
Follow the PR template strictly for both title format and body sections. Only check checklist boxes for steps that have actually been completed.
21+
22+
When updating, ensure the title and body still accurately reflect **all** changes on the branch, not just the latest commit.
23+
24+
### 3. Pre-submit Checks
25+
26+
Run pre-commit and fix any issues before creating or pushing.
27+
28+
### 4. Create or Update the PR
29+
30+
- **Create**: target `main` by default unless the user specifies otherwise.
31+
- **Update**: push new commits and update the title and body if the scope has changed. **Read the current PR title and body first** and incorporate any edits the user may have made directly on GitHub — never overwrite with a version generated from scratch.
32+
33+
Return the PR URL when done.

.claude/skills/issue.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../.agent/skills/issue.md

.claude/skills/pr.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../.agent/skills/pr.md

.codex/skills/issue.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../.agent/skills/issue.md

.codex/skills/pr.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../.agent/skills/pr.md

.gemini/config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
have_fun: false
2+
code_review:
3+
disable: false
4+
comment_severity_threshold: HIGH
5+
max_review_comments: -1
6+
pull_request_opened:
7+
help: false
8+
summary: false
9+
code_review: true
10+
ignore_patterns: []

.git-blame-ignore-revs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Local uasge: git config blame.ignoreRevsFile .git-blame-ignore-revs
2+
3+
# [dev] feat: immigrate from yapf & pylint to ruff based on pre-commit
4+
# Changed 268 files, +10k/-9k lines. This is the biggest formatter change.
5+
b00f77d8559b48d57a33c0132a5ba1c81891a536
6+
7+
# [ci] refactor: reduce ruff line-length from 300 to 120
8+
# Changed 238 files, +6k/-1k lines. Global formatting change.
9+
00a10a8ef389556f957a2f36132b2358fd6a109f
10+
11+
# [Lint] fix: linting errors in all files
12+
# Changed 179 files, +1k/-3k lines. Global lint fix.
13+
8e5ad4688a13de81727c014a3c2e2fb26324bc20

.github/CODEOWNERS

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/docs @eric-haibin-lin @zhaochenyang20 @hongpeng-guo
2+
/docs/amd_tutorial @yushengsu-thu
3+
/docs/slang_multiturn @zhaochenyang20 @SwordFaith
4+
/docs/ascend_tutorial @wucong25
5+
6+
/third_party/sglang @zhaochenyang20 @SwordFaith
7+
/third_party/vllm @PeterSH6 @wuxibin89
8+
9+
/examples/grpo_trainer @vermouth1992 @PeterSH6 @tardis-key @wucong25 @ji-huazhong
10+
11+
/verl/single_controller @zw0610 @wuxibin89 @hongpeng-guo
12+
/verl/trainer @eric-haibin-lin @vermouth1992 @tongyx361 @PeterSH6
13+
/verl/models/mcore @ISEEKYAN @vermouth1992
14+
/verl/models/transformers @vermouth1992 @PeterSH6 @tardis-key @wucong25 @ji-huazhong
15+
/verl/workers/engine @eric-haibin-lin @vermouth1992 @ZihengJiang
16+
/verl/workers/roles @eric-haibin-lin @vermouth1992 @ZihengJiang
17+
/verl/workers/engine/fsdp @eric-haibin-lin @vermouth1992 @ZihengJiang
18+
/verl/workers/rollout/vllm_rollout @wuxibin89 @PeterSH6 @chenhaiq
19+
/verl/workers/rollout/sglang_rollout @zhaochenyang20 @SwordFaith @chenhaiq
20+
/verl/workers/engine/megatron @ISEEKYAN @vermouth1992
21+
/verl/experimental @wuxibin89 @ArronHZG
22+
23+
/tests/single_controller @zw0610 @wuxibin89
24+
/tests/trainer @eric-haibin-lin @vermouth1992 @tongyx361 @PeterSH6
25+
/tests/workers/rollout/vllm_rollout @wuxibin89 @PeterSH6 @chenhaiq
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# modified from https://github.com/huggingface/transformers/blob/main/.github/ISSUE_TEMPLATE/bug-report.yml?plain=1
2+
name: "\U0001F41B Bug Report"
3+
description: Submit a bug report to help us improve verl
4+
labels: [ "bug" ]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report! 🤗
10+
11+
- type: textarea
12+
id: system-info
13+
attributes:
14+
label: System Info
15+
description: Please share your system info with us. You can run the command `python scripts/diagnose.py` and copy-paste its output below.
16+
placeholder: verl version, platform, python version, ...
17+
validations:
18+
required: true
19+
20+
- type: checkboxes
21+
id: information-scripts-examples
22+
attributes:
23+
label: Information
24+
description: 'The problem arises when using:'
25+
options:
26+
- label: "The official example scripts"
27+
- label: "My own modified scripts"
28+
29+
- type: checkboxes
30+
id: information-tasks
31+
attributes:
32+
label: Tasks
33+
description: "The tasks I am working on are:"
34+
options:
35+
- label: "An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)"
36+
- label: "My own task or dataset (give details below)"
37+
38+
- type: textarea
39+
id: reproduction
40+
validations:
41+
required: true
42+
attributes:
43+
label: Reproduction
44+
description: |
45+
Please provide a code sample that reproduces the problem you ran into. It can be a Colab link or just a code snippet.
46+
Please include relevant config information with your code.
47+
If you have code snippets, error messages, stack traces please provide them here as well.
48+
Important! Use code tags to correctly format your code. See https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting
49+
Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
50+
51+
placeholder: |
52+
Steps to reproduce the behavior:
53+
54+
1.
55+
2.
56+
3.
57+
58+
59+
- type: textarea
60+
id: expected-behavior
61+
validations:
62+
required: true
63+
attributes:
64+
label: Expected behavior
65+
description: "A clear and concise description of what you would expect to happen."

0 commit comments

Comments
 (0)