Skip to content

Commit

Permalink
update DirectML version (#790) (#791)
Browse files Browse the repository at this point in the history
Update DirectML version to 1.15.1
  • Loading branch information
ajindal1 authored Aug 13, 2024
1 parent 8c363ec commit a61454c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/win-directml-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ env:
ort_zip: "Microsoft.ML.OnnxRuntime.DirectML.1.17.3.zip"
# TODO: Update with nightly ORT-DML build
ort_url: "https://github.com/microsoft/onnxruntime/releases/download/v1.17.3/Microsoft.ML.OnnxRuntime.DirectML.1.17.3.zip"
dml_dir: "Microsoft.AI.DirectML.1.15.0"
dml_zip: "Microsoft.AI.DirectML.1.15.0.zip"
dml_url: "https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.15.0"
dml_dir: "Microsoft.AI.DirectML.1.15.1"
dml_zip: "Microsoft.AI.DirectML.1.15.1.zip"
dml_url: "https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.15.1"
d3d12_dir: "Microsoft.Direct3D.D3D12.1.614.0"
d3d12_zip: "Microsoft.Direct3D.D3D12.1.614.0.zip"
d3d12_url: "https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.614.0"
Expand Down
6 changes: 3 additions & 3 deletions .pipelines/stages/jobs/capi-packaging-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ jobs:
- name: ortHome
value: 'ort'
- name: dml_dir
value: 'Microsoft.AI.DirectML.1.15.0'
value: 'Microsoft.AI.DirectML.1.15.1'
- name: dml_zip
value: 'Microsoft.AI.DirectML.1.15.0.zip'
value: 'Microsoft.AI.DirectML.1.15.1.zip'
- name: dml_url
value: "https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.15.0"
value: "https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.15.1"

- name: d3d12_dir
value: 'Microsoft.Direct3D.D3D12.1.614.0'
Expand Down
6 changes: 3 additions & 3 deletions .pipelines/stages/jobs/py-packaging-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ jobs:
value: 'Microsoft.ML.OnnxRuntime'

- name: dml_dir
value: 'Microsoft.AI.DirectML.1.15.0'
value: 'Microsoft.AI.DirectML.1.15.1'
- name: dml_zip
value: 'Microsoft.AI.DirectML.1.15.0.zip'
value: 'Microsoft.AI.DirectML.1.15.1.zip'
- name: dml_url
value: "https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.15.0"
value: "https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.15.1"

- name: d3d12_dir
value: 'Microsoft.Direct3D.D3D12.1.614.0'
Expand Down
2 changes: 1 addition & 1 deletion tools/nuget/generate_nuspec_for_native_nuget.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def generate_dependencies(xml_text, package_version, ort_package_name, ort_packa
xml_text.append(f'<dependency id="Microsoft.ML.OnnxRuntimeGenAI.Managed" version="{package_version}" />')
xml_text.append(f'<dependency id="{ort_package_name}" version="{ort_package_version}" />')
if ort_package_name.endswith("DirectML"):
xml_text.append(f'<dependency id="Microsoft.AI.DirectML" version="1.15.0" />')
xml_text.append(f'<dependency id="Microsoft.AI.DirectML" version="1.15.1" />')
xml_text.append("</group>")

xml_text.append("</dependencies>")
Expand Down

0 comments on commit a61454c

Please sign in to comment.