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
9a0d2f0d
Unverified
Commit
9a0d2f0d
authored
Oct 29, 2025
by
Zhewen Li
Committed by
GitHub
Oct 29, 2025
Browse files
[CI/Build] Skip cpu offloading test on AMD (#27690)
Signed-off-by:
zhewenli
<
zhewenli@meta.com
>
parent
ad3ec895
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tests/v1/kv_offload/test_cpu_offloading.py
tests/v1/kv_offload/test_cpu_offloading.py
+4
-0
No files found.
tests/v1/kv_offload/test_cpu_offloading.py
View file @
9a0d2f0d
...
@@ -12,6 +12,7 @@ from tqdm import tqdm
...
@@ -12,6 +12,7 @@ from tqdm import tqdm
from
vllm
import
LLM
,
SamplingParams
,
TokensPrompt
from
vllm
import
LLM
,
SamplingParams
,
TokensPrompt
from
vllm.config
import
KVEventsConfig
,
KVTransferConfig
from
vllm.config
import
KVEventsConfig
,
KVTransferConfig
from
vllm.distributed.kv_events
import
BlockStored
,
KVEventBatch
from
vllm.distributed.kv_events
import
BlockStored
,
KVEventBatch
from
vllm.platforms
import
current_platform
CPU_BLOCK_SIZES
=
[
16
,
48
]
CPU_BLOCK_SIZES
=
[
16
,
48
]
...
@@ -63,6 +64,9 @@ class MockSubscriber:
...
@@ -63,6 +64,9 @@ class MockSubscriber:
self
.
sub
.
close
()
self
.
sub
.
close
()
@
pytest
.
mark
.
skipif
(
not
current_platform
.
is_cuda
(),
reason
=
"CPU offloading only supported on CUDA"
)
@
pytest
.
mark
.
parametrize
(
"cpu_block_size"
,
CPU_BLOCK_SIZES
)
@
pytest
.
mark
.
parametrize
(
"cpu_block_size"
,
CPU_BLOCK_SIZES
)
def
test_cpu_offloading
(
cpu_block_size
:
int
)
->
None
:
def
test_cpu_offloading
(
cpu_block_size
:
int
)
->
None
:
"""
"""
...
...
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