2 ms·
I wonder how feasible it would be to do massively distributed training, a la Folding@home or SETI@home.
by dehrmann 2y ago
I wonder how feasible it would be to do massively distributed training, a la Folding@home or SETI@home.
- techjamie 2y agoI would think that you'd need a model format that could be updated in different places at the same time and easily merged at various stages. Because right now, adding all that network latency only slows things down. I'm sure there's a method to permit it, but it doesn't seem like anyone's worked it out yet.
- fragmede 2y agothe problem is internode bandwidth and latency. supercomputers are super because they have insanely fast bandwidth between the nodes so the GPUs can talk to each other as if they were local.
- __sy__ 2y agoSounds like a really interesting technical challenge. Couple of issues I can see: (1) most devices out there would probably be mobile, so no NVIDIA/CUDA for you; (2) even with binding to, say, Apple Silicon, you might still be memory limited, i.e. can you fit the entire net on a single mobile GPU; (3) network latency?
- Sohcahtoa82 2y agoMy somewhat limited understanding of LLMs (and ML in general) is that you would end up using a LOT of bandwidth, not to mention that training would be insanely slow, since each layer of the neural network requires the results of the previous layer, and then needs to send its results back. The greatest limiter for training isn't raw computing power, but storage. If your model is 400B parameters, you need 800GB to store it, assuming fp16. Then you need another 800 GB for calculating gradients. Sharding all this out means transferring a lot of data. If your device only stores 1B parameters out of the 400B, that means having to download 2 GB of data, doing your share of the work, then uploading 2 GB of results. Even with gigabit internet, you'll spend an order of magnitude more time transferring data than actually processing it. At that point, it'd be faster to train on standard-specced PC that had to constantly page out most of the model.