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
76c48a09
"vscode:/vscode.git/clone" did not exist on "674e31ee8d12d188b07b3312028f077a9d9f99c5"
Unverified
Commit
76c48a09
authored
Apr 09, 2025
by
Cheng Wan
Committed by
GitHub
Apr 08, 2025
Browse files
[DeepEP] fix: import buffer error (#5179)
parent
90caf06c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/sglang/srt/layers/moe/ep_moe/token_dispatcher.py
python/sglang/srt/layers/moe/ep_moe/token_dispatcher.py
+2
-2
No files found.
python/sglang/srt/layers/moe/ep_moe/token_dispatcher.py
View file @
76c48a09
...
@@ -28,7 +28,7 @@ class DeepEPDispatchMode(IntEnum):
...
@@ -28,7 +28,7 @@ class DeepEPDispatchMode(IntEnum):
class
DeepEPBuffer
:
class
DeepEPBuffer
:
_buffer
:
Optional
[
Buffer
]
=
None
_buffer
=
None
_dispatch_mode
:
Optional
[
DeepEPDispatchMode
]
=
None
_dispatch_mode
:
Optional
[
DeepEPDispatchMode
]
=
None
_hidden_size
:
Optional
[
int
]
=
None
_hidden_size
:
Optional
[
int
]
=
None
_num_max_dispatch_tokens_per_rank
:
Optional
[
int
]
=
None
_num_max_dispatch_tokens_per_rank
:
Optional
[
int
]
=
None
...
@@ -165,7 +165,7 @@ class _DeepEPDispatcherImplBase:
...
@@ -165,7 +165,7 @@ class _DeepEPDispatcherImplBase:
def
combine_b
(
self
,
*
args
,
**
kwargs
):
def
combine_b
(
self
,
*
args
,
**
kwargs
):
raise
NotImplementedError
raise
NotImplementedError
def
_get_buffer
(
self
)
->
Buffer
:
def
_get_buffer
(
self
):
raise
NotImplementedError
raise
NotImplementedError
...
...
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