Comparison
torchinfo vs torchsummary
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Model summary in PyTorch, based off of the original torchsummary.
Maintained. Last release over 3 years ago, commits in 22 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install torchinfoModel summary in PyTorch similar to `model.summary()` in Keras
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install torchsummaryIn short
- torchsummary looks abandoned: avoid it for new projects.
- torchinfo is the most used: 504.2K downloads a month, 6.4× more than torchsummary.
- torchinfo also has the best Pythie’s Index (52).
Side by side
| Metric | torchinfo | torchsummary |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 52 | 17 |