Paddle
Paddle copied to clipboard
Adopt TRT 10.0 on Paddle-TRT [1/3]
PR Category
Others
PR Types
Bug fixes
Description
TRT 10.0 removed several deprecated APIs. This MR supports Paddle-TRT with the compatibility between TRT 8.0 ~ 10.0.
- Replace deprecated APIs
- Add macro for previous version of TRT
你的PR提交成功,感谢你对开源项目的贡献! 请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。 Your PR has been submitted. Thanks for your contribution! Please wait for the result of CI firstly. See Paddle CI Manual for details.
- PR-CI-APPROVAL:
2024-04-23 08:40:15 0. You must have one QA (XieYunshen(Recommend) or chalsliu) approval for setting parameter RUN_TYPE as EXCLUSIVE, DIST, HYBRID, NIGHTLY, EXCLUSIVE:NIGHTLY or DISTNIGHTLY, or setting parameter SERIAL, or setting TIMEOUT properties.
2024-04-23 08:40:15 The corresponding lines are as follows:
2024-04-23 08:40:15 test/ir/inference/CMakeLists.txt
2024-04-23 08:40:15 + set_tests_properties(test_seq_concat_fc_fuse_pass PROPERTIES TIMEOUT 200)
2024-04-23 08:40:15 For more information, please refer to:https://github.com/PaddlePaddle/Paddle/wiki/PaddlePaddle-Unit-test-specification
2024-04-23 08:40:15 There are 1 approved errors.
- PR-CI-Coverage: should be exempted (TRT version in CI < 8.6)
Sorry to inform you that 41a5956's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.
Add new commits.
PR-CI-APPROVAL:
2024-05-09 08:50:38 ****************
2024-05-09 08:50:38 0. You must have raindrops2sea or XiaoguangHu01 approval for change 20+ files or add than 1000+ lines of content.
2024-05-09 08:50:38 1. The error message you wrote in PADDLE_ENFORCE{_**} or PADDLE_THROW does not meet our error message writing specification. Possible errors include 1. the error message is empty / 2. the error message is too short / 3. the error type is not specified. Please read the specification [ https://github.com/PaddlePaddle/Paddle/wiki/Paddle-Error-Message-Writing-Specification ], then refine the error message. If it is a mismatch, please request chenwhql (Recommend), luotao1 or lanxianghit or Aurelius84 review and approve.
2024-05-09 08:50:38 The PADDLE_ENFORCE{_**} or PADDLE_THROW entries that do not meet the specification are as follows:
2024-05-09 08:50:38 PADDLE_ENFORCE_NOT_NULL(matmul_layer, + "TRT matrixmultiply layer building failed."));
2024-05-09 08:50:38 PADDLE_ENFORCE_NOT_NULL(add_layer, + "TRT elementwise add layer building failed."));
2024-05-09 08:50:38 2. You must have one QA (XieYunshen(Recommend) or chalsliu) approval for setting parameter RUN_TYPE as EXCLUSIVE, DIST, HYBRID, NIGHTLY, EXCLUSIVE:NIGHTLY or DISTNIGHTLY, or setting parameter SERIAL, or setting TIMEOUT properties.
2024-05-09 08:50:38 The corresponding lines are as follows:
2024-05-09 08:50:38 test/ir/inference/CMakeLists.txt
2024-05-09 08:50:38 + set_tests_properties(test_seq_concat_fc_fuse_pass PROPERTIES TIMEOUT 200)
2024-05-09 08:50:38 For more information, please refer to:https://github.com/PaddlePaddle/Paddle/wiki/PaddlePaddle-Unit-test-specification
2024-05-09 08:50:38 There are 3 approved errors.
2024-05-09 08:50:38 ****************
PR-CI-Coverage: should be exempted (TRT version in CI < 8.6)
Sorry to inform you that 246fc8b's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.
- PR-CI-Coverage: This should be exempted since the original UTs do not cover all of op converters in Paddle-TRT.
- PR-CI-APPROVAL:
2024-05-24 08:49:45 0. You must have raindrops2sea or XiaoguangHu01 approval for change 20+ files or add than 1000+ lines of content.
2024-05-24 08:49:45 1. You must have one QA (XieYunshen(Recommend) or chalsliu) approval for setting parameter RUN_TYPE as EXCLUSIVE, DIST, HYBRID, NIGHTLY, EXCLUSIVE:NIGHTLY or DISTNIGHTLY, or setting parameter SERIAL, or setting TIMEOUT properties.
2024-05-24 08:49:45 The corresponding lines are as follows:
2024-05-24 08:49:45 test/ir/inference/CMakeLists.txt
2024-05-24 08:49:45 + set_tests_properties(test_seq_concat_fc_fuse_pass PROPERTIES TIMEOUT 200)
2024-05-24 08:49:45 For more information, please refer to:https://github.com/PaddlePaddle/Paddle/wiki/PaddlePaddle-Unit-test-specification
2024-05-24 08:49:45 There are 2 approved errors.