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
4b15fa00
"server/text_generation_server/models/custom_modeling/clip.py" did not exist on "106d8ee81899e6461648e1efd56f5a873ce7294d"
Unverified
Commit
4b15fa00
authored
Oct 12, 2025
by
Yi Zhang
Committed by
GitHub
Oct 12, 2025
Browse files
move fla env check position (#11500)
parent
f4941906
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
python/sglang/srt/layers/attention/attention_registry.py
python/sglang/srt/layers/attention/attention_registry.py
+2
-0
python/sglang/srt/layers/attention/fla/utils.py
python/sglang/srt/layers/attention/fla/utils.py
+0
-3
No files found.
python/sglang/srt/layers/attention/attention_registry.py
View file @
4b15fa00
...
...
@@ -183,6 +183,7 @@ def attn_backend_wrapper(runner: "ModelRunner", full_attn_backend: "AttentionBac
),
"hybrid_gdn can only be used with non-MLA models."
if
cfg
:
=
runner
.
mambaish_config
:
from
sglang.srt.layers.attention.fla.utils
import
check_environments
from
sglang.srt.layers.attention.hybrid_linear_attn_backend
import
(
GDNAttnBackend
,
HybridLinearAttnBackend
,
...
...
@@ -190,6 +191,7 @@ def attn_backend_wrapper(runner: "ModelRunner", full_attn_backend: "AttentionBac
)
from
sglang.srt.utils
import
is_blackwell
,
is_npu
check_environments
()
if
runner
.
hybrid_gdn_config
is
not
None
:
if
is_blackwell
():
assert
(
...
...
python/sglang/srt/layers/attention/fla/utils.py
View file @
4b15fa00
...
...
@@ -58,9 +58,6 @@ def check_environments():
return
None
check_environments
()
def
get_abs_err
(
x
,
y
):
return
(
x
.
detach
()
-
y
.
detach
()).
flatten
().
abs
().
max
().
item
()
...
...
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