facebookresearch / Pearl

A Production-ready Reinforcement Learning AI Agent Library brought by the Applied Reinforcement Learning team at Meta.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TorchRL Vs Pearl: What's the difference & when to use one?

deependujha opened this issue · comments

I mostly use pytorch for my deep learning models, and I recently started learning reinforcement learning.

I came across TorchRL & Pearl. I couldn't find a brief answer on what's the difference between the two and when to use which one.

Hi. TorchRL and Pearl have been developed independently inside Meta. TorchRL is more integrated with the PyTorch environment, and has been around for longer than Pearl. Pearl has been developed with a target of being increasingly better integrated with production systems, and to provide easy customization for things like history summarization and safety modules. However, TorchRL can certainly also be used in production cases.
I don't think there is a clear cut answer as to when to use one or the other. I would advise you to look at the tutorials for one and the other and see which one has a style that agrees more with your preferences and use cases.