SaaSHub helps you find the best software and product alternatives Learn more →
Top 3 Nim Deep Learning Projects
-
Arraymancer
A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends
-
laser
The HPC toolbox: fused matrix multiplication, convolution, data-parallel strided tensor primitives, OpenMP facilities, SIMD, JIT Assembler, CPU detection, state-of-the-art vectorized BLAS for floats and integers (by mratsim)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
exprgrad
An experimental deep learning framework for Nim based on a differentiable array programming language
It is a small DSL written using macros at https://github.com/mratsim/Arraymancer/blob/master/src/array....
Nim has pretty great meta-programming capabilities and arraymancer employs some cool features like emitting cuda-kernels on the fly using standard templates depending on backend !
It depends.
You need 2~3 accumulators to saturate instruction-level parallelism with a parallel sum reduction. But the compiler won't do it because it only creates those when the operation is associative, i.e. (a+b)+c = a+(b+c), which is true for integers but not for floats.
There is an escape hatch in -ffast-math.
I have extensive benches on this here: https://github.com/mratsim/laser/blob/master/benchmarks%2Ffp...
Nim Deep Learning related posts
- Prospects of utilising Nim in scientific computation?
- An experimental deep learning framework for Nim using array programming
- How to write performant Nim?
- A Machine learning library for Nim
- Why does working with a transposed tensor not make the following operations less performant?
- (Data Science Humour) I've found this to be really accurate. Making something from scratch and then moving on to libraries is the best way to learn.
- Improve performance with SIMD intrinsics
-
A note from our sponsor - SaaSHub
www.saashub.com | 23 Apr 2024
Index
What are some of the best open-source Deep Learning projects in Nim? This list will help you:
Project | Stars | |
---|---|---|
1 | Arraymancer | 1,304 |
2 | laser | 261 |
3 | exprgrad | 113 |
Sponsored