Skip to content

Conversation

@Honry
Copy link
Contributor

@Honry Honry commented Feb 28, 2024

Some optional input is presented as empty string, we should not only check if the input size is correct, but also check if the optional input is not empty.

e.g. Pad node has empty optional input in sam-b-encoder.onnx model:
image

Some optional input is presented as empty string, we should
not only check if the input size is correct, but also check if
the optional input is not empty.
@Honry
Copy link
Contributor Author

Honry commented Feb 28, 2024

@fdwr, @guschmue, PTAL, thanks!

Copy link
Contributor

@fdwr fdwr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Wanming.

@fdwr
Copy link
Contributor

fdwr commented Mar 6, 2024

/azp run Linux CPU CI Pipeline,Linux CPU Minimal Build E2E CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline,Linux OpenVINO CI Pipeline,Linux QNN CI Pipeline,MacOS CI Pipeline,Windows ARM64 QNN CI Pipeline,Windows CPU CI Pipeline

@fdwr
Copy link
Contributor

fdwr commented Mar 6, 2024

/azp run Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline,onnxruntime-binary-size-checks-ci-pipeline,orttraining-linux-ci-pipeline,orttraining-linux-gpu-ci-pipeline,orttraining-ortmodule-distributed

@fdwr
Copy link
Contributor

fdwr commented Mar 6, 2024

/azp run ONNX Runtime Web CI Pipeline,Windows x64 QNN CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 6 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 9 pipeline(s).

@fdwr
Copy link
Contributor

fdwr commented Mar 6, 2024

The failure says "CPUExecutionProvider", and so I don't think it is related to your change 🤔. https://github.com/microsoft/onnxruntime/pull/19686/checks?check_run_id=22329483029

ONNX Runtime Web CI Pipeline
NoZeroPoint_NoBias_test_S8S8
`/mnt/vss/_work/1/s/onnxruntime/test/providers/checkers.cc:484: provider type: CPUExecutionProvider`

@fdwr
Copy link
Contributor

fdwr commented Mar 6, 2024

/azp run Big Models

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@fdwr fdwr merged commit 1ce5bfb into microsoft:main Mar 7, 2024
zz002 pushed a commit to zz002/onnxruntime that referenced this pull request Mar 7, 2024
Some optional input is presented as empty string, we should not only
check if the input size is correct, but also check if the optional input
is not empty.

e.g. Pad node has empty optional input in sam-b-encoder.onnx model:
<img width="514" alt="image"
src="https://github.com/microsoft/onnxruntime/assets/3271201/cc3b06fe-46b9-4ee7-aca5-157bdf112856">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants