mirror of
https://github.com/immich-app/immich.git
synced 2025-11-11 02:42:35 +09:00
Fix Smart Search when using OpenVINO (#7389)
* Fix external_path loading in OpenVINO EP * Fix ruff lint * Wrap block in try finally * remove static input shape code * add unit test * remove unused imports * remove repeat line * linting * formatting --------- Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
This commit is contained in:
@@ -54,9 +54,6 @@ _INSIGHTFACE_MODELS = {
|
||||
SUPPORTED_PROVIDERS = ["CUDAExecutionProvider", "OpenVINOExecutionProvider", "CPUExecutionProvider"]
|
||||
|
||||
|
||||
STATIC_INPUT_PROVIDERS = ["OpenVINOExecutionProvider"]
|
||||
|
||||
|
||||
def is_openclip(model_name: str) -> bool:
|
||||
return clean_name(model_name) in _OPENCLIP_MODELS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user