Skip to content

[train] Remove deprecated SGLang backend from skyrl/#1220

Merged
SumanthRH merged 6 commits intomainfrom
cleanup-sglang
Feb 26, 2026
Merged

[train] Remove deprecated SGLang backend from skyrl/#1220
SumanthRH merged 6 commits intomainfrom
cleanup-sglang

Conversation

@SumanthRH
Copy link
Member

@SumanthRH SumanthRH commented Feb 26, 2026

What does this PR do?

Removes the deprecated SGLang backend in the new skyrl/ package.

Summary

  • Removes the SGLang backend in inference_engines/ and all references
  • SkyRL still retains the generator.inference_engine.backend parameter so that we can revisit this in the future and allow users forking SkyRL to easily experiment with other backends.
  • Removes pytest.mark.vllm used in tests to demarcate vllm specific tests. SkyRL now runs only one inference engine so this is not needed.

Open with Devin

SumanthRH and others added 6 commits February 26, 2026 05:57
Hard deprecation of the SGLang backend. Removes all SGLang-specific code paths,
configurations, tests, CI references, docs, and example scripts from the skyrl/
package. The backend dispatching infrastructure remains so future backends can
be added by forking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
x
Signed-off-by: SumanthRH <sumanthrh99@gmail.com>
@SumanthRH SumanthRH marked this pull request as ready for review February 26, 2026 18:37
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the SGLang backend from SkyRL, as it is no longer supported. The code changes include removing SGLang-related code and documentation, updating configurations to use vLLM, and modifying tests to reflect the removal of SGLang. Specifically, the changes involve removing SGLang as an option for the inference engine backend, updating documentation to reflect the change, and removing SGLang-related tests and code from the codebase.

Copy link
Collaborator

@CharlieFRuan CharlieFRuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! Only 1 nit

@SumanthRH SumanthRH merged commit ac8cbfb into main Feb 26, 2026
5 checks passed
@SumanthRH SumanthRH deleted the cleanup-sglang branch February 26, 2026 23:12
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