Re:Bolt: Faster matrix and vector operations that run on com...
by ffast-math on Sunday June 19, 2022 @02:13AM
(#31796615)
This master's thesis sort of does it for individual layers, but it doesn't have any fine-tuning yet so it completely wrecks the accuracy: https://github.com/joennlae/halutmatmul.
If someone worked on contributing this functionality to Composer [1] I'd be down to help out. I can't justify building it all on my own right now since we're 100% focused on training speedup, but I could definitely meet and talk through it, help code tricky parts, review PRs, etc.
Re:Bolt: Faster matrix and vector operations that run on com...
by nl on Sunday June 19, 2022 @02:23AM
(#31796678)
There's lots of work in this area.
Quantization is a common technique. See for example https://pytorch.org/docs/stable/quantization.html
Re:Bolt: Faster matrix and vector operations that run on com...
by fragmede on Sunday June 19, 2022 @06:27AM
(#31798037)
Not to distract from the clearly good technical work you've done here, but why name it Bolt when there's a Fintech startup with the same name. Among other brand confusion issues (Like the Chevy Bolt).
Re:Bolt: Faster matrix and vector operations that run on com...
by ffast-math on Sunday June 19, 2022 @10:01PM
(#31805523)
I named it this in 2017 and was only worried about name collisions with other GitHub repos and ML algorithms. Also it's a backronym for Based On Lookup Tables + sounds at least somewhat evocative of going fast, so it was the best name for an algorithm I could come up with.
An approximate but speedier resnet inference model that runs on a CPU would be useful even if it’s not quite as fast/accurate as a GPU inference model, since currently the cost to run a GPU is typically higher than CPUs.