Hacker GitHub

← All repos

bigscience-workshop/petals

View on GitHub ↗ ★ 10,682 Python

🌸 Run LLMs at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading

53 mentions on Hacker News by 40 people: 3 stories, 50 comments · first 2022-12-13 · latest 2026-10-20

Mentions per year 53 mentions · busiest year 2023 (39)
20082026
  1. https://github.com/bigscience-workshop/petals was meant to be this i think
    comment by khimaros · 2026-10-20 · in How abliterated models can get you pwned
  2. …HuggingFace ( https://huggingface.co/bigscience ). 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-... >…
  3. This is precisely why we need more projects like this https://github.com/bigscience-workshop/petals There's no fundamental reason why models couldn't be developed and trained using community efforts. It might not be as fast and efficient,…
  4. …year. There are also projects like Petals which allow you to train models in a distributed fashion https://github.com/bigscience-workshop/petals And yeah, I do think China's government is going to continue subsidizing this tech because…
  5. there are already projects like Petals https://github.com/bigscience-workshop/petals
    comment by yogthos · 2026-06-13 · in Open source AI must win
  6. there was a project trying to achieve some of those goals a few years ago using p2p: petals https://github.com/bigscience-workshop/petals their bloom model was also a collaborative effort https://huggingface.co/docs/transformers/en/model_do…
    comment by cpdomina · 2026-06-13 · in Open source AI must win
  7. how does it compare to https://github.com/bigscience-workshop/petals ?
  8. Things like petals ( https://github.com/bigscience-workshop/petals ) exist, distributed computing over willing participants. Right now corporate cash is being rammed into the space so why not snap it up while you can, but the moment it…
    comment by Grimblewald · 2024-05-22 · in Chameleon: Meta’s New Multi-Modal LLM
  9. Reminded me of Petals offering distributed ML inference anyone tried this? https://github.com/bigscience-workshop/petals
    comment by monkeydust · 2024-03-23 · in Emad Mostaque resigned as CEO of Stability AI
  10. Can check out their project at https://github.com/bigscience-workshop/petals
  11. …supports fine-tuning and inference[3] afaik. [1] https://github.com/learning-at-home/hivemind [2] https://github.com/bigscience-workshop/petals [3] https://chat.petals.dev/
    comment by dvmazur · 2023-11-23 · in Exponentially faster language modelling
  12. https://github.com/bigscience-workshop/petals
  13. https://github.com/bigscience-workshop/petals Inference only: https://lite.koboldai.net/
    comment by brucethemoose2 · 2023-10-31 · in Mistral 7B,The complete Guide of the Best 7B model
  14. …to have a ballpark estimate of the finetunning performance of a "private" petals cluster. [0] https://github.com/bigscience-workshop/petals/wiki/Launch-yo...
    comment by timost · 2023-09-18 · in Run LLMs at home, BitTorrent‑style
  15. Would love to share my 3080 Ti, but after running the commands in the getting started guide ( https://github.com/bigscience-workshop/petals/wiki/Run-Petal... ) it looks like there's a dependency versioning issue: ImportError: cannot import…
    comment by teaearlgraycold · 2023-09-17 · in Run LLMs at home, BitTorrent‑style
  16. …easier to develop and maintain, so we can focus on developing features useful for ML researchers. https://github.com/bigscience-workshop/petals/wiki/FAQ:-Freq...
    comment by esafak · 2023-09-17 · in Run LLMs at home, BitTorrent‑style
  17. …the entire training data needs to be loaded into VRAM and can't be split up across devices. [0] https://github.com/bigscience-workshop/petals
    comment by addandsubtract · 2023-09-05 · in HuggingFace Training Cluster as a Service
  18. …out, you can check out https://health.petals.dev/ If you have a spare GPU, consider contributing: https://github.com/bigscience-workshop/petals . I am not associated with them.
    comment by fswd · 2023-08-31 · in Degraded performance on ChatGPT
  19. …If unwilling to spend any money at all and just want to play around with llama70b, look into petals https://github.com/bigscience-workshop/petals
    comment by spikedoanz · 2023-08-09 · in Ask HN: Cheapest hardware to run Llama 2 70B
  20. Could this work well with distributed solutions like petals? https://github.com/bigscience-workshop/petals I don't understand how petals can work though. I thought LLMs were typically quite monolithic.
  21. …Colab: https://colab.research.google.com/drive/1uCphNY7gfAUkdDrTx21... Project description: https://github.com/bigscience-workshop/petals
  22. https://github.com/bigscience-workshop/petals seems to have some capabilities in that area, at least for fine-tuning.
  23. That exists: https://github.com/bigscience-workshop/petals
  24. https://github.com/bigscience-workshop/petals
  25. https://github.com/bigscience-workshop/petals might be up your alley.
  26. …(1) some time ago here on HN. There are surely others too, but I don't remember the names. 1. https://github.com/bigscience-workshop/petals
    comment by alexvoda · 2023-04-07 · in What it feels like to work in AI right now
  27. Yes there is petals/bloom https://github.com/bigscience-workshop/petals but it's not so great. Maybe it will improve or a better one will come.
  28. My understanding is that can work for model inference but not for model training. https://github.com/bigscience-workshop/petals is a project that does this kind of thing for running inference - I tried it out in Google Collab and it seemed…
  29. Right, so sort of like https://github.com/bigscience-workshop/petals but for the training phase. I suppose different training runs could be proposed via a RFC type of procedure. Then it’s not only the open source model maintainers that put…
  30. …- https://github.com/oobabooga/text-generation-webui/issues/14... - https://github.com/bigscience-workshop/petals - https://github.com/alpa-projects/alpa
  31. …get the speed of hundreds of tokens per sec, see our benchmarks for parallel forward passes: https://github.com/bigscience-workshop/petals#benchmarks If you have another wording in mind that is more up front, please let us know, we'd be…
  32. …set up your own swarm, you can't go tuning things on random participants. You can read more at: - https://github.com/bigscience-workshop/petals/wiki/Security,... - https://github.com/bigscience-workshop/petals/wiki/Launch-yo...
  33. From https://github.com/bigscience-workshop/petals/wiki/Security,... > Q: Does Petals guarantee that model outputs are correct? > Not by default. A faulty or malicious server could give you incorrect outputs. There are two things you can…
  34. …to bring down the vRAM requirements? I only know about these: - use 8bit precision - https://github.com/bigscience-workshop/petals - https://github.com/FMInference/FlexGen - https://github.com/microsoft/DeepSpeed Anything that could bring…
  35. Does this mean that with big enough compute capacity - say, Petals https://github.com/bigscience-workshop/petals which distributes the model over the internet over GPUs - we can run LLAMA?
  36. …and that's why there is a project that is using volunteered, distributed GPUs to run BLOOM/BLOOMZ: https://github.com/bigscience-workshop/petals , http://chat.petals.ml .
  37. …that shares some of the same codebase, but is for distributed training . [0] https://petals.ml/ [1] https://github.com/bigscience-workshop/petals [2] https://github.com/yandex-research/swarm [3] https://twitter.com/m_ryabinin/status/1625175…
  38. Might this be what you're looking for: https://github.com/bigscience-workshop/petals ?
  39. …to the project by running a node in my garage with a single RTX 3060ti in it, and you can too: https://github.com/bigscience-workshop/petals It's early days, but the tech is super promising.
    comment by px43 · 2023-02-07 · in Bard and new AI features in Search
  40. That already exists - https://github.com/bigscience-workshop/petals
  41. you are probably thinking of https://arxiv.org/abs/2207.03481 for inference, there is https://github.com/bigscience-workshop/petals however, both are only in the research phase. start tinkering!
  42. …on your own hardware - you need a LOT of powerful GPUs racked up in order to run inference. https://github.com/bigscience-workshop/petals is a really interesting project here: it works a bit like bittorrent, allowing you to join a larger…
  43. …project that lets you run a bunch of independent machines as a cluster for inference using Bloom: https://github.com/bigscience-workshop/petals/wiki/Launch-yo... (You'll need around 200GB of GPU memory across the machines in the swarm)
  44. For a distributed computing/BitTorrent-style method of running these LLMs, see: https://github.com/bigscience-workshop/petals .
  45. …the point of privacy/anonymity since everyone in the distributed swarm have access to your data [0] https://github.com/bigscience-workshop/petals
    comment by lairv · 2023-01-16 · in GPT-3 is the best journal I’ve used
  46. Yes: https://github.com/bigscience-workshop/petals
  47. …have enough GPUs at home can contribute theirs and get text generation at one word per second: https://github.com/bigscience-workshop/petals#how-does-it-wo...
    comment by espadrine · 2023-01-10 · in Microsoft eyes $10B bet on ChatGPT
  48. …with a distributed swarm of machines. iirc it already supports fine-tuning BLOOM, so.. maybe? [0] https://github.com/bigscience-workshop/petals
  49. https://github.com/bigscience-workshop/petals Since my other account is shadow banned for some unexplained reason, I just wanted to mention the petal project. It's an attempt to bittorrent style distribute the load of running these large…
    comment by chamwislothe2nd · 2022-12-29 · in Ask HN: Can I download GPT / ChatGPT to my desktop?
  50. https://github.com/bigscience-workshop/petals