Comparison
pytorch vs tensorflow vs torch
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install pytorchTensorFlow is an open source machine learning framework for everyone.
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install tensorflowTensors and Dynamic neural networks in Python with strong GPU acceleration
Actively maintained. Last release 5 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install torchIn short
- pytorch looks abandoned: avoid it for new projects.
- torch is the most used: 59.1M downloads a month, 5.2× more than tensorflow.
- Maintenance is comparable: tensorflow 89, torch 89 on Pythie’s Index.
- Safe default for a new project: torch.
Side by side
| Metric | pytorch | tensorflow | torch |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 89 |