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
3169e66c
Unverified
Commit
3169e66c
authored
Dec 26, 2024
by
fzyzcjy
Committed by
GitHub
Dec 26, 2024
Browse files
Fix duplicated handling of GetWeightsByNameReqInput (#2565)
parent
77395154
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
python/sglang/srt/managers/scheduler.py
python/sglang/srt/managers/scheduler.py
+0
-3
No files found.
python/sglang/srt/managers/scheduler.py
View file @
3169e66c
...
@@ -468,9 +468,6 @@ class Scheduler:
...
@@ -468,9 +468,6 @@ class Scheduler:
self
.
send_to_tokenizer
.
send_pyobj
(
self
.
send_to_tokenizer
.
send_pyobj
(
UpdateWeightFromDiskReqOutput
(
success
,
message
)
UpdateWeightFromDiskReqOutput
(
success
,
message
)
)
)
elif
isinstance
(
recv_req
,
GetWeightsByNameReqInput
):
parameter
=
self
.
get_weights_by_name
(
recv_req
)
self
.
send_to_tokenizer
.
send_pyobj
(
GetWeightsByNameReqOutput
(
parameter
))
elif
isinstance
(
recv_req
,
InitWeightsUpdateGroupReqInput
):
elif
isinstance
(
recv_req
,
InitWeightsUpdateGroupReqInput
):
success
,
message
=
self
.
init_weights_update_group
(
recv_req
)
success
,
message
=
self
.
init_weights_update_group
(
recv_req
)
self
.
send_to_tokenizer
.
send_pyobj
(
self
.
send_to_tokenizer
.
send_pyobj
(
...
...
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