Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/integration/defs/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2362,6 +2362,7 @@ def pytest_configure(config):
tqdm.tqdm.monitor_interval = 0
if config.getoption("--run-ray"):
os.environ["TLLM_DISABLE_MPI"] = "1"
os.environ["TLLM_RAY_FORCE_LOCAL_CLUSTER"] = "1"

# Initialize PeriodicJUnitXML reporter if enabled
periodic = config.getoption("--periodic-junit", default=False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import cloudpickle
import pytest
from defs.conftest import skip_no_hopper
from defs.conftest import skip_no_hopper, skip_ray
from mpi4py import MPI
from mpi4py.futures import MPIPoolExecutor

Expand Down Expand Up @@ -244,6 +244,7 @@ def verify_disaggregated(model, generation_overlap, enable_cuda_graph, prompt,
print("All workers terminated.")


@skip_ray
@pytest.mark.parametrize("model", ["TinyLlama-1.1B-Chat-v1.0"])
@pytest.mark.parametrize("generation_overlap", [False, True])
@pytest.mark.parametrize("enable_cuda_graph", [False, True])
Expand All @@ -259,6 +260,7 @@ def test_disaggregated_simple_llama(model, generation_overlap,
])


@skip_ray
@skip_no_hopper
@pytest.mark.parametrize("model", ["DeepSeek-V3-Lite-fp8/fp8"])
@pytest.mark.parametrize("generation_overlap", [False, True])
Expand All @@ -276,6 +278,7 @@ def test_disaggregated_simple_deepseek(model, generation_overlap,
])


@skip_ray
@skip_no_hopper
@pytest.mark.parametrize("model", ["Qwen3-8B-FP8"])
@pytest.mark.parametrize("generation_overlap", [False, True])
Expand Down
4 changes: 4 additions & 0 deletions tests/integration/defs/test_unittests.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def test_unittests_v2(llm_root, llm_venv, case: str, output_dir, request):
test_prefix = "unittest"

waives_file = request.config.getoption("--waives-file")
run_ray = request.config.getoption("--run-ray")

num_workers = 1

Expand Down Expand Up @@ -138,6 +139,9 @@ def test_unittests_v2(llm_root, llm_venv, case: str, output_dir, request):
waives_file = os.path.abspath(waives_file)
command += [f"--waives-file={waives_file}"]

if run_ray:
command += ["--run-ray"]

command += arg_list

print(f"Running unit test:\"python {' '.join(command)}\"")
Expand Down
Loading