mirror of
https://github.com/immich-app/immich.git
synced 2025-11-10 14:22:35 +09:00
feat(ml): conditionally download .armnn models (#6650)
This commit is contained in:
@@ -81,11 +81,11 @@ class BaseCLIPEncoder(InferenceModel):
|
||||
|
||||
@property
|
||||
def textual_path(self) -> Path:
|
||||
return self.textual_dir / "model.onnx"
|
||||
return self.textual_dir / f"model.{self.preferred_runtime}"
|
||||
|
||||
@property
|
||||
def visual_path(self) -> Path:
|
||||
return self.visual_dir / "model.onnx"
|
||||
return self.visual_dir / f"model.{self.preferred_runtime}"
|
||||
|
||||
@property
|
||||
def tokenizer_file_path(self) -> Path:
|
||||
|
||||
Reference in New Issue
Block a user