Skip to content

Conversation

@PolaKuma
Copy link
Contributor

PR Category

User Experience

PR Types

Bug fixes

Description

card-71500
解决trt_engine绝对路径环境依赖问题
先try用户trt_config设置的绝对路径,如果读取不出来,则从config.prog_file()取到根目录,然后与指定的文件名称进行拼接,再进行读取,如果还是没有该trt文件则报错

@paddle-bot
Copy link

paddle-bot bot commented Apr 15, 2025

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

lizexu123
lizexu123 previously approved these changes Apr 18, 2025
zhangbo9674
zhangbo9674 previously approved these changes Apr 18, 2025
luotao1
luotao1 previously approved these changes Apr 18, 2025
@PolaKuma PolaKuma dismissed stale reviews from luotao1, zhangbo9674, and lizexu123 via 1534bd3 April 18, 2025 11:06
YuanRisheng
YuanRisheng previously approved these changes Apr 22, 2025
@PolaKuma PolaKuma requested review from luotao1 and zhangbo9674 April 22, 2025 12:20
YuanRisheng
YuanRisheng previously approved these changes Apr 27, 2025
@YuanRisheng YuanRisheng merged commit 72b5f9d into PaddlePaddle:develop Apr 29, 2025
48 of 54 checks passed
@PolaKuma PolaKuma deleted the pir_engine_path_bug branch April 29, 2025 06:07
YuexiaSong3 pushed a commit to YuexiaSong3/Paddle that referenced this pull request Apr 29, 2025
…f trt_engine (PaddlePaddle#72278)

* fix

* fix codestyle

* Update tensorrt_engine_instruction.cc

* fix codestyle

* fix codestyle

* Update tensorrt_engine_instruction.cc

* fix codestyle

* Update tensorrt_engine_instruction.cc

* update

* fix codestyle

* fix

* fix codestyle

* Update CMakeLists.txt

* fix codestyle

* delete test refit

* modify the name of flag

* fix codestyle
YqGe585 pushed a commit to YqGe585/Paddle that referenced this pull request May 7, 2025
…f trt_engine (PaddlePaddle#72278)

* fix

* fix codestyle

* Update tensorrt_engine_instruction.cc

* fix codestyle

* fix codestyle

* Update tensorrt_engine_instruction.cc

* fix codestyle

* Update tensorrt_engine_instruction.cc

* update

* fix codestyle

* fix

* fix codestyle

* Update CMakeLists.txt

* fix codestyle

* delete test refit

* modify the name of flag

* fix codestyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants