Skip to content

Conversation

@co63oc
Copy link
Contributor

@co63oc co63oc commented Jun 18, 2025

paddle.cdist为python端算子,使用paddle.empty, paddle.zeros,反向为空
image

复制配置到 tester/api_config/5_accuracy/accuracy_gpu_error_grads_diff.txt

PaddleAPITest 测试通过
image

@paddle-bot
Copy link

paddle-bot bot commented Jun 18, 2025

Thanks for your contribution!

Copy link
Collaborator

@cangtianhuang cangtianhuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

torch.cdist has backward while paddle doesn't, it's a behavioral difference that should be addressed. LGTM!

@cangtianhuang cangtianhuang merged commit 82a09c8 into PFCCLab:main Jun 19, 2025
@co63oc co63oc deleted the fix23 branch June 22, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants