PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
21.64k stars 5.44k forks source link

[PIR] Throw error when OP has no grad OP #63914

Closed SigureMo closed 1 week ago

SigureMo commented 1 week ago

PR Category

Execute Infrastructure

PR Types

Improvements

Description

在添加反向 OP 时,如果找不到 grad OP,应该直接报错,而不是报 warning

closes #63908

PCard-66972

paddle-bot[bot] commented 1 week ago

你的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.