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
df08f346
Unverified
Commit
df08f346
authored
Oct 29, 2025
by
Stefan He
Committed by
GitHub
Oct 29, 2025
Browse files
Fix Duplicate Classmethod in spec_info.py (#12354)
parent
db15148c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
python/sglang/srt/speculative/spec_info.py
python/sglang/srt/speculative/spec_info.py
+0
-1
No files found.
python/sglang/srt/speculative/spec_info.py
View file @
df08f346
...
...
@@ -139,7 +139,6 @@ class SpeculativeAlgorithm(metaclass=_SpeculativeAlgorithmMeta):
for
flag_name
in
flag_iter
:
cls
.
_flags
[
flag_name
.
upper
()].
add
(
algo
.
value
)
@
classmethod
@
classmethod
def
from_string
(
cls
,
name
:
Optional
[
str
])
->
SpeculativeAlgorithm
:
if
name
is
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