Highlight
- Provide prebuilt packages since v0.5.0
- Decouple `pytorch2onnx` and `onnx2backends`
- Support text detection models PANet, PSENet and DBNet, with CUDA accelerated postprocessing in SDK
- Support MMRotate
Features
- Add prebuild tools (545, 347)
- Experimental executor support in SDK (497)
- Support ViT on ncnn (477, 403)
- Support LiteHRNet on ncnn (316)
- Support more text detection models PANet, PSENet and DBNet, with CUDA accelerated postprocessing in SDK (446, 526, 534)
- Add C API for SDK (388, 535)
- Support ncnn quantization (476)
- Support [RepPoints](https://github.com/open-mmlab/mmdetection/blob/master/configs/reppoints) on TensorRT (#457)
- Support MMRotate on ONNX Runtime and TensorRT (277, 312, 422, 450, 428, 473)
- Support MMRazor (220, 467)
Improvements
- Remove `spdlog` manual installation but still keep it as an option (423, 544)
Users can turn on the following option to use the external spdlog
shell
cmake .. -DMMDEPLOY_SPDLOG_EXTERNAL=ON
- Add SDK python demos (554)
- Add ONNX passes support (390)
- Decouple `pytorch2onnx` and `onnx2backends` (529, 540)
- Add scripts and configs to test metrics of deployed model with all inference backend (425, 302, 551, 542)
- Support MDCN and DeformConv TensorRT FP16 (503, 468)
- Add interactive build script for Linux and NVIDIA platform (399)
- Optimize global average pooling when exporting ONNX (478)
- Refactor `onnx2ncnn`, add test cases and simplify code (436)
- Remove `expand` operation from mmdet rewrite (371)
Bug fixes
- Update CMake scripts to fix building problems (544, 553)
- Make ONNXRuntime wrapper work both for cpu and cuda execution (438, 532)
- Fix PSPNet-TorchScript conversion error (538)
- Resolve the incompatible issue when upgrading MMPose from v0.25.0 to v0.26.0 (518, 527)
- Fix mismatched device issue when testing Mask R-CNN deployed model (511)
- Remove redundant `resize` in mmseg EncoderDecoder rewrite (480)
- Fix display bugs on headless devices (451)
- Fix MMDet3D `pillarencode` deployment failure (331)
- Make the latest `spdlog` compatible (423)
- Fix CI (462, 447, 440, 426, 441)
- Fix a bug that causes exporting to onnx failed with static shape and batch size > 1 (501)
- Make `--work-dir` default to` $pwd` in `tools/deploy.py` (483)
Documentation
- Fix user document errors, reorganize them, update REAME and rewrite the GET_STARTED chapters (418, 482, 509, 531, 547, 543)
- Rewrite the [get_started](https://github.com/open-mmlab/mmdeploy/blob/master/docs/en/01-how-to-build/jetsons.md) for Jetson platforms (#484, 449, 415, 381)
- Fix APIs rendering failure in readthedocs (443)
- Remove '\' in API docstring (495)
- More tutorials in Chinese are checked in - [Tutorial 05: ONNX Model Editing](https://github.com/open-mmlab/mmdeploy/blob/master/docs/zh_cn/05-tutorial/05_onnx_model_editing.md) and [Tutorial 04: onnx custom op](https://github.com/open-mmlab/mmdeploy/blob/master/docs/zh_cn/05-tutorial/04_onnx_custom_op.md) (#508, 517)
Contributors
sanjaypavo PeterH0323 tehkillerbee zytx121 triple-Mu zhiqwang gyf304 lakshanthad Dchaoqun zhouzaida NagatoYuki0943 VVsssssk irexyc RunningLeon hanrui1sensetime lzhangzz grimoire tpoisonooo AllentDan SingleZombie