Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.

IrError(OutputNodeNotFound("/Cast_output_0")) #210

Description

@BinaryWarlock

Describe the bug
IrError(OutputNodeNotFound("/Cast_output_0"))

To Reproduce
Steps to reproduce the behavior:
Using onnx-clip model which you can grab at https://lakera-clip.s3.eu-west-1.amazonaws.com/clip_image_model_vitb32.onnx (about 336 MiB)

  1. python -m onnxruntime.tools.make_dynamic_shape_fixed --dim_param image_batch_size --dim_value 1 clip_image_model_vitb32.onnx clip_image_model_vitb32_batchsize1.onnx
  2. nnx prepare clip_image_model_vitb32_batchsize1.onnx clip_image_model_vitb32_batchsize1.prepared.onnx
  3. from wonnx import Session; Session.from_path('clip_image_model_vitb32_batchsize1.prepared.onnx')
  4. Receive IrError(OutputNodeNotFound("/Cast_output_0"))

The node does seem to exist when examined in https://netron.app/ so I don't know what's happening here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions