Skip to content

Conversation

@ooooo-create
Copy link
Contributor

@ooooo-create ooooo-create commented Mar 23, 2025

PR Category

Execute Infrastructure

PR Types

Others

Description

Pcard-67164

  • fix clip_decomp with where instead of maximum

前置需要 #71895 合入,不然新加的单测应该过不了

因为 clip 的 min 和 max 在和输入相等时并不需要梯度,使用 maximum,minimum 拆解在遇到相等时会按照普通 Tensor 一样分掉一半梯度,导致反向出现精度误差

@paddle-bot
Copy link

paddle-bot bot commented Mar 23, 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.

@ooooo-create ooooo-create changed the title clip_decomp [Prim] fix clip_decomp with where instead of maximum Mar 25, 2025
@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Apr 6, 2025

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

@zyfncg zyfncg merged commit f0674dd into PaddlePaddle:develop Apr 11, 2025
33 of 34 checks passed
YqGe585 pushed a commit to YqGe585/Paddle that referenced this pull request May 7, 2025
) * clip_decomp * refine and add tests * fix typos * open tests && fix typos
@ooooo-create ooooo-create deleted the clip_decomp branch September 29, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants