#117117th of 126 in Training and fine-tuning

learning-at-home/hivemind

PyTorch library for training one model across volunteer machines over the Internet

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
2.6k
License
MIT
Last commit
Jan 2026
Last release
Jan 2026
Language
Python
Stars, last 30 weeks+141
27 Apr 2026: 2,416 stars4 May 2026: 2,422 stars11 May 2026: 2,425 stars18 May 2026: 2,449 stars25 May 2026: 2,454 stars1 Jun 2026: 2,456 stars8 Jun 2026: 2,462 stars15 Jun 2026: 2,471 stars22 Jun 2026: 2,475 stars29 Jun 2026: 2,481 stars6 Jul 2026: 2,486 stars13 Jul 2026: 2,490 stars20 Jul 2026: 2,494 stars27 Jul 2026: 2,502 stars3 Aug 2026: 2,505 stars10 Aug 2026: 2,508 stars17 Aug 2026: 2,511 stars24 Aug 2026: 2,511 stars31 Aug 2026: 2,513 stars7 Sept 2026: 2,517 stars14 Sept 2026: 2,523 stars21 Sept 2026: 2,525 stars28 Sept 2026: 2,531 stars5 Oct 2026: 2,534 stars12 Oct 2026: 2,538 stars19 Oct 2026: 2,542 stars26 Oct 2026: 2,547 stars2 Nov 2026: 2,550 stars9 Nov 2026: 2,552 stars16 Nov 2026: 2,556 stars23 Nov 2026: 2,557 stars

2,416 on 27 Apr 20262,557 on 23 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Hivemind is a PyTorch library for decentralized training across unreliable peers on the Internet. It connects workers through a Distributed Hash Table with no master node, and provides decentralized parameter averaging and a Decentralized Mixture-of-Experts layer. Petals and a PyTorch Lightning integration build on it.

Who it is for: ML researchers training large PyTorch models on volunteer machines

Strengths

  • No master node: peers find each other through a Distributed Hash Table
  • Forward and backward passes tolerate slow or unresponsive nodes
  • Used by Petals, sahajBERT and CALM; PyTorch Lightning integration exists
  • Optional blockwise 8-bit compression for transfers via bitsandbytes

Weaknesses

  • Linux is the tested OS; macOS is partial, Windows is experimental via WSL
  • Tied to PyTorch 1.9.0+ and Python 3.8+
  • Needs several networked peers; not a drop-in single-machine trainer
  • README describes the project as at an active development stage

What it needs

  • GPU optional
  • Docker
  • Needs Python 3.8+, PyTorch 1.9.0+, go-libp2p-daemon (precompiled binary), bitsandbytes (optional)
  • Models: PyTorch models

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Training and fine-tuning

See all 126
Also in Training and fine-tuning
RankProjectScore
#115open-audio-opdOn-policy distillation trainer for compact ASR models, with ARK-ASR-0.6B weights Live demo ↗ (opens in a new tab)1.1k starscustom license22 out of 100
#116whisper-finetuneLoRA fine-tuning scripts for Whisper speech recognition, with fast inference export Live demo ↗ (opens in a new tab)1.2k starsApache-2.020 out of 100
#118agentevolverRL training framework where agents generate their own tasks and credit signals1.6k starsApache-2.018 out of 100
#119voxceleb_trainerPyTorch training framework for speaker recognition on VoxCeleb1.2k starsMIT18 out of 100
#120modernbertResearch code for pre-training and evaluating ModernBERT encoder models1.8k starsApache-2.017 out of 100