add unit tests for AICModelManager and AICFilter error handling, model loading, and processor behavior

This commit is contained in:
Gökmen Görgen
2026-02-11 15:22:37 +01:00
parent ed3ec045aa
commit 2036757b84
3 changed files with 112 additions and 7 deletions

View File

@@ -1,2 +1,3 @@
- `AICFilter` now shares read-only AIC models via a singleton `AICModelManager` in `aic_filter.py`.
- Multiple filters using the same `model path` or `(model_id, model_download_dir)` share one loaded model, with reference counting and concurrent load deduplication.
- Multiple filters using the same model path or `(model_id, model_download_dir)` share one loaded model, with reference counting and concurrent load deduplication.
- Model file I/O runs off the event loop so the filter does not block.