Skip to content

Refactor/merge sgl rollouts and bump to 0.4.6.post4 #1558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

ocss884
Copy link
Collaborator

@ocss884 ocss884 commented May 17, 2025

Checklist Before Starting

  • Search for similar PR(s).

What does this PR do?

Per the title, refactor current sglang rollout and async sglang rollout to make it more unified. Meanwhile, upgrade to latest sglang==0.4.6.post4

High-Level Design

Demonstrate the high-level design if this PR is complex.

Specific Changes

List the specific changes.

API

Demonstrate how the API changes if any.

Usage Example

Provide usage example(s) for easier usage.

# Add code snippet or script demonstrating how to use this 

Test

For changes that can not be tested by CI (e.g., algorithm implementation, new model support), validate by experiment(s) and show results like training curve plots, evaluatuion results, etc.

Additional Info.

  • Issue Number: Fixes issue # or discussion # if any.
  • Training: [Note which backend this PR will affect: FSDP, Megatron, both, or none]
  • Inference: [Note which backend this PR will affect: vLLM, SGLang, both, or none]

Checklist Before Submitting

  • Read the Contribute Guide.
  • Apply pre-commit checks.
  • Add [BREAKING] to the PR title if it breaks any API.
  • Update the documentation about your changes in the docs.
  • Add CI test(s) if neccessary.

@SwordFaith SwordFaith force-pushed the refactor/merge_sgl_rollouts_and_bump_to_0.4.6.post4 branch from 69203c2 to e0e74bd Compare May 18, 2025 14:55
@SwordFaith SwordFaith force-pushed the refactor/merge_sgl_rollouts_and_bump_to_0.4.6.post4 branch from e0e74bd to 29aff43 Compare May 19, 2025 06:40
@SwordFaith
Copy link
Collaborator

Close this due to mix:

  • bump to 0.4.6.post4
  • fix megatron sglang
  • merge sgl and sgl async

@SwordFaith SwordFaith closed this May 19, 2025
vermouth1992 pushed a commit that referenced this pull request May 20, 2025
…en sgl and sgl async (#1577)

### Checklist Before Starting

- [x] Search for similar PR(s).
- Thanks to:
  - close #1558 due to mix of prs
  - close #1449 due to partial fix sgl new version issue
  - close #1300 which is part of current pr
- This pr is co-authored with @ocss884 

### What does this PR do?

> Add one-line overview of what this PR aims to achieve or accomplish. 

- bump sglang to 0.4.6.post4
- unified sglang and sglang_async `generate_sequences` api behavior,
e.g. image support
- fix warning for cuda barrier at start of fsdp_workers

### Checklist Before Submitting

- [x] Read the [Contribute
Guide](https://github.com/volcengine/verl?tab=readme-ov-file#contribution-guide).
- [x] Apply [pre-commit
checks](https://github.com/volcengine/verl?tab=readme-ov-file#code-linting-and-formatting).
- [x] Add `[BREAKING]` to the PR title if it breaks any API.
- [x] Update the documentation about your changes in the
[docs](https://github.com/volcengine/verl/tree/main/docs).
- [x] Add CI test(s) if necessary.

---------

Co-authored-by: ocss884 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants