unilab.algos.torch.appo.staging¶
Bounded rollout staging for APPO learners.
Classes
Preallocated learner-device storage for a bounded set of rollouts. |
- class unilab.algos.torch.appo.staging.RolloutStagingPool[source]¶
Bases:
objectPreallocated learner-device storage for a bounded set of rollouts.
Raw IPC rollout slots are env-major: [N, T, …]. Learners consume time-major combined batches: [T, K*N, …]. The pool owns the destination tensors and exposes active views without rebuilding them via torch.cat.
- Parameters: