Declined
1
[Feature] ML: compile/warm models at startup, then release them (preload without pinning)
Source: immich-app/immich#33710 · opened by @mordilloSan
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request. • Yes The feature An option for the machine-learning container to prepare every configured model at startup (download, and for MIGraphX/TensorRT/OpenVINO compile every shape) and then release them, instead of keeping them loaded. For example: • MACHINE_LEARNING_PRELOAD_MODE=warm (default keep): run the existing MACHINE_LEARNING_PRELOAD* logic, then unload so MACHINE_LEARNING_MODEL_TTL applies as usual; or • a one-shot entrypoint such as python -m immich_ml --preload-only that runs the preload and exits, for use as a compose init service. Why Today there are two choices, and with a compiled execution provider both have a cost: 1. PRELOAD keeps every model in memory forever. Combining it with a TTL does not free anything: idle_shutdown_task restarts the worker after the TTL, and the restart preloads every model again. (Preload does not set last_call…
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature] Preload ML Models on Web Access to Improve Search Performance
3 votes · 0 comments
[Feature] add to album cache warming
3 votes · 0 comments
[Feature] Show local photos immediately on mobile app startup without waiting for server sync
16 votes · 0 comments
[Feature] Life Stories Generator
19 votes · 0 comments
[Feature] DINOv3 integration
1 vote · 0 comments
No comments yet.