Skip to content

Conversation

@lshpku
Copy link
Contributor

@lshpku lshpku commented Jun 15, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

修复paddle.take_along_axis的大Tensor问题,可通过error_log里的全部9个case

原Kernel里本来就是int和int64混用的,所以我统一改成int64了,对性能无影响

另外,由于paddle.put_along_axis也是共用这个Kernel,所以理论上本PR也把put_along_axis修了,但是由于PaddleAPITest里测试put_along_axis的case都有问题,所以暂时没法测试

Pcard-85711

@lshpku lshpku force-pushed the fix-take-along-axis-3 branch from 8a400f9 to 83ab266 Compare June 15, 2025 03:49
@lshpku lshpku merged commit eb9af7c into PaddlePaddle:develop Jun 15, 2025
68 of 73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants