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
9069884b
Unverified
Commit
9069884b
authored
Jul 16, 2025
by
Cheng Wan
Committed by
GitHub
Jul 16, 2025
Browse files
[ci] disable memory imbalance check for draft worker (#8108)
parent
8a7a7770
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/model_executor/model_runner.py
python/sglang/srt/model_executor/model_runner.py
+1
-1
No files found.
python/sglang/srt/model_executor/model_runner.py
View file @
9069884b
...
...
@@ -561,7 +561,7 @@ class ModelRunner:
# Check memory for tensor parallelism
local_gpu_memory
=
get_available_gpu_memory
(
self
.
device
,
self
.
gpu_id
)
if
self
.
tp_size
>
1
:
if
self
.
tp_size
>
1
and
not
self
.
is_draft_worker
:
if
min_per_gpu_memory
<
local_gpu_memory
*
0.9
:
if
get_bool_env_var
(
"SGL_DISABLE_TP_MEMORY_INBALANCE_CHECK"
):
logger
.
warning
(
...
...
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