Skip to content

[VitisAI] Update the order of deregister op#24576

Merged
HectorSVC merged 1 commit intomicrosoft:mainfrom
danyue333:update_vitiai
Apr 29, 2025
Merged

[VitisAI] Update the order of deregister op#24576
HectorSVC merged 1 commit intomicrosoft:mainfrom
danyue333:update_vitiai

Conversation

@danyue333
Copy link
Contributor

Description

after deinitialize_onnxruntime_vitisai_ep, s_domains_vitisaiep will be incorrect, which may cause an exception

Motivation and Context

Put deregister_xir_ops() before deinitialize_onnxruntime_vitisai_ep() to avoid dangling pointers

@danyue333
Copy link
Contributor Author

@jywu-msft @HectorSVC Can you help me take a look at this PR?

@danyue333 danyue333 changed the title [VItisAI] Update the order of deregister op [VitisAI] Update the order of deregister op Apr 28, 2025
@HectorSVC
Copy link
Contributor

/azp run Big Models,Linux Android Emulator QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows ARM64 QNN CI Pipeline,Windows CPU CI Pipeline,Windows GPU CUDA CI Pipeline,Windows GPU DML CI Pipeline,Windows GPU Doc Gen CI Pipeline,Windows GPU TensorRT CI Pipeline,Windows x64 QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI

@HectorSVC
Copy link
Contributor

/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, MacOS CI Pipeline, ONNX Runtime Web CI Pipeline, onnxruntime-binary-size-checks-ci-pipeline, Linux QNN CI Pipeline,Linux OpenVINO CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 6 pipeline(s).

@HectorSVC HectorSVC added the ep:VitisAI issues related to Vitis AI execution provider label Apr 29, 2025
Copy link
Contributor

@HectorSVC HectorSVC left a comment

Choose a reason for hiding this comment

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

:shipit:

@HectorSVC HectorSVC merged commit ce66178 into microsoft:main Apr 29, 2025
71 of 74 checks passed
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request May 12, 2025
### Description
after deinitialize_onnxruntime_vitisai_ep, s_domains_vitisaiep will be incorrect, which may cause an exception

### Motivation and Context
Put deregister_xir_ops() before deinitialize_onnxruntime_vitisai_ep() to avoid dangling pointers

Co-authored-by: GenMing Zhong <GenMing.Zhong@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ep:VitisAI issues related to Vitis AI execution provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants