Go Inference Engine for PaddlePaddle.
-
Install
paddle
$ go get -u github.com/go-aie/paddle
-
Install Paddle Inference Go API
Check out the documentation.
When using a high maxConcurrency
(e.g. running benchmarks), sometimes you will get a BLAS error:
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
Set OpenBLAS to use a single thread:
export OPENBLAS_NUM_THREADS=1
export GOTO_NUM_THREADS=1
export OMP_NUM_THREADS=1
See also: