Better HN
topnewbestaskshowjobs
Log inSign up

emergentorder

3 karma · joined Sep 17, 2018 (8y ago) · 3 submissions

Submissions

comment 5y ago · link · parent

Yes, it uses ONNX Runtime / MLAS (their native BLAS lib) under the hood. And yes, there is copy overhead but you can eliminate it internally to a single function/graph by compiling it down to a single ONNX model. The end result is within ~15% run time of PyTorch w/ MKL when training a reasonably-sized MLP. And ORT also provides support for CUDA and a number of other "execution providers".

comment 5y ago · link · parent

Check out my project NDScala (https://github.com/SciScala/NDScala).

N-dimensional arrays in Scala 3. Think NumPy ndarray, but with compile-time type-checking/inference over shapes, ndarray/axis labels & numeric data types.

3.

ONNX-Scala: A Generic, Typeful Scala ONNX(Open Neural Network EXchange) API(github.com ↗)

2 points · by emergentorder · 8y ago · discuss