Skip to content

Commit

Permalink
optimize MPDistRunner
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzeyi committed Feb 22, 2025
1 parent 7a26612 commit 2b150a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/para_attn/distributed/mp_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,9 @@ def worker(
exception = RuntimeError(f"Failed to initialize processor: {e}\n{traceback.format_exc()}")
if exception_queue is not None:
exception_queue.put(exception)
raise
# raise
while True:
time.sleep(0.0)

if exception_queue is not None:
exception_queue.put(None)
Expand Down

0 comments on commit 2b150a4

Please sign in to comment.