diff --git a/onnxruntime/core/providers/provider_factory_creators.h b/onnxruntime/core/providers/provider_factory_creators.h index 6a4ab6a3d2113..42a58097e1635 100644 --- a/onnxruntime/core/providers/provider_factory_creators.h +++ b/onnxruntime/core/providers/provider_factory_creators.h @@ -78,6 +78,10 @@ #include "core/providers/tvm/tvm_provider_factory_creator.h" #endif +#if defined(USE_VITISAI) +#include "core/providers/vitisai/vitisai_provider_factory_creator.h" +#endif + #if defined(USE_XNNPACK) #include "core/providers/xnnpack/xnnpack_provider_factory_creator.h" #endif diff --git a/onnxruntime/core/providers/vitisai/vitisai_provider_factory.cc b/onnxruntime/core/providers/vitisai/vitisai_provider_factory.cc index 5895e1973f231..dc34419ef936f 100755 --- a/onnxruntime/core/providers/vitisai/vitisai_provider_factory.cc +++ b/onnxruntime/core/providers/vitisai/vitisai_provider_factory.cc @@ -10,8 +10,6 @@ #include "./vitisai_execution_provider.h" #include "core/framework/execution_provider.h" -#include "core/session/abi_session_options_impl.h" - using namespace onnxruntime; namespace onnxruntime {