Skip to content

Conversation

youge325
Copy link

PR Category

Environment Adaptation

PR Types

Bug fixes

Description

修复了使用VS2022编译时遇到的bug,目前cmake .. -GNinja -DWITH_GPU=OFF -DWITH_UNITY_BUILD=ON可以正确编译CPU版本,paddle.utils.run_check()也能跑通,但是GPU版本对CUDA13.0的适配还有点问题,后面会再提一个PR

Copy link

paddle-bot bot commented Sep 29, 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 Sep 29, 2025
@youge325
Copy link
Author

youge325 commented Oct 1, 2025

使用cuda13在Linux上编译GPU版本的的wheel包无法链接cublas的问题已在 #75509 中解决,在Windows上的解决方案已在 #75654 中解决,cmake命令cmake .. -GNinja -DWITH_GPU=ON -DWITH_UNITY_BUILD=ON -DCUDA_ARCH_NAME=Auto -DWITH_TENSORRT=ON -DTENSORRT_ROOT=D:\TensorRT-10.13.3.9,在RTX3070上编译,驱动程序版本581.29,cuda版本13.0.1,cudnn版本9.13.1,paddle.utils.run_check()可以正常跑通

@youge325 youge325 changed the title [API compatibility] fix bugs when compile with VS2022 fix bugs when compiling with VS2022 Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant