Skip to content

Commit fd4805f

Browse files
committed
revert hack
Signed-off-by: Bill Nell <[email protected]>
1 parent 00f8fb2 commit fd4805f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/offline_inference/data_parallel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def main(model, dp_size, local_dp_rank, global_dp_rank, dp_master_ip,
160160
procs.append(proc)
161161
exit_code = 0
162162
for proc in procs:
163-
proc.join(timeout=3000)
163+
proc.join(timeout=300)
164164
if proc.exitcode is None:
165165
print(f"Killing process {proc.pid} that "
166166
f"didn't stop within 5 minutes.")

0 commit comments

Comments
 (0)