Skip to content

Conversation

@qti-yuduo
Copy link
Contributor

@qti-yuduo qti-yuduo commented Jul 23, 2025

Motivation and Context

Fix data type check to skip optional I/Os.

Optional inputs/outputs would have empty name, and it's valid ONNX syntax. Without this fix, any model with optional inputs/outputs would fail the check due to missing protobuf fields.

Without this fix, we'd hit error fetching elem_type from protobuf.

2025-07-22 11:14:40.117740035 [I:onnxruntime:, qnn_execution_provider.cc:740 GetSupportedNodes] Validation FAILED for 1 nodes in NodeUnit (Pad) :
	Operator type: Pad Node name: /blocks.4/Pad Node index: 176
	REASON : The tensor doesn't have elem_type.

@jywu-msft
Copy link
Member

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

@azure-pipelines
Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@HectorSVC HectorSVC added the ep:QNN issues related to QNN exeution provider label Jul 28, 2025
@HectorSVC HectorSVC closed this Jul 29, 2025
@HectorSVC HectorSVC reopened this Jul 29, 2025
@HectorSVC
Copy link
Contributor

close and reopen to restart the job

@HectorSVC
Copy link
Contributor

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

@azure-pipelines
Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@HectorSVC HectorSVC merged commit f53d7d8 into microsoft:main Jul 29, 2025
166 of 176 checks passed
sanketkaleoss pushed a commit to sanketkaleoss/onnxruntime that referenced this pull request Aug 11, 2025
### Motivation and Context
Fix data type check to skip optional I/Os.

Optional inputs/outputs would have empty name, and it's valid ONNX syntax. Without this fix, any model with optional inputs/outputs would fail the check due to missing protobuf fields.


Without this fix, we'd hit error fetching `elem_type` from protobuf.
```
2025-07-22 11:14:40.117740035 [I:onnxruntime:, qnn_execution_provider.cc:740 GetSupportedNodes] Validation FAILED for 1 nodes in NodeUnit (Pad) :
	Operator type: Pad Node name: /blocks.4/Pad Node index: 176 	REASON : The tensor doesn't have elem_type.
```
@qti-yuduo qti-yuduo deleted the dev/yuduo/fix-optional branch September 24, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ep:QNN issues related to QNN exeution provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants