fix: PYTHONUNBUFFERED=1 so progress bars stream in real-time

Python buffers stdout by default. Docker only sees the buffer dumps,
so all progress bars appear at once when the step completes.
PYTHONUNBUFFERED=1 disables buffering — prints flush immediately.
This commit is contained in:
2026-05-16 04:18:07 +00:00
parent 00b766af60
commit 830f042443

View File

@@ -8,7 +8,7 @@ services:
environment:
- OMP_NUM_THREADS=128
- CUDA_LAUNCH_BLOCKING=0
- TORCH_SHOW_CPP_STACKTRACES=0
- PYTHONUNBUFFERED=1
command:
- /model
- --trust-remote-code