Skip to main content

A Python to count flops of pytorch models.

Project description

Flopper - A FLOP counter for PyTorch

PyPI version Downloads Downloads Downloads

An enhanced FLOP counter based on fvcore with additional support to custom modules and simplified API This tool is a lightweight wrapper around fvcore flop counter, which is a PyTorch based FLOP counter. It supports counting FLOPs for custom modules and provides a simplified API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flopper-0.1.1.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

flopper-0.1.1-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page