mratsim/Arraymancer
View on GitHub ↗ ★ 1,415 Nim
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
54 mentions on Hacker News by 27 people: 6 stories, 48 comments · first 2017-12-23 · latest 2024-03-29
20082026
-
…compatible with OpenMP. Edit: it can be configured via a compile-time flag to 8 or 10 or anything: https://github.com/mratsim/Arraymancer/blob/master/src%2Farr...
comment by mratsim · 2024-03-29 · in Arraymancer – Deep learning Nim library -
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…
comment by warangal · 2024-03-29 · in Arraymancer – Deep learning Nim library -
▲ 211
Arraymancer – Deep learning Nim librarystory by archargelod · 2024-03-29 · 29 comments
-
…one that caught my eye was https://github.com/amkrajewski/nimCSO "Composition Space Optimization" https://github.com/mratsim/Arraymancer
comment by planetis · 2024-03-12 · in Go, Python, Rust, and production AI applications -
…https://github.com/nim-works/cps Or a neural network DSL or for a self-contained example, einsum: - https://github.com/mratsim/Arraymancer/blob/master/src/array... It's worth noting that nim async/await transformation is fully implemented…
comment by mratsim · 2023-12-04 · in D Programming Language -
…with porting Arraymancer to the S3, just to see how it can run, outside of work time mind you. https://github.com/mratsim/Arraymancer Slightly orthogonal to what we are discussing above, but more to show that these weird micros have some…
comment by girvo · 2022-11-25 · in I over-engineered a Fast Fourier Transform for Arduino -
how are u compiling (optimization, custom compilation flags etc.?) In my case https://github.com/mratsim/Arraymancer big project compile under your 4.2s so or you have like 10k+ lines of codes with macros or you just pass some debug flags…
comment by machinekob · 2022-06-30 · in Mastering Nim – now available on Amazon -
…can simply use native arrays. You can use for loops and so on. For N-dimensional array computation: https://github.com/mratsim/Arraymancer/
comment by nimmer · 2022-05-05 · in Nim Version 1.6.6 Released -
…on nlvm, i.e. the mainline Nim compiler is sufficient). [1] https://github.com/arnetheduck/nlvm [2] https://github.com/mratsim/Arraymancer
comment by michaelsbradley · 2022-03-27 · in The counterintuitive rise of Python in scientific computing (2020) -
…For an example, consider calling the least squares routine `dgelsd` in arraymancer: https://github.com/mratsim/Arraymancer/blob/master/src/array... wrapped up in a nicer user facing API. Feel free to hop onto matrix, if you have more…
comment by V1ndaar · 2022-02-28 · in Computer Programming with Nim -
▲ 6
A Machine learning library for Nimstory by vanyle · 2021-11-16 · 0 comments
-
…use VS. [1] https://github.com/bluenote10/NimData [2] https://github.com/Vindaar/ggplotnim [3] https://github.com/mratsim/Arraymancer [4] https://github.com/alaviss/nim.nvim
comment by cb321 · 2021-02-24 · in Nim versions 1.4.4 and 1.2.10 -
…or `unsafeAddr`) rather than symbol operators. 1: https://news.ycombinator.com/item?id=25242926 2: https://github.com/mratsim/Arraymancer/blob/master/examples/...
comment by elcritch · 2021-02-24 · in 50 Years of Pascal -
…especially by scientists. https://github.com/Vindaar/ggplotnim https://github.com/unicredit/neo https://github.com/mratsim/Arraymancer
comment by planetis · 2020-12-04 · in Why scientists are turning to Rust -
…[2] https://github.com/yglukhov/nimpy [3] https://github.com/numforge/laser [4] https://github.com/mratsim/Arraymancer [5] https://github.com/sinkingsugar/nimtorch
comment by beagle3 · 2020-11-26 · in Java is better than C++ for high speed trading systems -
…to consider whether we've overfit our algorithms to the limitations of the current system [3]. [1] https://github.com/mratsim/Arraymancer [2] https://sciml.ai/ [3] https://news.ycombinator.com/item?id=20301619
comment by BadInformatics · 2020-08-31 · in Nim – version 1.2.6 and 1.0.8 released -
…Also for linear algebra and machine learning they're a couple of good libraries: 1) Arraymancer https://github.com/mratsim/Arraymancer 2) Neo https://github.com/unicredit/neo 3) my own :) not meant for when performance is required.…
comment by planetis · 2020-08-16 · in Nim – Python-like statically-typed compiled language -
…appear to outperform it easily: https://narimiran.github.io/2018/05/10/python-numpy-nim.html https://github.com/mratsim/Arraymancer
comment by nimmer · 2020-07-02 · in Ray Tracing in Nim -
…Besides, does Nim have anything similar to NumPy which is actually faster? D does. It does: - https://github.com/mratsim/Arraymancer With CPU, OpenCL and Cuda backends (in differing state of maturity) and it's being used for data analysis…
comment by mratsim · 2020-07-02 · in Ray Tracing in Nim -
The CUDA kernels are stored here: - https://github.com/mratsim/Arraymancer/blob/master/src/tenso... With the higher order function: - https://github.com/mratsim/Arraymancer/blob/master/src/tenso... And their code generation: -…
comment by mratsim · 2020-07-02 · in Ray Tracing in Nim -
https://github.com/mratsim/Arraymancer probably has a lot of examples in it's implementation
comment by ca_parody · 2020-07-02 · in Ray Tracing in Nim -
https://forum.nim-lang.org/t/5242 There is https://github.com/mratsim/Arraymancer n-dimensional tensor (ndarray) library Native plotting library: https://github.com/Vindaar/ggplotnim as well as many other packages.
comment by planetis · 2020-06-21 · in NimConf 2020 Videos -
He missed two that I think are really important. 1. Arraymancer https://github.com/mratsim/Arraymancer 2. The new version of the garbage collector understands move semantics to optimize its reference counting so unlike Rust where you have…
comment by drenvuk · 2020-05-28 · in Pros and Cons of Nim -
…tiling. I wrote an overview of most DSL for high performance or image processing in this issue: https://github.com/mratsim/Arraymancer/issues/347#issuecomme...
comment by mratsim · 2020-05-10 · in Old box, dumb code, few thousand connections, no big deal -
…perhaps more focused on ML and data analysis, but Nim has some neat tricks up it's sleeves too: https://github.com/mratsim/Arraymancer
comment by girvo · 2020-04-09 · in Swift: Google’s Bet on Differentiable Programming -
…not be as fast if you're heavy user of metaprogramming but it's still really good. For example see: https://github.com/mratsim/Arraymancer in the README it mentions: > Note: While Nim is compiled and does not offer an interactive REPL yet…
comment by sp33der89 · 2020-04-01 · in Vim rendered on a cube for no reason -
…be able to change the MAXRANK with a compile parameter nim c -d:MAXRANK=16 path/to/my/app [1]: https://github.com/mratsim/Arraymancer/blob/6fddfa9a734ac01c... [2]: https://github.com/numforge/laser/blob/d1e6ae6106564bfb350d4...
comment by mratsim · 2020-02-24 · in Nim Community Survey 2019 Results -
…Arraymancer lib in their source: https://github.com/numforge/laser/blob/d1e6ae6106564bfb350d4... https://github.com/mratsim/Arraymancer/blob/6fddfa9a734ac01c... To qualify the statement, it would be more accurate to say that Nim can smoke…
comment by gavinray · 2020-02-24 · in Nim Community Survey 2019 Results -
…dig the work that has been going on there for ML as well. [0] https://github.com/numforge/laser [1] https://github.com/mratsim/Arraymancer [2] https://github.com/mratsim/weave
comment by gavinray · 2020-02-23 · in Nim Community Survey 2019 Results -
…some early development of a machine learning ecosystem (outside of wrappers): https://nim-lang.org/ https://github.com/mratsim/Arraymancer
comment by ddragon · 2020-01-27 · in Chris Lattner to Lead SiFive Platform Engineering Team -
…or true native implementations are growing rapidly. For anything ML look into arraymancer[1]. [1] - https://github.com/mratsim/Arraymancer
comment by qmmmur · 2019-12-28 · in Python Type Hints -
…But why use that when you can use Cuda and OpenCL accelerated vector math: https://github.com/mratsim/Arraymancer If thats too much speed, you can just roll your own for loops. Because Nim is compiled with battle tested GCC, LLVM or
comment by treeform · 2019-12-26 · in Nim vs. Crystal -
…devs or automated methods without having to rewrite in C/Fortran. Much more attempts in the past: - https://github.com/mratsim/Arraymancer/issues/347#issuecomme... - My own domain specific language and compiler:…
comment by mratsim · 2019-11-22 · in The Linear Algebra Mapping Problem -
I am trying to improve Nim data science ecosystem with https://github.com/mratsim/Arraymancer . I think today the best way to try Nim is for slow Python utilities vi nimpy: https://github.com/yglukhov/nimpy You can also use Nim in Jupyter…
comment by mratsim · 2019-10-30 · in Nim: Scripting Ease in a Compiled Language -
As someone who also wrote my own deep learning library from scratch in a less-known language (Nim: https://github.com/mratsim/Arraymancer ), I must say this looks very nice. I especially like the syntax for declaring neural networks. One…
comment by mratsim · 2019-10-30 · in Machine and Deep Learning with OCaml Natively -
Nim is used by leading data scientists. Eg.: https://github.com/mratsim/Arraymancer
comment by jaco8 · 2019-10-30 · in Nim: Scripting Ease in a Compiled Language -
…have worked for me, but the time I spent with Nim in the beginning was just super pleasant. [1] https://github.com/mratsim/Arraymancer
comment by V1ndaar · 2019-08-14 · in Root: CERN's scientific data analysis framework for C++ -
…code): https://github.com/numforge/laser/blob/master/laser/photon_j... - a DSL for neural network: https://github.com/mratsim/Arraymancer#sequence-classificati... - a matrix multiplication BLAS written from scratch competitive with…
comment by mratsim · 2019-04-23 · in Ask HN: What metaprogrammable language do you/would like to use? -
I know Nim has some interesting working going on here, https://github.com/mratsim/Arraymancer As well as that esolang that appeared a few months ago on the front page. https://github.com/mrakgr/The-Spiral-Language
comment by posnet · 2019-02-19 · in Deep learning may need a new programming language -
…compiled language with a syntax similar to Python. Nim compiles to C, C++ or Javascript. [1] https://github.com/mratsim/Arraymancer/blob/v0.5.0/examples/ex05_sequence_classification_GRU.nim [2] https://github.com/mratsim/Arraymancer/blob/v0…
comment by mratsim · 2018-12-24 · in Ergonomic ndarrays and deep learning in Nim – Arraymancer v0.5 -
▲ 5
Ergonomic ndarrays and deep learning in Nim – Arraymancer v0.5story by mratsim · 2018-12-24 · 2 comments
-
▲ 3
Arraymancer – Fast n-dimensional tensor library written in Nimstory by gtt · 2018-05-05 · 0 comments
-
…in the newer version(s)? Is there any "production code" written in Arraymancer? [0] https://github.com/mratsim/Arraymancer#speed
comment by narimiran · 2018-05-05 · in Show HN: Arraymancer v0.4, Nim tensor library now with OpenCL and Keras-like API -
Here is a link to the documentation as well: https://mratsim.github.io/Arraymancer/ And the examples: https://github.com/mratsim/Arraymancer/tree/master/examples , including the mandatory XOR, MNIST convnets and the notorious FizzBuzz with…
comment by mratsim · 2018-05-05 · in Show HN: Arraymancer v0.4, Nim tensor library now with OpenCL and Keras-like API