Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dy2St] pir dy2st unittest verification - Part 7 #59016

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

gouzil
Copy link
Member

@gouzil gouzil commented Nov 15, 2023

PR types

Others

PR changes

Others

Description

状态 单测 错误类别 备注 报错信息
test_closure_analysis
test_warning 控制流 暂不支持控制流 TypeError: The type of 'input' in ConditionalBlock must be <class 'paddle.base.framework.Variable'>, but received <class 'paddle.base.libpaddle.pir.OpResult'>.
test_op_attr: test_set_op_attrs_with_sub_block 控制流 paddle.static.nn.control_flow.ConditionalBlock 需要适配 TypeError: The type of 'input' in ConditionalBlock must be (<class 'paddle.base.framework.Variable'>, <class 'paddle.Tensor'>), but received <class 'paddle.base.libpaddle.pir.OpResult'>
test_op_attr: test_set_op_attrs API paddle.base.framework.Program下没有blocks api 需要适配 AttributeError: 'paddle.base.libpaddle.pir.Program' object has no attribute 'blocks'
test_typing API 需要适配jit.api.save方法 AttributeError: 'list' object has no attribute 'type'
test_gradname_parse 动转静执行 段错误 segmentation fault
test_resnet_pure_fp16 AMP 动转静 AMP 尚未支持 NotImplementedError: not implement error.
test_cinn_prim_layer_norm 待明确 需要带 CINN 编译,应该也跑不通 NotImplementedError: (Unimplemented) Currently we only support CINN Pass for Pir under @to_static, please compile PaddlePaddle with CINN
test_se_resnet API paddle.tensor.math._multiply_with_axis需要适配 TypeError: Cannot interpret '<DataType.FLOAT32: 10>' as a data type
test_se_resnet 动转静执行 _multiply_with_axis 直接添加 in_dynamic_or_pir_mode 适配后在执行时报错 Destoryed a op_result that is still in use. The owner op type is:pd_op.full_like
test_gradient_aggregation
test_return 控制流 暂不支持控制流 TypeError: The type of 'input' in ConditionalBlock must be <class 'paddle.base.framework.Variable'>, but received <class 'paddle.base.libpaddle.pir.OpResult'>.
test_jit_property_save

相关链接:

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

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

LGTMeow

test_return 看起来没必要 full_graph=True,按理说可以把装饰器拿下来的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants