Skip to content

Conversation

ooooo-create
Copy link
Contributor

@ooooo-create ooooo-create commented Aug 24, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

Fix put_along_axis assign with last index with same dst
如果指向输入数据同一个位置有重复的索引,那么采用最后一个,之前的设计就是这样子,但是在大 Tensor 的时候会出现随机,猜测是线程块之后的同步问题导致,判断和赋值的时候出现冲突,所以分成两个单独的过程,先去找对应输入元素的最大 index tid,然后赋值,paddleapitest 测试通过

Copy link

paddle-bot bot commented Aug 24, 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 Aug 24, 2025
@ooooo-create
Copy link
Contributor Author

/re-run all-failed

@ooooo-create ooooo-create changed the title Test 【Hackathon 9th No.19】Fix put_along_axis assign with last index with same dst Aug 24, 2025
@ooooo-create ooooo-create changed the title 【Hackathon 9th No.19】Fix put_along_axis assign with last index with same dst 【Hackathon 9th No.19】Fix put_along_axis assign with last index to same dst Aug 24, 2025
@lshpku lshpku merged commit 8ae12ac into PaddlePaddle:develop Aug 26, 2025
70 of 72 checks passed
@ooooo-create ooooo-create deleted the accuracy_put_along_axis branch September 29, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants