You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pd: a dead ProcessPrefillWorker child leaves requests pending forever #168
The receiver thread blocks on _rep.get() and never checks _proc.is_alive(). If the child is OOM-killed or segfaults, futures never resolve, lanes stay in prefilling and readiness still reports OK.
Evidence and reproduction
opt_prime/opt_prime/accel/pd/pd_batching.py:205-231. Ran: after the child exited with code 9 the future was still pending 60 s later. SubprocessPrefillWorker._receive already handles this.
Environment
optimus-rm @253be20; Python 3.10, torch 2.10.0+cu128, transformers 5.1.0; RNGD+A100 host (CPU / one A100 for the checks).
Scope
ProcessPrefillWorker.
Done when
When the child dies, every outstanding future fails within a second; a test kills the child.
Activity
fix: fail pending prefills when the ProcessPrefillWorker child dies (#…
gspark-etri commentedon Oct 23, 2026
Fixed by #185, squash-merged into optimus-rm.