Repository navigation
[docker] Distributed Serving with k8s Statefulset ( good example for DeepSeek-R1) - #3631
Merged
Merged
Conversation
whybeyoung
reviewed
Feb 17, 2025
DeepSeek-R1 is good candidate Co-authored-by: Peter Pan <Peter.Pan@daocloud.io> Co-authored-by: Kebe <kebe.liu@daocloud.io> Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
Contributor
Author
|
@whybeyoung since your PR has been merged, can we continue with this PR ? |
merrymercy
requested review from
HaiShaw,
Ying1123,
merrymercy,
zhaochenyang20 and
zhyncs
as code owners
March 8, 2025 06:12
Collaborator
|
Thanks! We will merge this |
whybeyoung
approved these changes
Mar 9, 2025
whybeyoung
left a comment
Collaborator
There was a problem hiding this comment.
Good for for k8s< 1.26
0826joyce
pushed a commit
to 0826joyce/sglang-perf-opt
that referenced
this pull request
May 19, 2026
…DeepSeek-R1) (sgl-project#3631) Signed-off-by: Peter Pan <Peter.Pan@daocloud.io> Co-authored-by: Kebe <kebe.liu@daocloud.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DeepSeek-R1 is good candidate
Motivation
There're already a single node k8s serving(
docker/k8s-sglang-service.yaml).But for deepseek-r1, distributed serving is required.
So here we provide an vanilla k8s deployment, without dependency (most suitable for small scale and easy for users who are not experts of k8s),
although there was a PR for LWS solution #3540, but it requires
LWSinstalled as prerequisites.Modifications
statefulsetapps.kubernetes.io/pod-indexto automatically fill the--node-rankfor each nodeexpert-parallelarguments example for those who will try DeepSeek-R1--enable-ep-moeis still not working for DeepSeek till 0.4.3-post2 , due to [Bug] DeepSeek-V3 load weights failed with --enable-ep-moe #3075Checklist