Skip to content

Conversation

@NKNaN
Copy link
Contributor

@NKNaN NKNaN commented Jun 12, 2025

PR Category

Execute Infrastructure

PR Types

Improvements

Description

![image](https://github.com/user-attachments/assets/9ef0cce9-8a84-489a-96ee-565903aa241d)
![image](https://github.com/user-attachments/assets/623742f8-cb88-40f5-b81a-518b0b216e46)
精度差异的原因应该是原kernel的实现导致内存重叠了,修改了一下实现方法。

回测结果:
![image](https://github.com/user-attachments/assets/1b4166ff-84d0-42e0-94fb-9691980525a3)

update:
aistudio 复现 PaddleAPITest 的问题原因是 torch.Tensor.set_ 会有内存重叠的问题,paddle.Tensor.set_ 不会:
image

但在本机(windows)上发现 torch.Tensor.set_ 不会产生内存重叠的问题
image

本机 gpu 上 paddle.Tensor.set_ 不会产生
image

本机 cpu 上 paddle.Tensor.set_ 会产生
image

不知道这个问题和系统是否有关

@paddle-bot
Copy link

paddle-bot bot commented Jun 12, 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 Jun 12, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jun 13, 2025
@NKNaN NKNaN changed the title [Accuracy diff No.147] Fix accuracy diff for paddle.Tensor.set_ API [Accuracy diff No.68, 147] Fix accuracy diff for paddle.Tensor.set_ API Jun 14, 2025
@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Jun 24, 2025

Sorry to inform you that 8ffd2fe's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@luotao1
Copy link
Contributor

luotao1 commented Jul 18, 2025

还更新么

@NKNaN
Copy link
Contributor Author

NKNaN commented Jul 22, 2025

还更新么

不了

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

Labels

contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants