Skip to content

Commit 0265ffc

Browse files
committed
sanity test
Signed-off-by: Erin Ho <[email protected]>
1 parent d884d2d commit 0265ffc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/integration/defs/examples/test_ray.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ def ray_example_root(llm_root):
1212
return example_root
1313

1414

15-
def test_llm_inference_async_ray(ray_example_root, llm_venv):
15+
@pytest.mark.parametrize("use_rpc", [True, False], ids=["rpc", "no_rpc"])
16+
def test_llm_inference_async_ray(ray_example_root, llm_venv, monkeypatch,
17+
use_rpc):
18+
if use_rpc:
19+
monkeypatch.setenv("TLLM_RAY_USE_RPC", "1")
1620
script_path = os.path.join(ray_example_root, "llm_inference_async_ray.py")
1721
model_path = f"{llm_models_root()}/llama-models-v2/TinyLlama-1.1B-Chat-v1.0"
1822
venv_check_call(llm_venv, [script_path, "--model", model_path])

0 commit comments

Comments
 (0)