Overview of TorchRL
mainTorchRL is a PyTorch-native toolkit designed for reinforcement learning, decision making, robotics, and simulation. It provides a collection of composable modules that follow the PyTorch programming model, emphasizing a TensorDict-first approach.
Key design principles include:
- Structured Data: Data maintains names, structure, batch dimensions, and device locality throughout the training loop using
TensorDict. - Modularity: Environments, policies, replay buffers, objectives, and collectors are independent, swappable modules.
- Scalability: Research code can scale from local prototypes to distributed, vectorized, or multi-agent workflows without changing the underlying data model.