Skip to content

Failed to convert PaddlePaddle model: (Unimplemented) the 0th elementwise MUST be ir::FloatAttribute #1618

@NIKovachev

Description

@NIKovachev

Please fill in the information below so that we can solve the problem quickly, Thanks !
@0x3878f can you help us with this issue? it seems we cant convert anything from PaddleX. Do you know any workarounds?

Describe the bug
Failed to convert PaddlePaddle model: (Unimplemented) the 0th elementwise MUST be ir::FloatAttribute

Informations (please complete the following information):

  • Inference engine for deployment:
  • Why convert to onnx:
  • Paddle2ONNX Version: paddle2onnx-2.0.1
  • Email/Wechat/Phone:

Screenshots

Additional context
root@pp-kovachev-dev:/workspace/repos/PaddleX# paddle2onnx
--model_dir /workspace/repos/PaddleX/output/best_model/exported_model
--model_filename inference.json
--params_filename inference.pdiparams
--save_file ppyoloe_plus_s_rknn.onnx
--opset_version 11
--enable_onnx_checker True

[Paddle2ONNX] Start parsing the Paddle model file...
[Paddle2ONNX] Use opset_version = 11 for ONNX export.
2026-01-02 13:56:27 [ERROR] Failed to convert PaddlePaddle model: (Unimplemented) the 0th elementwise MUST be ir::FloatAttribute
[Hint: Expected array_list[0].isa<::pir::FloatAttribute>() == true, but received array_list[0].isa<::pir::FloatAttribute>():0 != true:1.] (at /github/workspace/paddle2onnx/parser/pir_parser.cc:814)
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions