#139 · Primary category: Deep Learning Frameworks

hivemind

asynchronous-programming asyncio deep-learning dht distributed-systems distributed-training hivemind machine-learning mixture-of-experts neural-networks pytorch volunteer-computing

Decentralized deep learning in PyTorch. Built to train models on thousands of volunteers across the world.

Project last updated:01/11/26

GitHub Stars

2.5K

Forks

232

Contributors

34

License

MIT

Why we included this project

Hivemind is a PyTorch library for training one large model across many internet-connected machines without a central orchestrator. It uses a distributed hash table to form a peer-to-peer network, so you can pool together ordinary volunteer computers instead of renting a GPU cluster. The library tolerates slow or unresponsive nodes during forward and backward passes, which matters when you're working with heterogeneous hardware that might drop out at any moment. It can also spread individual layers across participants via decentralized mixture-of-experts, so model size isn't limited by one machine's memory. Projects like Petals and a NeurIPS 2021 demo have built on it for large-scale collaborative training.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category