You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HuggingFive 🖐️ is a collection of ML functions and libraries written in RISC-V assembly and C. This includes neural network layers, activation functions, as well as entire neural networks. Think of it as a low-level HuggingFace for RISC-V assembly code. The table below includes performance numbers for benchmarking. The hope is to eventually roll all these handwritten tricks into the existing compiler toolchains (or have AI generate even better assembly code).
F : output channels (or filters), only used if F is not the same as C
R : square root of input resolution (e.g. R=6 for image resolution of 6x6 pixels)
Q : square root of output resolution, only used if Q is not the same as R
MACs : number of fused multiply-accumulate operations required by the neural-network layer (can be used as a lower-bound for total number of ops; this number ignores possible savings from zero-padding for conv-layers)
Contribute
Please add your functions and routines to HuggingFive 🖐️: Add a link to your code in the
table and submit a PR, which will get approved promptly because there are no rules here.
More details coming soon ...
About
HuggingFive 🖐️ is a collection of ML functions and libraries written in RISC-V assembly and C.