Skip to content

Commit 3a81318

Browse files
committed
fix thread start order
1 parent 56007e8 commit 3a81318

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightx2v/disagg/examples/wan_i2v_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ def run_decoder():
107107
decoder_thread = threading.Thread(target=run_decoder)
108108

109109
logger.info("Starting services in separate threads...")
110-
decoder_thread.start()
111110
encoder_thread.start()
112111
transformer_thread.start()
112+
decoder_thread.start()
113113

114114
# 5. Wait for completion
115115
encoder_thread.join()

lightx2v/disagg/examples/wan_t2v_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ def run_decoder():
9090
decoder_thread = threading.Thread(target=run_decoder)
9191

9292
logger.info("Starting services in separate threads...")
93-
decoder_thread.start()
9493
encoder_thread.start()
9594
transformer_thread.start()
95+
decoder_thread.start()
9696

9797
# 4. Wait for completion
9898
encoder_thread.join()

0 commit comments

Comments
 (0)