Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

Adopt TRT 10.0 on Paddle-TRT [1/3]

Open leo0519 opened this issue 10 months ago • 6 comments

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

leo0519 avatar Apr 23 '24 00:04 leo0519

你的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.

paddle-bot[bot] avatar Apr 23 '24 00:04 paddle-bot[bot]

  • 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)

leo0519 avatar Apr 24 '24 01:04 leo0519

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.

paddle-ci-bot[bot] avatar May 01 '24 03:05 paddle-ci-bot[bot]

Add new commits.

leo0519 avatar May 09 '24 01:05 leo0519

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)

leo0519 avatar May 15 '24 01:05 leo0519

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.

paddle-ci-bot[bot] avatar May 17 '24 03:05 paddle-ci-bot[bot]

  • 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.

leo0519 avatar May 29 '24 07:05 leo0519