PPLNN
, which is short for "PPLNN is a Primitive Library for Neural Network", is a high-performance deep-learning inference engine for efficient AI inferencing. It can run various ONNX models and has better support for OpenMMLab.
pmx_params.json
to opmx_params.json
) and exported again.Simple
off by setting environment NCCL_PROTO=^Simple
to fix this issue.Installing prerequisites:
apt-get install build-essential cmake git python3 python3-dev
yum install gcc gcc-c++ cmake3 make git python3 python3-devel
Cloning source code:
git clone https://github.com/openppl-public/ppl.nn.git
cd ppl.nn
./build.sh -DPPLNN_USE_X86_64=ON -DPPLNN_ENABLE_PYTHON_API=ON
PYTHONPATH=./pplnn-build/install/lib python3 ./tools/pplnn.py --use-x86 --onnx-model tests/testdata/conv.onnx
Refer to Documents for more details.
Questions, reports, and suggestions are welcome through GitHub Issues!
WeChat Official Account | QQ Group |
---|---|
OpenPPL | 627853444 |
This project uses Contributor Covenant as code of conduct. Any contributions would be highly appreciated.
This project is distributed under the Apache License, Version 2.0.