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
29195aaa
"vscode:/vscode.git/clone" did not exist on "dea2b84bc302ec757958d615ba5489ad5a1fe652"
Unverified
Commit
29195aaa
authored
Oct 29, 2025
by
fzyzcjy
Committed by
GitHub
Oct 28, 2025
Browse files
Super tiny fix expert distribution dump error (#12271)
parent
0ee831de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python/sglang/srt/eplb/expert_distribution.py
python/sglang/srt/eplb/expert_distribution.py
+2
-1
No files found.
python/sglang/srt/eplb/expert_distribution.py
View file @
29195aaa
...
...
@@ -20,6 +20,7 @@ import time
from
abc
import
ABC
from
collections
import
deque
from
contextlib
import
contextmanager
from
pathlib
import
Path
from
typing
import
TYPE_CHECKING
,
Any
,
Dict
,
List
,
Literal
,
Optional
,
Tuple
,
Type
import
einops
...
...
@@ -868,7 +869,7 @@ class _StatAccumulator(_UtilizationRateAccumulatorMixin):
def
_dump_to_file
(
name
,
data
):
save_dir
=
envs
.
SGLANG_EXPERT_DISTRIBUTION_RECORDER_DIR
.
get
()
save_dir
=
Path
(
envs
.
SGLANG_EXPERT_DISTRIBUTION_RECORDER_DIR
.
get
()
)
path_output
=
save_dir
/
name
logger
.
info
(
f
"Write expert distribution to
{
path_output
}
"
)
if
not
save_dir
.
exists
():
...
...
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