mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-28 20:11:22 +00:00
[QNN EP] Update QNN SDK to 2.25 (#21623)
### Description - Update pipelines to use QNN SDK 2.25 by default - Update ifdef condition to apply workaround for QNN LayerNorm validation bug to QNN SDK 2.25 (as well as 2.24) ### Motivation and Context Use the latest QNN SDK
This commit is contained in:
parent
0d1da41ca8
commit
0acefc7988
14 changed files with 16 additions and 16 deletions
|
|
@ -87,10 +87,10 @@ Status LayerNormOpBuilder::ProcessInputs(QnnModelWrapper& qnn_model_wrapper,
|
|||
ORT_RETURN_IF_ERROR(ProcessInput(qnn_model_wrapper, inputs[BIAS_IDX], logger, input_names));
|
||||
}
|
||||
|
||||
#if QNN_API_VERSION_MAJOR == 2 && QNN_API_VERSION_MINOR == 17
|
||||
#if QNN_API_VERSION_MAJOR == 2 && (QNN_API_VERSION_MINOR == 17 || QNN_API_VERSION_MINOR == 18)
|
||||
if (!has_bias_input && IsNpuBackend(qnn_model_wrapper.GetQnnBackendType())) {
|
||||
// Bias is implicit. QNN SDK 2.24 (QNN API version 2.17) has a validation bug for implicit bias inputs, so provide
|
||||
// an explicit bias of all 0 (quantized int32).
|
||||
// Bias is implicit. QNN SDK 2.24/2.25 (QNN API version 2.17/2.18) has a validation bug for implicit bias inputs,
|
||||
// so provide an explicit bias of all 0 (quantized int32).
|
||||
TensorInfo x_input_info = {};
|
||||
ORT_RETURN_IF_ERROR(qnn_model_wrapper.GetTensorInfo(inputs[X_IDX], x_input_info));
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK version
|
||||
type: string
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
jobs:
|
||||
- job: Build_QNN_EP
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK Version
|
||||
type: string
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK version
|
||||
type: string
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
jobs:
|
||||
- job: Build_QNN_EP
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ parameters:
|
|||
- name: qnn_sdk_version
|
||||
type: string
|
||||
displayName: 'QNN SDK version. Only for QNN packages.'
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
trigger: none
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK Version
|
||||
type: string
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
- name: build_config
|
||||
displayName: Build Configuration
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
parameters:
|
||||
- name: QnnSDKVersion
|
||||
type: string
|
||||
default: '2.24.0.240626'
|
||||
default: '2.25.0.240728'
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
parameters:
|
||||
- name: QnnSDKVersion
|
||||
type: string
|
||||
default: '2.24.0.240626'
|
||||
default: '2.25.0.240728'
|
||||
|
||||
steps:
|
||||
- powershell: |
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ parameters:
|
|||
- name: qnn_sdk_version
|
||||
type: string
|
||||
displayName: 'QNN SDK version. Only for QNN packages.'
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
stages:
|
||||
- ${{ if eq(parameters.enable_windows_cpu, true) }}:
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ parameters:
|
|||
- name: QNN_SDK
|
||||
displayName: QNN SDK Version
|
||||
type: string
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
- name: PYTHON_VERSION
|
||||
type: string
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ parameters:
|
|||
- name: QNN_SDK
|
||||
displayName: QNN SDK Version
|
||||
type: string
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
- name: ENV_SETUP_SCRIPT
|
||||
type: string
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
parameters:
|
||||
QnnSdk: '2.24.0.240626'
|
||||
QnnSdk: '2.25.0.240728'
|
||||
build_config: 'RelWithDebInfo'
|
||||
IsReleaseBuild: false
|
||||
DoEsrp: false
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK version
|
||||
type: string
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
jobs:
|
||||
- job: 'build'
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK version
|
||||
type: string
|
||||
default: 2.24.0.240626
|
||||
default: 2.25.0.240728
|
||||
|
||||
jobs:
|
||||
- job: 'build'
|
||||
|
|
|
|||
Loading…
Reference in a new issue