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
ab07cd3e
Unverified
Commit
ab07cd3e
authored
Oct 23, 2025
by
Lianmin Zheng
Committed by
GitHub
Oct 23, 2025
Browse files
[Auto Sync] Update test_deterministic_utils.py (20251023) (#12022)
Co-authored-by:
Stefan He
<
hebiaobuaa@gmail.com
>
parent
a9849683
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
python/sglang/test/test_deterministic_utils.py
python/sglang/test/test_deterministic_utils.py
+5
-1
No files found.
python/sglang/test/test_deterministic_utils.py
View file @
ab07cd3e
...
@@ -23,9 +23,13 @@ class TestDeterministicBase(CustomTestCase):
...
@@ -23,9 +23,13 @@ class TestDeterministicBase(CustomTestCase):
def
get_server_args
(
cls
):
def
get_server_args
(
cls
):
return
COMMON_SERVER_ARGS
return
COMMON_SERVER_ARGS
@
classmethod
def
get_model
(
cls
):
return
DEFAULT_MODEL
@
classmethod
@
classmethod
def
setUpClass
(
cls
):
def
setUpClass
(
cls
):
cls
.
model
=
DEFAULT_MODEL
cls
.
model
=
cls
.
get_model
()
cls
.
base_url
=
DEFAULT_URL_FOR_TEST
cls
.
base_url
=
DEFAULT_URL_FOR_TEST
if
"--attention-backend"
not
in
cls
.
get_server_args
():
if
"--attention-backend"
not
in
cls
.
get_server_args
():
raise
unittest
.
SkipTest
(
"Skip the base test class"
)
raise
unittest
.
SkipTest
(
"Skip the base test class"
)
...
...
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