thop dependencies

Thop is used in Python projects. A tool to count the FLOPs of PyTorch model. It has 1 direct runtime dependency. Check its dependency graph on PyDeps to understand the full transitive dependency tree, reverse dependents, known CVEs, and license compatibility before installing.

What is thop?

A tool to count the FLOPs of PyTorch model.

What are the dependencies of thop?

thop declares 1 direct runtime dependency on PyPI. Each one is resolved into the full dependency tree below:

thop transitive dependencies

Beyond its direct dependencies, thop 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 thop, expand any node on demand, and understand the full set of code that ships when you run pip install thop.

Does thop have known vulnerabilities (CVEs)?

PyDeps checks thop 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 thop version is safe to install before you ship.

What license does thop use?

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

How to install thop with all dependencies

Install from PyPI with pip install thop. For offline or air-gapped environments, PyDeps can download thop 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 thop?

Switch to the dependents view to see the reverse dependencies of thop — the PyPI packages that list thop 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 thop

PyDeps