Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pytorchrl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytorchrl

Disributed RL implementations with ray and pytorch.

  • 3.2.15
  • PyPI
  • Socket score

Maintainers
1

PyTorchRL: A PyTorch library for reinforcement learning

Deep Reinforcement learning (DRL) has been very successful in recent years but current methods still require vast amounts of data to solve non-trivial environments. Scaling to solve more complex tasks requires frameworks that are flexible enough to allow prototyping and testing of new ideas, yet avoiding the impractically slow experimental turnaround times associated to single-threaded implementations. PyTorchRL is a pytorch-based library for DRL that allows to easily assemble RL agents using a set of core reusable and easily extendable sub-modules as building blocks. To reduce training times, PyTorchRL allows scaling agents with a parameterizable component called Scheme, that permits to define distributed architectures with great flexibility by specifying which operations should be decoupled, which should be parallelized, and how parallel tasks should be synchronized.

Installation

    conda create -y -n pytorchrl
    conda activate pytorchrl

    conda install pytorch torchvision cudatoolkit -c pytorch

    pip install pytorchrl gym[atari,accept-rom-license]==0.22.0 wandb opencv-python hydra-core

Documentation

PyTorchRL documentation can be found here.

Citing PyTorchRL

Here is the paper

@misc{bou2021pytorchrl,
      title={PyTorchRL: Modular and Distributed Reinforcement Learning in PyTorch},
      author={Albert Bou and Gianni De Fabritiis},
      year={2021},
      eprint={2007.02622},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc