Petals: Run LLMs at home, BitTorrent-style
Posted by snorbleck 2 days ago
Comments
Comment by woctordho 1 day ago
For distributed inference of smaller LLMs and diffusion models that fits in one consumer GPU rather than splits on multiple machines, there are already pretty good solutions such as AI Horde (formerly Stable Horde) [0]. Notably, it's the default provider that powers SillyTavern. It also has an interesting economy model of kudos.
Comment by embedding-shape 1 day ago
But isn't what everyone want almost the complete opposite of this? For smaller LLMs you can already run them with consumer hardware, sometimes consumer hardware 2x, but it's the rest of the stuff where distributed inference could actually "democratize" access, as almost no one has 500GB VRAM available at home, or whatever the latest SOTA local models take nowadays.
Comment by N_Lens 2 days ago
It's cool to imagine a planet wide neural network interconnected with fiber - the nervous system of a planetary intelligence. But perhaps mushrooms do that already (Alpha Centauri ever relevant).
Comment by woctordho 1 day ago
Comment by AlecSchueler 1 day ago
Comment by N_Lens 1 day ago
Comment by c7b 1 day ago
Comment by hahahaa 1 day ago
Comment by qmmmur 1 day ago
Comment by behnamoh 1 day ago
Comment by fwip 1 day ago
If you run a local model at a good pace, you're emitting tokens at, what, 60 tokens/sec? That's, very roughly, 300 bytes/sec. You can get that speed with dialup from the 80's! And when it takes a half second just to ingest the input tokens (to get to the part where you start generating the reply), you're not gonna care about even a crazy 250ms latency.
Unless you think that the model should be downloaded on-the-fly in response to a user request, there's zero reason for an LLM to need any sort of fast connection.
Comment by maccam912 1 day ago
Comment by atum47 1 day ago
Comment by tesnorindian 1 day ago
Comment by wxw 2 days ago
Doesn't look like it's very active nowadays: https://github.com/bigscience-workshop/petals
Article with more details: https://techcrunch.com/2022/12/20/petals-is-creating-a-free-...
> [...] volunteers can donate their hardware power to tackle a portion of a text-generating workload and team up others to complete larger tasks, similar to Folding@home and other distributed compute setups.
Comment by SwellJoe 1 day ago
Comment by mcv 1 day ago
Comment by viking_fullz 5 hours ago
Comment by dang 1 day ago
Run LLMs at home, BitTorrent‑style - https://news.ycombinator.com/item?id=37546810 - Sept 2023 (125 comments)
Comment by brainless 1 day ago
Peer to peer, consumers get to route their request to a host with compatible model. Consumers have to also contribute GPU but it does not have to be equal - I have not thought through the fairness part. Perhaps initially it starts with "create your friends group and have access to all the host nodes".
Comment by inigyou 1 day ago
Comment by woctordho 1 day ago
Comment by brainless 1 day ago
Also, this is the reason I want to start with trust based groups only - invite people you already know. I have friends who have Macs with 32GB or 48GB unified memory but sending prompts to them is not a out of the box thing.
* typo
Comment by fragmede 1 day ago
Comment by mcpindex-ai 1 day ago
Comment by matheusmoreira 1 day ago
Comment by woctordho 1 day ago
Comment by novia 1 day ago
Comment by htrp 1 day ago
Comment by wsc981 1 day ago
---
[0]: https://www.gnus.ai/
Comment by petterroea 1 day ago
Comment by crowcroft 1 day ago
You could even hand out some kind of digital 'currency' to the people proportional to the amount of work their doing!
Comment by schoen 1 day ago
In order to be as decentralized as Bitcoin and related PoW mechanisms, a proof-of-work mechanism should have
* the ability to create an unbounded number of instances of the problem deterministically from numeric seeds
* the ability to scale difficulty up and down using a difficulty parameter
* in a way where anyone can easily confirm that a given problem instance corresponds to a given seed, and anyone can easily confirm that a given solution correctly solves a given problem instance
I'm not aware of a proof-of-useful-work mechanism that meets these criteria. (I'm also not aware of an argument that it's impossible to have one. Zero-knowledge proofs might actually go far toward making it possible in the future. but it's kind of complicated.)
Comment by ProofHouse 1 day ago
Comment by lostmsu 2 days ago
Comment by gatuamgb 1 day ago
Comment by kansm 1 day ago
Comment by luciana1u 1 day ago