Skip to content

Add PE version info to onnxruntime_providers_vitisai.dll#27626

Merged
adrianlizarraga merged 1 commit intomicrosoft:mainfrom
xhan65:user/xiha/add-vitisai-dll-version
Mar 13, 2026
Merged

Add PE version info to onnxruntime_providers_vitisai.dll#27626
adrianlizarraga merged 1 commit intomicrosoft:mainfrom
xhan65:user/xiha/add-vitisai-dll-version

Conversation

@xhan65
Copy link
Copy Markdown
Contributor

@xhan65 xhan65 commented Mar 11, 2026

Description

Add a Windows VERSIONINFO resource (.rc file) for the Vitis AI provider DLL, following the same pattern used for CUDA, TensorRT, and QNN EPs (added in #24606). This embeds the ORT version into the DLL's PE header so it shows up in file properties.

Motivation and Context

Need version in onnxruntime_providers_vitisai.dll to track changes.

Add a Windows VERSIONINFO resource (.rc file) for the Vitis AI provider
DLL, following the same pattern used for CUDA, TensorRT, and QNN EPs
(added in microsoft#24606). This embeds the ORT version into the DLL's PE header
so it shows up in file properties.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Windows PE VERSIONINFO metadata to the VitisAI execution provider DLL so the ORT version is embedded in onnxruntime_providers_vitisai.dll and visible in Windows file properties, consistent with the pattern used for other provider DLLs.

Changes:

  • Add a new onnxruntime_providers_vitisai.rc defining VS_VERSION_INFO resource values for the VitisAI provider DLL.
  • Update the VitisAI provider CMake to compile the .rc file on Windows and define FILE_NAME for the resource.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
onnxruntime/core/providers/vitisai/onnxruntime_providers_vitisai.rc Adds the Windows VERSIONINFO resource for the VitisAI provider DLL.
cmake/onnxruntime_providers_vitisai.cmake Includes the .rc on WIN32 and defines FILE_NAME for resource compilation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@adrianlizarraga
Copy link
Copy Markdown
Contributor

/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 4 pipeline(s).

@adrianlizarraga
Copy link
Copy Markdown
Contributor

Hi @mingyueliuh and @zz002, can you please take a look when you have a chance?

@adrianlizarraga adrianlizarraga merged commit e635e2d into microsoft:main Mar 13, 2026
93 checks passed
Kevin-Taha pushed a commit that referenced this pull request Mar 16, 2026
### Description
Add a Windows VERSIONINFO resource (.rc file) for the Vitis AI provider
DLL, following the same pattern used for CUDA, TensorRT, and QNN EPs
(added in #24606). This embeds the ORT version into the DLL's PE header
so it shows up in file properties.

### Motivation and Context
Need version in onnxruntime_providers_vitisai.dll to track changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
adrastogi pushed a commit that referenced this pull request Mar 17, 2026
### Description
Add a Windows VERSIONINFO resource (.rc file) for the Vitis AI provider
DLL, following the same pattern used for CUDA, TensorRT, and QNN EPs
(added in #24606). This embeds the ORT version into the DLL's PE header
so it shows up in file properties.

### Motivation and Context
Need version in onnxruntime_providers_vitisai.dll to track changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
adrastogi pushed a commit that referenced this pull request Mar 19, 2026
### Description
Add a Windows VERSIONINFO resource (.rc file) for the Vitis AI provider
DLL, following the same pattern used for CUDA, TensorRT, and QNN EPs
(added in #24606). This embeds the ORT version into the DLL's PE header
so it shows up in file properties.

### Motivation and Context
Need version in onnxruntime_providers_vitisai.dll to track changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
adrastogi added a commit that referenced this pull request Mar 31, 2026
This cherry-picks the following commits for the release:

- #26434 [VitisAI]add tensor type bool
- #26452 [VitisAI EP] Fix error in graph resolving
- #26487 [VitisAI] Enable ort::logger usage in
compile_onnx_model_vitisai_ep_v4
- #26519 [VitisAI] Remove unused function body handling in graph fusion
- #26627 [VitisAI] Add External EP Loader
- #26699 [VitisAI] Add support compiled model compatibility information
retrieval and validation
- #27295 Remove s_kernel_registry_vitisaiep.reset() in
deinitialize_vitisai_ep()
- #27356 Add/Update telemetry events
- #27626 Add PE version info to onnxruntime_providers_vitisai.dll
- #27693 Fix integer division by zero crash in CPU EP Div operator
- #27815 Fix overflow in DmlGraphFusionHelper::ProcessInputData
- #27823 Fix new-delete mismatch in DML EP's QuantizeLinear operator

---------

Co-authored-by: Yueqing Zhang <yuz75@Pitt.edu>
Co-authored-by: Yueqing Zhang <yueqingz@amd.com>
Co-authored-by: zpye <yezupei92@foxmail.com>
Co-authored-by: Chunye Wang@AMD <chunywan@amd.com>
Co-authored-by: mingyue <131847423+mingyueliuh@users.noreply.github.com>
Co-authored-by: zz002 <zhenzew@amd.com>
Co-authored-by: Darshak Bhatti <47045043+dabhattimsft@users.noreply.github.com>
Co-authored-by: Darshak Bhatti <dabhatti@micorsoft.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Xiaoxi Han <xiha@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tianleiwu <30328909+tianleiwu@users.noreply.github.com>
Co-authored-by: skottmckay <979079+skottmckay@users.noreply.github.com>
Co-authored-by: Tianlei Wu <tlwu@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants