Skip to content

Conversation

@co63oc
Copy link
Contributor

@co63oc co63oc commented Jul 18, 2025

PR Category

User Experience

PR Types

Others

Description

cuda 12.9 安装的是 TensorRT 10.12.0.36
TensorRT 10.12.0.36 中 版本信息文件/usr/include/x86_64-linux-gnu/NvInferVersion.h,格式为

#define TRT_MAJOR_ENTERPRISE 10 #define TRT_MINOR_ENTERPRISE 12 #define TRT_PATCH_ENTERPRISE 0 #define TRT_BUILD_ENTERPRISE 36 #define NV_TENSORRT_MAJOR TRT_MAJOR_ENTERPRISE //!< TensorRT major version. #define NV_TENSORRT_MINOR TRT_MINOR_ENTERPRISE //!< TensorRT minor version. #define NV_TENSORRT_PATCH TRT_PATCH_ENTERPRISE //!< TensorRT patch version. #define NV_TENSORRT_BUILD TRT_BUILD_ENTERPRISE //!< TensorRT build number. 

修改cmake中获取版本信息代码

@paddle-bot
Copy link

paddle-bot bot commented Jul 18, 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.

@paddle-bot paddle-bot bot added the contributor External developers label Jul 18, 2025
@co63oc co63oc changed the title Fix cmake check tensorrt in TensorRT 10.12.0.36 Fix cmake check tensorrt with TensorRT 10.12.0.36 Jul 18, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Jul 18, 2025

/re-run all-failed

@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Jul 21, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Jul 22, 2025

@risemeup1 CI已完成需要review

@luotao1 luotao1 merged commit 7d3076e into PaddlePaddle:develop Jul 22, 2025
73 of 74 checks passed
@co63oc co63oc deleted the h27 branch July 23, 2025 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource 快乐开源活动issue与PR

4 participants