Repository navigation
[Feature] Machine Learning Model ENV TTL #28459
Closed
jaysqvl
started this conversation in
Feature Request
Replies: 2 comments
|
Alternatively, text search may be routed to a CPU model, or run locally, if we look at the problem as a "latency of a text embedding". Embedding a small text query should be pretty doable and fast even on a CPU. |
0 replies
|
What you're actually looking for is the PRELOAD env vars, specifically |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
Separate TTL's for the different ML model categories. If the TTL's were separated, then search would always be fast.
Basically, I want to keep smart search, duplicate detection, facial recognition and OCR but hate that smart search is painfully slow on first search whenever I need to use it. I wanted to keep the textual model for just smart search/CLIP preloaded and in VRAM but have all of the other ML models unload themselves after they're done their jobs.
The alternative was to use smaller models for all the other ML models and leave them loaded but it still ends up leaving 6gbs loaded in VRAM.
Related to this thread except instead of on web access, just the singular clip model is left in memory.
#22502
Platform
All reactions