trl dependencies

Trl is used in Python projects. Train transformer language models with reinforcement learning. It has 5 direct runtime dependencies. Check its dependency graph on PyDeps to understand the full transitive dependency tree, reverse dependents, known CVEs, and license compatibility before installing.

What is trl?

Train transformer language models with reinforcement learning.

What are the dependencies of trl?

trl declares 5 direct runtime dependencies on PyPI. Each one is resolved into the full dependency tree below:

trl transitive dependencies

Beyond its direct dependencies, trl can pull in further packages through its dependency tree. PyDeps resolves the entire chain from PyPI and deps.dev so you can see every transitive (nested) dependency of trl, expand any node on demand, and understand the full set of code that ships when you run pip install trl.

Does trl have known vulnerabilities (CVEs)?

PyDeps checks trl and every package in its dependency tree against the OSV vulnerability database in real time. For each CVE you can see the severity, the affected version ranges, and the first fixed version, so you know exactly which trl version is safe to install before you ship.

What license does trl use?

trl is distributed under the Apache-2.0 license. PyDeps also shows the license of every dependency in the tree so you can audit license compatibility across your whole trl install, not just the top-level package.

How to install trl with all dependencies

Install from PyPI with pip install trl. For offline or air-gapped environments, PyDeps can download trl together with every resolved dependency as wheel files in a single bundle, matched to your target Python version and operating system.

Which packages depend on trl?

Switch to the dependents view to see the reverse dependencies of trl — the PyPI packages that list trl as a requirement. Reverse dependencies are a strong signal of how widely a package is trusted and how disruptive a breaking change would be.

Packages related to trl

PyDeps