Skip to content

[VitisAI] refactor VitisAI EP for open source #24426

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mingyueliuh
Copy link
Contributor

Description

Integrating the VitisAI EP implement repository into ONNXRuntime using FetchContent.
Statically linking core EP functionality and limiting dynamic links to C-style ABI functions.

Motivation and Context

Addressing ABI and build compatibility ensures smoother integration and broader applicability of the VitisAI EP.

update to use integrated vaip

update vaip as the single entry point for cmake

add dummy vaip_xcompile_run.

onnxruntime_vitisia_ep.dll is optional.

vaip_xcompiler_compile maybe nullptr.

update create_ep_context_nodes.

Add some VitisAI EP C APIs

move configuration to vaip

add vaip_get_default_config API

move pattern zoo to internal (#1)

add get_patterrn_list API and change get_pattern API (#2)

change xcompiler_compile API by CPS (#3)

[deps] change vaip remote and branch

Add vaip_get/has_mem_xclbin APIs (#4)

onnxruntime_providers_vitisai.dll enable shared link  Hybrid CRT

[vitisai ep] link ucrt support both Debug and Release

remove XRT_INCLUDE_DIRS link

Temporary port to internal repo for test

temp fix Eigen3
@mingyueliuh mingyueliuh marked this pull request as draft April 15, 2025 02:57
vaip point to morphizen_open_src branch

point to mph_open_src branch

clean up vaip_ort_api

fix VAIP_ORT_API

vaip point to VitisAI/mph_open_src branch

export GetProvider and support cmake install

find_package(vaip) after create onnxruntime_providers_vitisai

VAIP must be made available to after the onnxruntime_providers_vitisai
target is created so that VAIP can detect if it is build as a
subproject or not.

add onnxruntime_providers_vitisai.def

fix OrtVitisAIEPAPI function pointer point to self

vaip point to mph_open_src_v2(rebase into cp_dev) branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants