mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-07 00:13:17 +00:00
Still can't unload providers in python, alas.
This commit is contained in:
parent
330339caa4
commit
ff40ba0723
1 changed files with 0 additions and 7 deletions
|
|
@ -2104,13 +2104,6 @@ PYBIND11_MODULE(onnxruntime_pybind11_state, m) {
|
|||
const logging::Logger& default_logger = logging::LoggingManager::DefaultLogger();
|
||||
LOGS(default_logger, WARNING) << "Init provider bridge failed.";
|
||||
}
|
||||
|
||||
// It appears that only windows can safely unload the providers from python at this point
|
||||
#ifdef _WIN32
|
||||
atexit([] {
|
||||
UnloadSharedProviders();
|
||||
});
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_TRAINING
|
||||
|
|
|
|||
Loading…
Reference in a new issue