[TP] Change command in tests to python3 (#38555)

* Fix: change to `python3`

* update

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Matej Sirovatka 2025-06-03 13:03:33 +02:00 committed by GitHub
parent fdf86fb440
commit caf708da1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: