-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[VitisAI] Remove 4k alignment from preferred allocator #25447
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
[VitisAI] Remove 4k alignment from preferred allocator #25447
Conversation
|
/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows x64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes 4K memory alignment requirements from the VitisAI execution provider as a temporary fix for IO binding issues with the update_inplace method of OrtValue in ORT 1.23.
- Removes
kAlloc4KAlignmentparameter from OrtDevice constructor in the execution provider initialization - Removes
kAlloc4KAlignmentparameter from OrtDevice constructor in the preferred allocators creation method
|
/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows x64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
6de0401 to
d8ad2b6
Compare
onnxruntime/core/providers/vitisai/vitisai_execution_provider.cc
Outdated
Show resolved
Hide resolved
- Short term solution for IO binding issue with update_inplace method of OrtValue
yuslepukhin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
|
/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows x64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
Short term solution for IO binding issue with `update_inplace` method of `OrtValue`. ### Description With ORT 1.23 (main), there seem to be an issue with IOBind feature with 4k aligned preferred allocator. Remove the 4k alignment requirement for now for a temp fix. ### Motivation and Context - Fixes issues with IO Binding for few critical models. - Will bring back 4k alignment when we have a appropriate fix in.
Short term solution for IO binding issue with `update_inplace` method of `OrtValue`. ### Description With ORT 1.23 (main), there seem to be an issue with IOBind feature with 4k aligned preferred allocator. Remove the 4k alignment requirement for now for a temp fix. ### Motivation and Context - Fixes issues with IO Binding for few critical models. - Will bring back 4k alignment when we have a appropriate fix in.
Short term solution for IO binding issue with
update_inplacemethod ofOrtValue.Description
With ORT 1.23 (main), there seem to be an issue with IOBind feature with 4k aligned preferred allocator.
Remove the 4k alignment requirement for now for a temp fix.
Motivation and Context