Skip to content

feat(slime): add sglang patch for v0.5.12.post1.#72

Open
Linbo-Liu wants to merge 1 commit into
awslabs:mainfrom
Linbo-Liu:sglang-patch
Open

feat(slime): add sglang patch for v0.5.12.post1.#72
Linbo-Liu wants to merge 1 commit into
awslabs:mainfrom
Linbo-Liu:sglang-patch

Conversation

@Linbo-Liu

Copy link
Copy Markdown
Contributor

Issue #, if available:
The latest slimerl/slime:latest image uses sglang v0.5.12.post1. The sglang patch for v0.5.9 sglang_token_ids.py can't be successfully applied due to changes to sglang.

Description of changes:
Add a patch compatible with sglang v0.5.12.post1 in sglang_token_ids_v_0_5_12.py.

Tested via verify_sglang_token_ids.py with sglang v0.5.12.post1 in slimerl/slime:latest docker container. Test output:

[1/4] non_streaming_basic            PASS
[2/4] streaming_basic                PASS
[3/4] cross_mode_consistency         PASS
[4/4] tool_call_consistency          PASS

OK: 4/4 checks passed

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@luyuzhe111

Copy link
Copy Markdown
Contributor

@Linbo-Liu thanks for the PR! I looked into slime's mechanism to preserve prompt & response IDs. https://github.com/THUDM/slime/blob/main/slime/agent/adapters/openai.py. Since we will install slime anyway, could you investigate if there's something we can reuse, potentially in place of rllm-model-gateway?

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