Re:Bolt: Faster matrix and vector operations that run on com...
by outlace on Sunday June 19, 2022 @12:12AM
(#31796102)
I see it noted that this could speed up machine learning inference, but any hope of this being extended to also speed up training? I imagine with 100x speedup in matmuls, albeit approximate matmuls, one could plausibly train on a CPU.
[ Parent
| on HN ]
Re:Bolt: Faster matrix and vector operations that run on com...
by ffast-math on Sunday June 19, 2022 @12:20AM
(#31796127)
Yes. It's another research project to make this happen, but I think it would be fairly straightforward. The issue is that you can't backprop through the assignment step, so you get no gradient with respect to the input. This mandates a progressive layer freezing strategy. I don't think it would be too hard to get working though; you'd likely just need to train for longer, or start with a pretrained model and fine-tune it as you freeze + approximate the layers.