onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

[QNN EP] Handle 0-dim tensor for Concat.

Open minfhong-qti opened this issue 1 month ago • 2 comments

Description

Define a util function IsNullNodeUnitIODef to check whether given tensor has 0-dim in shape. To restrict the impact, current implementation only skip constructing such tensor for Concat.

Motivation and Context

There may exsit tensor with 0-dim in shape, especially for Concat's inputs. Such null inputs often exist in models saved from PyTorch. Since QNN could not execute empty tensors, they must be explicitly handled.

minfhong-qti avatar Nov 24 '25 02:11 minfhong-qti

/azp run Linux QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows ARM64 QNN CI Pipeline,Windows GPU Doc Gen CI Pipeline

edgchen1 avatar Dec 12 '25 00:12 edgchen1

Azure Pipelines successfully started running 4 pipeline(s).

azure-pipelines[bot] avatar Dec 12 '25 00:12 azure-pipelines[bot]