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

【Fix PIR Unittest No.125、147、481】Fix some 0D uts in PIR mode (part1) #64064

Closed SigureMo closed 1 week ago

SigureMo commented 1 week ago

PR Category

Execute Infrastructure

PR Types

Others

Description

根据 #62652,setitem 等 API 均为无须适配的 API,相关单测直接移入 _deprecated 后缀单测

test_zero_dim_sundry_dygraph_api 为 API 适配问题,需要修复,问题为 is_interger API 适配没有考虑到动态图在 PIR 模式下 Tensor.dtype 也已经切换到 DataType,因此动态图也考虑即可

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.