[Dy2St] pir dy2st unittest verification - Part 7 #59016
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
paddle.base.framework.Program
下没有blocks
api 需要适配AttributeError: 'paddle.base.libpaddle.pir.Program' object has no attribute 'blocks'
test_typing
jit.api.save
方法AttributeError: 'list' object has no attribute 'type'
test_gradname_parse
segmentation fault
test_resnet_pure_fp16
NotImplementedError: not implement error.
test_cinn_prim_layer_norm
NotImplementedError: (Unimplemented) Currently we only support CINN Pass for Pir under @to_static, please compile PaddlePaddle with CINN
test_se_resnet
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
相关链接: