mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-12 17:57:38 +00:00
fix bug introduced by PR9130 (#9166)
This commit is contained in:
parent
ddafe50199
commit
0888c6cc59
1 changed files with 2 additions and 1 deletions
|
|
@ -576,9 +576,10 @@ std::unique_ptr<IExecutionProvider> CreateExecutionProviderInstance(
|
|||
}
|
||||
}
|
||||
}
|
||||
auto p = 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();
|
||||
return p;
|
||||
#endif
|
||||
} else if (type == kNupharExecutionProvider) {
|
||||
#if USE_NUPHAR
|
||||
|
|
|
|||
Loading…
Reference in a new issue