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
8441baad
"cacheflow/vscode:/vscode.git/clone" did not exist on "27f1410d065ceca53a07abd2518082eb25228e4f"
Unverified
Commit
8441baad
authored
Apr 30, 2025
by
Yineng Zhang
Committed by
GitHub
Apr 30, 2025
Browse files
fix: update model runner (#5934)
parent
256c4c25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
python/sglang/srt/model_executor/model_runner.py
python/sglang/srt/model_executor/model_runner.py
+1
-2
No files found.
python/sglang/srt/model_executor/model_runner.py
View file @
8441baad
...
...
@@ -81,7 +81,6 @@ from sglang.srt.utils import (
get_available_gpu_memory
,
get_bool_env_var
,
init_custom_process_group
,
is_ampere_with_cuda_12_3
,
is_cuda
,
is_fa3_default_architecture
,
is_flashinfer_available
,
...
...
@@ -264,7 +263,7 @@ class ModelRunner:
if
not
self
.
use_mla_backend
:
# MHA architecture
if
(
(
is_ampere_with_cuda_12_3
()
or
is_hopper_with_cuda_12_3
()
)
is_hopper_with_cuda_12_3
()
and
is_no_spec_infer_or_topk_one
(
server_args
)
and
is_fa3_default_architecture
(
self
.
model_config
.
hf_config
)
):
...
...
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