Shared-Memory Runtime — unilab.rl.runtime¶
The async IPC layer lives in the unilab distribution under
unilab.rl.runtime (the former uni_rl.ipc / uni_rl.offpolicy modules are
merged into this repository; issue #2372): async runner, shared-memory
buffers, replay pipelines, inference exchange, DP launcher / sync, and weight
sync.
Submodule |
Role |
|---|---|
|
The high-level orchestration loop |
|
Tensor-backed rollout window used by APPO collectors |
|
Bounded shared ingress for off-policy transitions |
|
Authoritative CUDA/MPS replay ring, device gather, and native H2D |
|
Bounded, ordered observation/action exchange for learner-owned off-policy inference |
|
Push learner weights to on-policy collector workers |
|
torchrun launch, rank context, CPU affinity, and DP parameter sync |