News for hackers. Stuff that matters.
Re:Run 100B+ language models at home, BitTorrent‑style by lxgr on Monday March 20, 2023 @07:17PM (#35240233)
Imagine if it was possible to combine this with homomorphic encryption into something like AirDrop for LLMs!

("Sorry, I don't know how to answer that – but you can try getting closer to a bunch of other people running the app on their device and ask again!")

Re:Run 100B+ language models at home, BitTorrent‑style by chatmasta on Monday March 20, 2023 @07:32PM (#35240394)
Sounds like a literal hive mind!
Re:Run 100B+ language models at home, BitTorrent‑style by techwizrd on Monday March 20, 2023 @08:02PM (#35240683)
The library they're using is literally called Hivemind [0]. I'm interested to see how the approach they're using differs from what we use in federated learning or gossip learning.

> Hivemind is a PyTorch library for decentralized deep learning across the Internet.

0: https://github.com/learning-at-home/hivemind

Re:Run 100B+ language models at home, BitTorrent‑style by borzunov on Tuesday March 21, 2023 @07:35AM (#35244868)
A Hivemind/Petals dev here. As far as I understand, most federated learning methods can't efficiently train very large models (with billions of parameters) because they repeat some calculations on many peers and/or involve excess communication.

In contrast, the training methods implemented in Hivemind struggle to minimize compute and communication but don't provide data privacy guarantees. This is mostly okay for LLMs, since they are trained on public data scraped from the Internet anyway.

Re:Run 100B+ language models at home, BitTorrent‑style by sebzim4500 on Monday March 20, 2023 @08:19PM (#35240807)
Homomorphic encryption has such an enormous overhead that it would never be faster than just running the model locally. Or probably on your wristwatch for that matter.