Metadata-Version: 2.1
Name: flopper
Version: 0.1.0
Summary: A Python to count flops of pytorch models.
Author-email: Andrea Boscolo Camiletto <abcamiletto@gmail.com>
Project-URL: Homepage, https://github.com/abcamiletto/mmit
Project-URL: Repository, https://github.com/abcamiletto/mmit
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fvcore >=0.1.5
Requires-Dist: torch >=1.8
Provides-Extra: dev
Requires-Dist: black ; extra == 'dev'
Requires-Dist: pre-commit ; extra == 'dev'

# Flopper - A FLOP counter for PyTorch

[![PyPI version](https://badge.fury.io/py/flopper.svg)](https://badge.fury.io/py/flopper)
[![Downloads](https://pepy.tech/badge/flopper)](https://pepy.tech/project/flopper)
[![Downloads](https://pepy.tech/badge/flopper/month)](https://pepy.tech/project/flopper/month)
[![Downloads](https://pepy.tech/badge/flopper/week)](https://pepy.tech/project/flopper/week)

An enhanced FLOP counter based on fvcore with additional support to custom modules and simplified API
This tool is a lightweight wrapper around [fvcore](https://github.com/facebookresearch/fvcore) flop counter, which is a PyTorch based FLOP counter. It supports counting FLOPs for custom modules and provides a simplified API.
