Skip to content

Pass "rewrite_input_dtype" gives an error on GPT-2. #170

@nick-louloudakis

Description

@nick-louloudakis

I recently used GPT-2, with opset=10 from ONNX Hub.
While applying the rewrite_input_dtype pass, I encountered the C.check_model_path(\nonnx.onnx_cpp2py_export.checker.ValidationError: Graph must be in single static assignment (SSA) form, however \\'2907\\' has been used as output names multiple times.\n error.

This did happen with other classification or object detection models, and I tried the vast majority of the ones from the ONNX Hub.

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