Skip to content

【set_value】temp fix Set tensor cuda error #73251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jun 12, 2025

Conversation

xiaoguoguo626807
Copy link
Contributor

@xiaoguoguo626807 xiaoguoguo626807 commented Jun 11, 2025

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

pcard-67164
set_tesnor 在推理模型中有cuda error问题,原因是dst tensor 经过cast 被处理成连续tensor,但是src 仍然是非连续tensor,导致用tensorcopy 按地址和size copy 了错误的地址

Copy link

paddle-bot bot commented Jun 11, 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.

@xiaoguoguo626807 xiaoguoguo626807 changed the title []temp fix Set tensor cuda error 【set_value】temp fix Set tensor cuda error Jun 11, 2025
@xiaoguoguo626807 xiaoguoguo626807 merged commit e07e5a4 into PaddlePaddle:develop Jun 12, 2025
49 of 51 checks passed
@xiaoguoguo626807 xiaoguoguo626807 deleted the set_tensor branch June 12, 2025 07:40
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.

2 participants