Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
b90b0852
Unverified
Commit
b90b0852
authored
May 02, 2025
by
Richard Zou
Committed by
GitHub
May 02, 2025
Browse files
[easy] Print number of needed GPUs in skip message (#17594)
Signed-off-by:
rzou
<
zou3519@gmail.com
>
parent
9352cdb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/compile/test_basic_correctness.py
tests/compile/test_basic_correctness.py
+2
-1
No files found.
tests/compile/test_basic_correctness.py
View file @
b90b0852
...
...
@@ -103,7 +103,8 @@ def test_compile_correctness(
method
=
test_setting
.
method
fullgraph
=
test_setting
.
fullgraph
if
cuda_device_count_stateless
()
!=
pp_size
*
tp_size
:
pytest
.
skip
(
"Not correct CUDA devices for the test."
)
pytest
.
skip
(
f
"Need exactly
{
pp_size
}
*
{
tp_size
}
CUDA gpus but got "
f
"
{
cuda_device_count_stateless
()
}
"
)
with
monkeypatch
.
context
()
as
m
:
m
.
setenv
(
"VLLM_ATTENTION_BACKEND"
,
attn_backend
)
...
...
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