Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
f4a9f60c
Unverified
Commit
f4a9f60c
authored
Apr 29, 2025
by
XTY
Committed by
GitHub
Apr 28, 2025
Browse files
[Fix] Missing bootstrap_port field (#5823)
parent
ee71ed8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
python/sglang/srt/openai_api/adapter.py
python/sglang/srt/openai_api/adapter.py
+1
-0
python/sglang/srt/openai_api/protocol.py
python/sglang/srt/openai_api/protocol.py
+1
-0
No files found.
python/sglang/srt/openai_api/adapter.py
View file @
f4a9f60c
...
...
@@ -1191,6 +1191,7 @@ def v1_chat_generate_request(
modalities
=
modalities_list
,
lora_path
=
lora_paths
,
bootstrap_host
=
all_requests
[
0
].
bootstrap_host
,
bootstrap_port
=
all_requests
[
0
].
bootstrap_port
,
bootstrap_room
=
all_requests
[
0
].
bootstrap_room
,
)
...
...
python/sglang/srt/openai_api/protocol.py
View file @
f4a9f60c
...
...
@@ -365,6 +365,7 @@ class ChatCompletionRequest(BaseModel):
# For PD disaggregation
bootstrap_host
:
Optional
[
str
]
=
None
bootstrap_port
:
Optional
[
int
]
=
None
bootstrap_room
:
Optional
[
int
]
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment