PaddlePaddle / Paddle

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

【Hackathon 6th Fundable Projects 3 No.82】fluid operator cudnn_lstm #63936

Closed co63oc closed 1 week ago

co63oc commented 3 weeks ago

PR Category

Others

PR Types

Others

Description

迁移 cudnn_lstm

修改输入vector类型字段可选,输出字段获取.size()信息 paddle/fluid/pir/dialect/op_generator/op_infermeta_func_gen.py 有bug

EagerUtils::nullable_autograd_meta 增加optional类型处理

paddle-bot[bot] commented 3 weeks 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.

co63oc commented 2 weeks ago

已有cu代码中没有input_size字段,所以去掉了input_size image

co63oc commented 1 week ago

paddle/fluid/operators/cudnn_lstm_op.cc paddle/fluid/operators/ops_signature/cudnn_lstm_sig.cc 这两个文件还不能删除。op.cc里的Maker还要用于老的Program的加载。sig.cc还要用于基于Operator的使用范式翻译PHI签名使用。

不大明白,phi中如果配置了ops.yaml会生成签名sig文件,这里删除 sig文件 CI是可以通过的 @wanghuancoder

co63oc commented 1 week ago

paddle/fluid/operators/ops_signature/generated_sig.cc 会生成 sig信息 image

paddle/fluid/operators/generated_op1.cc 生成OpMaker image