CMD + K

ultralytics-thop

Anaconda Verified

Ultralytics THOP package for fast computation of PyTorch model FLOPs and parameters.

Installation

To install this package, run one of the following:

Conda
$conda install anaconda::ultralytics-thop

Usage Tracking

2.0.18
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

THOP offers an intuitive API designed to profile PyTorch models by calculating the total number of MACs and parameters. This functionality is vital for assessing the computational efficiency and memory footprint of deep learning models, helping developers optimize performance for deployment, especially on edge devices. Understanding these metrics is key to selecting the right model architecture, a topic explored in our model comparison pages.

About

Summary

Ultralytics THOP package for fast computation of PyTorch model FLOPs and parameters.

Last Updated

Nov 4, 2025 at 13:57

License

AGPL-3.0-only

Supported Platforms

linux-aarch64
linux-64
macOS-arm64
win-64