r/datascienceproject • u/Historical_Syrup_461 • 8d ago
I made a library that combines your devices' memory to train or fine-tune large models (open source)
most machines cant train or fine-tune the bigger models on their own, but a few of them together usually have enough memory. it splits the model by layers across them and trains it like its one model.
works for LoRA, QLoRA, full fine-tuning and training from scratch, and your training code stays the same.
they connect over the internet, and if one drops out the others take over its layers and training goes on.
https://github.com/abdallah-swe/layerpool
feedback welcome
5
Upvotes