6 ms·
In very crude terms, AFAICT, if you have a bunch of matrix multiplications, but one of matrices (the one with model weights) doesn't change, you can seriously s
by nine_k 4mo ago
In very crude terms, AFAICT, if you have a bunch of matrix multiplications, but one of matrices (the one with model weights) doesn't change, you can seriously speed up the computation. One thing is that you don't need to re-fetch the elements of the constant matrix, you can keep it near the ALUs. Then you maybe can detect and ignore sparse / empty blocks by marking them once.
IDK how the custom hardware exploits this; would love to hear any ideas!
- guyomes 4mo ago> IDK how the custom hardware exploits this; would love to hear any ideas! You might like this article [1], titled "FPGA-based CNN Acceleration using Pattern-Aware Pruning". More context and details can be found in the PhD thesis of Léo Pradels [2]. [1]: https://inria.hal.science/hal-04689673/document https://inria.hal.science/hal-04689673/document [2]: https://theses.hal.science/tel-05021575v1/file/PRADELS_Leo.pdf https://theses.hal.science/tel-05021575v1/file/PRADELS_Leo.p...
- cm2187 4mo agoRandom thought. Once models stabilise, could you possibly hardcode the model in gates? Or are they too large for a single chip?
- 8note 4mo agohttps://www.anuragk.com/blog/posts/Taalas.html https://www.anuragk.com/blog/posts/Taalas.html
- lsaferite 4mo agohttps://taalas.com/ https://taalas.com/
- jwHollister 4mo agowow if they can get something like this working, what happens to all this infrastructure? Hyperscalers have to be assuming the lifespan of that stuff wrong considering the next gen will be 1000x more efficient.
- otterley 4mo agoThe question isn’t whether it works (it does); the question is whether there are buyers for hardware that is obsolete the day it ships. Models evolve much more quickly than hardware can keep up.
- simondotau 4mo agoPresumably at some point the rapid progress of models will plateau, at least insofar as a model could be frozen in time and remain economically useful for the expected life of hardware. Especially if it comes with compelling benefits e.g. dramatically lower latency and/or dramatically higher performance per watt. If you can build chips that could run one specific LLM 100x faster than anything else, it would have a use case that nothing else could match.
- fragmede 4mo agohttps://www.cerebras.ai/ https://www.cerebras.ai/ is exactly that! Holy shit it's fast.
- otterley 4mo agoCerebras is not that. Cerebras isn’t tied to a particular model like Taalas is. The latter is even faster than Cerebras.
- jwHollister 4mo agoYeah at a certain point if inference is fast and cheap, do I care if it's the smartest? I can iterate in a tighter loop.
- lsaferite 4mo agoThose taalus chips apparently run at 1/10 the power as the current SOTA GPU setups. If they can execute even partially on their plan, it'll be a literal game changer.
- 4mo ago
- fulafel 4mo agoCurrent accelerators (TPUs, various onchip NPUs) are something close to this. Systolic array is the estabilished computer architecture term for flowing data from computation to computation without the overhead of a register file or von Neumann bottleneck.