mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 13:44:58 +08:00
[CI] Actually run tests/kv_transfer/test_disagg.py in CI (#17555)
Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
parent
afcb3f8863
commit
292fc59d61
@ -14,8 +14,8 @@ import torch
|
|||||||
# Fixture to set up environment variables and teardown servers after tests
|
# Fixture to set up environment variables and teardown servers after tests
|
||||||
@pytest.fixture(scope="module", autouse=True)
|
@pytest.fixture(scope="module", autouse=True)
|
||||||
def setup_servers():
|
def setup_servers():
|
||||||
if torch.cuda.device_count() < 4:
|
if torch.cuda.device_count() < 2:
|
||||||
pytest.skip("Skipping test: fewer than 4 GPUs available")
|
pytest.skip("Skipping test: fewer than 2 GPUs available")
|
||||||
|
|
||||||
# Set up environment variables
|
# Set up environment variables
|
||||||
VLLM_HOST_IP = subprocess.check_output("hostname -I | awk '{print $1}'",
|
VLLM_HOST_IP = subprocess.check_output("hostname -I | awk '{print $1}'",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user