Skip to content

Commit 6aff399

Browse files
prathikrPrathik Rao
andauthored
set onnxruntime depdency for python winml package to 1.23.2.3 (#590)
Co-authored-by: Prathik Rao <prathikrao@microsoft.com>
1 parent e7deb86 commit 6aff399

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.pipelines/templates/build-python-steps.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,12 @@ steps:
110110
Write-Warning "No FLC wheel found matching $filter in ${{ parameters.flcWheelsDir }}"
111111
}
112112
113-
- script: pip install onnxruntime-core==1.24.3 onnxruntime-genai-core==0.12.1
114-
displayName: 'Install ORT native packages'
113+
- ${{ if eq(parameters.isWinML, true) }}:
114+
- script: pip install onnxruntime-core==1.23.2.3 onnxruntime-genai-core==0.12.1
115+
displayName: 'Install ORT native packages (WinML)'
116+
- ${{ else }}:
117+
- script: pip install onnxruntime-core==1.24.3 onnxruntime-genai-core==0.12.1
118+
displayName: 'Install ORT native packages'
115119

116120
- script: pip install "pydantic>=2.0.0" "requests>=2.32.4" "openai>=2.24.0"
117121
displayName: 'Install pure python dependencies'

.pipelines/templates/test-python-steps.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,12 @@ steps:
9898
Write-Warning "No FLC wheel found matching $filter"
9999
}
100100
101-
- script: pip install onnxruntime-core==1.24.3 onnxruntime-genai-core==0.12.1
102-
displayName: 'Install ORT native packages'
101+
- ${{ if eq(parameters.isWinML, true) }}:
102+
- script: pip install onnxruntime-core==1.23.2.3 onnxruntime-genai-core==0.12.1
103+
displayName: 'Install ORT native packages (WinML)'
104+
- ${{ else }}:
105+
- script: pip install onnxruntime-core==1.24.3 onnxruntime-genai-core==0.12.1
106+
displayName: 'Install ORT native packages'
103107

104108
- script: pip install "pydantic>=2.0.0" "requests>=2.32.4" "openai>=2.24.0"
105109
displayName: 'Install pure python dependencies'

sdk/python/requirements-winml.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ requests>=2.32.4
33
openai>=2.24.0
44
# WinML native binary packages from the ORT-Nightly PyPI feed.
55
foundry-local-core-winml==0.9.0.dev20260331004032
6-
onnxruntime-core==1.24.3
6+
onnxruntime-core==1.23.2.3
77
onnxruntime-genai-core==0.12.1

0 commit comments

Comments
 (0)