Adapt `X2Paddle` to PaddlePaddle 3.0, and the test cases of `test_benchmark` can be verified under:
- python == 3.9
- paddlepaddle == 3.0.0beta1
- tensorflow == 2.16.1
- onnx == 1.17.0
- torch == 2.4.1
What's Changed
- [Bug] Fixed onnx `Pad` op with length `-1`. by megemini in 1058
- [Bug] Fixed version check for PaddlePaddle. by megemini in 1064
- [Bug] Fixed pytorch op mapper `aten_linear`. by megemini in 1079
- [Bug] Fixed onnx unknow dimension. by megemini in 1082
- [Bug] Fixed the usage of `easyocr.Reader` for `1.7.2`. by megemini in 1084
- [Bug] Fixed tensorflow manually updates shapes. by megemini in 1089
- Update `Dockerfile`. by megemini in 1061 luotao1 in 1105
- Update `LOD_TENSOR` to `DENSE_TENSOR`. by co63oc in 1095
- Update `x2paddle` usage of `paddle.fluid` for PaddlePaddle 3.0 by megemini in 1087
- Update `x2paddle` usage of `paddle.jit.to_static` with `AST` mode for PaddlePaddle 3.0. by megemini in 1093
- Update `test_benchmark` compatiblity for PaddlePaddle 3.0 by megemini
- Remove `paddle.fluid` and update the usage of `paddle.static.load_inference_model` in 1058 1065 1067 1068 1069 1070 1071 1073 1075 1076 1078 1079 1080 1082 1083 1084 1089 1091
- Update onnx `one_hot` type promotion compatiblity for PaddlePaddle 3.0. by megemini in 1082
- Update onnx `nms3` api compatiblity for PaddlePaddle 3.0. by megemini in 1082
- Update onnx `roi_align` api compatiblity for PaddlePaddle 3.0. by megemini in 1082
- Update `docs` for PaddlePaddle 3.0 by megemini in 1088 1098 1101 1103
- Add new models in `test_benchmark` by megemini
- pytorch `GPT2` 1085
- pytorch `MT5_small` 1086
- pytorch `YOLOv5` 1099
- Add pytorch `aten::pad` and fix related `test_benchmark` test cases. by megemini in 1073
- Add pytorch `aten::list` and fix related `test_benchmark` test cases. by megemini in 1075
- Add pytorch `aten::aten_linalg_vector_norm` and fix related `test_benchmark` test cases. by megemini in 1076
- Add pytorch `aten::scaled_dot_product_attention` and fix related `test_benchmark` test cases. by megemini in 1078
- Add pytorch `aten::unsafe_chunk` and fix related `test_benchmark` test cases. by megemini in 1080
- Add `black.list` in `test_benchmark` to control CI. by megemini in 1061
- Remove Python 2.0 support for `raw_input`. by megemini in 1083