Skip to content

Commit

Permalink
[DML EP] Update DML preview package (#18545)
Browse files Browse the repository at this point in the history
### Description
Update DML binary to the latest preview package.
[DML1.13.0-devb7c99852e0b25080ea3388fea784008631dfd4c4](https://www.nuget.org/packages/Microsoft.AI.DirectML.Preview/1.13.0-devb7c99852e0b25080ea3388fea784008631dfd4c4)



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
  • Loading branch information
sumitsays authored Nov 21, 2023
1 parent 2decad1 commit 4272d10
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pipelines/nuget_config/x64/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="python" version="3.9.7" targetFramework="native" />
<package id="Microsoft.AI.DirectML.Preview" version="1.13.0-deva1b3004dcdd5129a89af283b8e04f34f6c0467fc" targetFramework="native" />
<package id="Microsoft.AI.DirectML.Preview" version="1.13.0-devb7c99852e0b25080ea3388fea784008631dfd4c4" targetFramework="native" />
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
</packages>
2 changes: 1 addition & 1 deletion .pipelines/nuget_config/x86/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="pythonx86" version="3.9.7" targetFramework="native" />
<package id="Microsoft.AI.DirectML.Preview" version="1.13.0-deva1b3004dcdd5129a89af283b8e04f34f6c0467fc" targetFramework="native" />
<package id="Microsoft.AI.DirectML.Preview" version="1.13.0-devb7c99852e0b25080ea3388fea784008631dfd4c4" targetFramework="native" />
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
</packages>
2 changes: 1 addition & 1 deletion cmake/external/dml.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if (NOT onnxruntime_USE_CUSTOM_DIRECTML)
set(NUGET_CONFIG ${PROJECT_SOURCE_DIR}/../NuGet.config)
set(PACKAGES_CONFIG ${PROJECT_SOURCE_DIR}/../packages.config)
get_filename_component(PACKAGES_DIR ${CMAKE_CURRENT_BINARY_DIR}/../packages ABSOLUTE)
set(DML_PACKAGE_DIR ${PACKAGES_DIR}/Microsoft.AI.DirectML.Preview.1.13.0-deva1b3004dcdd5129a89af283b8e04f34f6c0467fc)
set(DML_PACKAGE_DIR ${PACKAGES_DIR}/Microsoft.AI.DirectML.Preview.1.13.0-devb7c99852e0b25080ea3388fea784008631dfd4c4)

# Restore nuget packages, which will pull down the DirectML redist package.
add_custom_command(
Expand Down
2 changes: 1 addition & 1 deletion packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.AI.DirectML.Preview" version="1.13.0-deva1b3004dcdd5129a89af283b8e04f34f6c0467fc" targetFramework="native" />
<package id="Microsoft.AI.DirectML.Preview" version="1.13.0-devb7c99852e0b25080ea3388fea784008631dfd4c4" targetFramework="native" />
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
<package id="google.protobuf.tools" version="3.21.12" targetFramework="native" />
</packages>
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 @@ -194,7 +194,7 @@ def generate_repo_url(line_list, repo_url, commit_id):


def generate_dependencies(xml_text, package_name, version):
dml_dependency = '<dependency id="Microsoft.AI.DirectML.Preview" version="1.13.0-deva1b3004dcdd5129a89af283b8e04f34f6c0467fc"/>'
dml_dependency = '<dependency id="Microsoft.AI.DirectML.Preview" version="1.13.0-devb7c99852e0b25080ea3388fea784008631dfd4c4"/>'

if package_name == "Microsoft.AI.MachineLearning":
xml_text.append("<dependencies>")
Expand Down

0 comments on commit 4272d10

Please sign in to comment.