Skip to content

Commit 6e4892f

Browse files
S1ro1ydshieh
authored andcommitted
[TP] Change command in tests to python3 (huggingface#38555)
* Fix: change to `python3` * update --------- Co-authored-by: ydshieh <[email protected]>
1 parent 1d0c166 commit 6e4892f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tensor_parallel/test_tensor_parallel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def torchrun(self, script: str, is_torchrun: bool = True):
7777
f"torchrun --nproc_per_node {self.nproc_per_node} --master_port {get_torch_dist_unique_port()} {tmp.name}"
7878
).split()
7979
else:
80-
cmd = ["python", tmp.name]
80+
cmd = ["python3", tmp.name]
8181

8282
# Note that the subprocess will be waited for here, and raise an error if not successful
8383
try:

0 commit comments

Comments
 (0)