Skip to content

Crash when string input is empty or just white space. #221

@joburkho

Description

@joburkho

Actual: For the attached valid model using operators from onnxruntime-extensions, the onnxruntime crashes when the input_text parameter is an empty string or just whitespace.

Expected: For the attached valid model using operators from onnxruntime-extensions, the onnxruntime should not crash when the input_text parameter is an empty string or just whitespace.

onnx_prefilter_model.extended.optimized.onnx.zip

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