Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DML EP] Fix external data unpacking #19415

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

PatriceVignola
Copy link
Contributor

Description

This change 55a6694 didn't take into account external data when unpacking initializer, and therefore crashes when trying to unpack them.

@PatriceVignola PatriceVignola merged commit 302d4be into main Feb 7, 2024
105 checks passed
@PatriceVignola PatriceVignola deleted the user/pavignol/fix-external-data-unpacking branch February 7, 2024 01:10

if (constantInput && tensorDesc->totalTensorSizeInBytes < c_maxConstNodeDataSize)
if (tensorDesc->totalTensorSizeInBytes < c_maxConstNodeDataSize)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be <=? I presume c_maxConstNodeDataSize is inclusive.

@sophies927 sophies927 added the triage:approved Approved for cherrypicks for release label Feb 7, 2024
YUNQIUGUO pushed a commit that referenced this pull request Feb 8, 2024
### Description
This change
55a6694
didn't take into account external data when unpacking initializer, and
therefore crashes when trying to unpack them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:1.17.1 triage:approved Approved for cherrypicks for release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants