mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Fix a bug for Openvino Python binding (#9130)
This commit is contained in:
parent
dae37dc946
commit
02b9213736
1 changed files with 1 additions and 2 deletions
|
|
@ -576,10 +576,9 @@ std::unique_ptr<IExecutionProvider> CreateExecutionProviderInstance(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
return onnxruntime::CreateExecutionProviderFactory_OpenVINO(¶ms)->CreateProvider();
|
||||
// Reset global variables config to avoid it being accidentally passed on to the next session
|
||||
openvino_device_type.clear();
|
||||
return onnxruntime::CreateExecutionProviderFactory_OpenVINO(¶ms)->CreateProvider();
|
||||
#endif
|
||||
} else if (type == kNupharExecutionProvider) {
|
||||
#if USE_NUPHAR
|
||||
|
|
|
|||
Loading…
Reference in a new issue