Comparison
ray vs Spark vs torchmonarch vs xoscar
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Ray provides a simple, universal API for building distributed applications.
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install rayAn easy to use actor model framework in Python
Low maintenance activity. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install sparkMonarch: Single controller library
Actively maintained. Last release today, commits in 26 of the last 26 weeks. A safe choice.
pip install torchmonarchPython actor framework for heterogeneous computing.
Actively maintained. Last release 6 days ago, commits in 13 of the last 26 weeks. A safe choice.
pip install xoscarIn short
- ray is the most used: 16.7M downloads a month, 188× more than torchmonarch.
- Maintenance is comparable: ray 90, xoscar 90, torchmonarch 87, Spark 39 on Pythie’s Index.
- torchmonarch is growing fastest: downloads +17% over the last month.
- torchmonarch is the newcomer: first released Sep 2025.
- Safe default for a new project: ray.
Side by side
| Metric | ray | Spark | torchmonarch | xoscar |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | Pythie’s Index: 39 | Pythie’s Index: 87 | Pythie’s Index: 90 |
| Verdict | Actively maintained | Low maintenance activity | Actively maintained | Actively maintained |
| Downloads / month | 16.7M | 51.2K | 88.9K | 58.7K |
| Downloads, month over month | +8% | -18% | +17% | -7% |
| GitHub stars | 44.5K | 0 | 1.1K | 177 |
| Stars, last 7 days | +65 | +0 | +4 | +0 |
| Direct dependents | 0 | 8 | 0 | 4 |
| Last release | Dec 5, 2026 | May 16, 2026 | Dec 6, 2026 | Nov 30, 2026 |
| Releases, 12 months | 19 | 2 | 51 | 26 |
| Weeks with commits | 26 / 26 | 0 / 26 | 26 / 26 | 13 / 26 |
| Recent contributors | 41 | 2 | 12 | 18 |
| First release | Jun 2017 | Sep 2006 | Sep 2025 | Mar 2023 |
| Python versions | 3.10 – 3.14 | 3.13 | 3.11 – 3.14 | 3.10 – 3.14 |
| License | Apache-2.0 | MIT | BSD-3-Clause | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.