update pplnn to v0.9.2 to resolve ci error (#1934)
* [Fix] Fix package_tools (#1772) * copy mmdeploy_onnx2ncnn when build wheel package * prevent copy build/lib/* when build wheel * fix mmdeploy_builder.py * try to fix backend-pplnn cipull/1944/head
parent
f7c484a046
commit
bbee83da6c
|
@ -2,6 +2,7 @@ include requirements/*.txt
|
|||
include mmdeploy/backend/ncnn/*.so
|
||||
include mmdeploy/backend/ncnn/*.dll
|
||||
include mmdeploy/backend/ncnn/*.pyd
|
||||
include mmdeploy/backend/ncnn/mmdeploy_onnx2ncnn*
|
||||
include mmdeploy/lib/*.so
|
||||
include mmdeploy/lib/*.so*
|
||||
include mmdeploy/lib/*.dll
|
||||
|
|
|
@ -407,7 +407,7 @@ def create_mmdeploy_runtime(cfg: Dict, work_dir: str):
|
|||
bdist_cmd = _create_bdist_cmd(cfg, c_ext=True, dist_dir=sdk_wheel_dir)
|
||||
if 'cuda' in cmake_cfg['MMDEPLOY_TARGET_DEVICES']:
|
||||
bdist_cmd += ' --use-gpu'
|
||||
_call_command(bdist_cmd, '.mmdeploy_runtime')
|
||||
_call_command(bdist_cmd, sdk_python_package_dir)
|
||||
_remove_if_exist(sdk_python_package_dir)
|
||||
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ def install_pplnn(dep_dir, build_cuda):
|
|||
# git clone
|
||||
if not os.path.exists(pplnn_dir):
|
||||
os.system(
|
||||
'git clone --depth 1 --branch v0.9.1 https://github.com/openppl-public/ppl.nn/' # noqa: E501
|
||||
'git clone --depth 1 --branch v0.9.2 https://github.com/openppl-public/ppl.nn/' # noqa: E501
|
||||
)
|
||||
|
||||
# build
|
||||
|
|
Loading…
Reference in New Issue