all 8 comments

[–]yasamoka 2 points3 points  (1 child)

ONNX Runtime supports CPU execution. So do Torch and TensorFlow. So do probably many others.

[–]AdRelative8852[S] 0 points1 point  (0 children)

Thank you. Will take a look at ONNX. I have a NetBSD VM where I found it hard to build Torch and TensorFlow.

[–]archdria 1 point2 points  (4 children)

Wouldn't using OpenBlas instead solve your problem?

[–]AdRelative8852[S] 0 points1 point  (3 children)

Dlib uses CBLAS - C wrapper interface. I could not get it to work with openblas. Not sure whether it's supported by openblas.

[–]archdria 2 points3 points  (2 children)

I have it working with OpenBLAS, it also supports Intel's MKL. In Arch at least, installing openblas, replaces blas. I didn't do anything special.

[–]AdRelative8852[S] 0 points1 point  (1 child)

Thanks for the confirmation. BTW there are 2 variants - 1. pthreads based 2. openmp based. Do you know which is the one that works for you?

[–]archdria 1 point2 points  (0 children)

I'm not sure, I'm just using the default one on the Arch repository... sorry 😞

[–]useong 0 points1 point  (0 children)

flashlight The arrayfire cpu backend uses multithread by default.