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
8c7279c2
Unverified
Commit
8c7279c2
authored
May 26, 2025
by
fzyzcjy
Committed by
GitHub
May 25, 2025
Browse files
Fix profiling will crash the server when using num_steps (#6586)
parent
0ca18117
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
python/sglang/srt/managers/scheduler.py
python/sglang/srt/managers/scheduler.py
+1
-0
No files found.
python/sglang/srt/managers/scheduler.py
View file @
8c7279c2
...
@@ -2203,6 +2203,7 @@ class Scheduler(
...
@@ -2203,6 +2203,7 @@ class Scheduler(
self
.
torch_profiler
=
None
self
.
torch_profiler
=
None
self
.
torch_profiler_output_dir
=
None
self
.
torch_profiler_output_dir
=
None
self
.
profiler_activities
=
None
self
.
profiler_activities
=
None
self
.
profiler_target_forward_ct
=
None
return
ProfileReqOutput
(
success
=
True
,
message
=
"Succeeded"
)
return
ProfileReqOutput
(
success
=
True
,
message
=
"Succeeded"
)
...
...
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