A machine like this would top out below 2 trillion parameters using the training algorithms that I'm familiar with.
A machine like this would top out below 2 trillion parameters using the training algorithms that I'm familiar with.
The ML engineers in my group chat say "1 DGX to train 7b at full speed, 2 for 13b, 4 for 30b, 8 for 65b"
For LLMs you need to load single row of context size, that's vector of ie. 8k numbers, which is 32kB for single precision floats.
Even for fp64 it adds only 16 bytes.
RMSPRop, Adagrad have half of this overhead.
SGD has no optimizer overhead of course.
But all of that (trainable parameters, activations, optimizer state) is like 12 bytes per trainable parameter, not 80.
For backpropagation you take the diff between actual and expected output and you go backwards to calculate derivate and apply it with optimiser - that's 8 extra bytes for single precision floats per trainable parameter.
Why do you need 80?