PaddleNLP 自定义 OP
此文档介绍如何编译安装 PaddleNLP NPU 自定义 OP。
1. 安装 PaddleCustomDevice
参考 PaddleCustomDevice NPU 安装文档 进行安装
2. 安装 paddlenlp_ops
python setup.py build bdist_wheel
pip install dist/paddlenlp_ops*.whl
此文档介绍如何编译安装 PaddleNLP NPU 自定义 OP。
参考 PaddleCustomDevice NPU 安装文档 进行安装
python setup.py build bdist_wheel
pip install dist/paddlenlp_ops*.whl