mirror of
https://github.com/immich-app/immich.git
synced 2025-07-13 20:38:46 +02:00
feat(ml): improved ARM-NN support (#11233)
This commit is contained in:
parent
7c3326b662
commit
54488b1016
8 changed files with 70 additions and 32 deletions
machine-learning/app
|
@ -268,9 +268,9 @@ class TestAnnSession:
|
|||
|
||||
AnnSession(model_path, cache_dir)
|
||||
|
||||
ann_session.assert_called_once_with(tuning_level=3, tuning_file=(cache_dir / "gpu-tuning.ann").as_posix())
|
||||
ann_session.assert_called_once_with(tuning_level=2, tuning_file=(cache_dir / "gpu-tuning.ann").as_posix())
|
||||
ann_session.return_value.load.assert_called_once_with(
|
||||
model_path.as_posix(), cached_network_path=model_path.with_suffix(".anncache").as_posix()
|
||||
model_path.as_posix(), cached_network_path=model_path.with_suffix(".anncache").as_posix(), fp16=False
|
||||
)
|
||||
info.assert_has_calls(
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue