mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-03 04:40:06 +06:00
[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:
parent
fdf86fb440
commit
caf708da1b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user