From caf708da1be8a0ee2961ab1b9e9e2fdbef908fec Mon Sep 17 00:00:00 2001 From: Matej Sirovatka <54212263+S1ro1@users.noreply.github.com> Date: Tue, 3 Jun 2025 13:03:33 +0200 Subject: [PATCH] [TP] Change command in tests to `python3` (#38555) * Fix: change to `python3` * update --------- Co-authored-by: ydshieh --- tests/tensor_parallel/test_tensor_parallel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tensor_parallel/test_tensor_parallel.py b/tests/tensor_parallel/test_tensor_parallel.py index 6174a613295..6efd01c6cfd 100644 --- a/tests/tensor_parallel/test_tensor_parallel.py +++ b/tests/tensor_parallel/test_tensor_parallel.py @@ -77,7 +77,7 @@ class TestTensorParallel(TestCasePlus): f"torchrun --nproc_per_node {self.nproc_per_node} --master_port {get_torch_dist_unique_port()} {tmp.name}" ).split() else: - cmd = ["python", tmp.name] + cmd = ["python3", tmp.name] # Note that the subprocess will be waited for here, and raise an error if not successful try: