by kif · 3y ago · 0 comments
However, code changes are necessary to achieve that, although they won't be crazy complex.
If you have a guess what the model will output, then you can verify that your guess is correct very cheaply, since you can do it in parallel.
That means there is the possibility to have a highly quantized small model in RAM, and then use the big model only from time to time. You might be able to get a 10x speedup this way if your small model agrees 90% of the time.
Erm, for inference that is. Training is definitely out of question for individuals I believe (unless you use much smaller models?).