tinker_cookbook.rl.StreamMinibatchConfig
Generated from tinker-cookbook at commit 8bf7dd6. Source links point at that snapshot.
class tinker_cookbook.rl.StreamMinibatchConfig()
Configuration for training with minibatch streaming.
Once enough trajectories for a minibatch have been accumulated, training begins immediately rather than waiting for the full batch. This overlaps sampling and training within a single iteration.
Fields:
- groups_per_batch (int) – Total number of trajectory groups across all minibatches and substeps
- num_minibatches (int) – per substep.