1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00

chore(ml): remove deprecated kwarg when downloading models (#12589)

remove local_dir_use_symlinks
This commit is contained in:
Mert 2024-09-11 23:21:33 -04:00 committed by GitHub
parent 22dc9bcebb
commit a68e6be7e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 3 deletions

View file

@ -71,7 +71,6 @@ class InferenceModel(ABC):
f"immich-app/{clean_name(self.model_name)}", f"immich-app/{clean_name(self.model_name)}",
cache_dir=self.cache_dir, cache_dir=self.cache_dir,
local_dir=self.cache_dir, local_dir=self.cache_dir,
local_dir_use_symlinks=False,
ignore_patterns=ignore_patterns, ignore_patterns=ignore_patterns,
) )

View file

@ -124,7 +124,6 @@ class TestBase:
"immich-app/ViT-B-32__openai", "immich-app/ViT-B-32__openai",
cache_dir=encoder.cache_dir, cache_dir=encoder.cache_dir,
local_dir=encoder.cache_dir, local_dir=encoder.cache_dir,
local_dir_use_symlinks=False,
ignore_patterns=["*.armnn"], ignore_patterns=["*.armnn"],
) )
@ -136,7 +135,6 @@ class TestBase:
"immich-app/ViT-B-32__openai", "immich-app/ViT-B-32__openai",
cache_dir=encoder.cache_dir, cache_dir=encoder.cache_dir,
local_dir=encoder.cache_dir, local_dir=encoder.cache_dir,
local_dir_use_symlinks=False,
ignore_patterns=[], ignore_patterns=[],
) )