feat: add RAM bypass and load safety guard
This commit is contained in:
@@ -47,7 +47,12 @@ The Available downloads controls support:
|
||||
|
||||
Popularity and date ordering use upstream metadata only; the plugin does not invent popularity, dates, RAM requirements, or token metrics.
|
||||
|
||||
## Available-download age filter
|
||||
## Memory-filter bypass and permanent-load safety
|
||||
|
||||
Available downloads retain the RAM-fit filter by default. The **Show models above estimated RAM** checkbox exposes oversized catalog entries when explicitly requested and marks them with **RAM estimate exceeds host**. This bypass changes catalog visibility only; it does not bypass permanent-load safety.
|
||||
|
||||
Permanent multi-model loading now has a hard host-RAM safety limit of **95%** based on Linux `MemAvailable`. The check runs before and after each model load. If the threshold is reached, no further models are started and models started by the current load action are unloaded as a safety rollback. Models resident before that action are preserved. The response and dashboard warning identify the 95% trigger, observed usage, and rollback behavior.
|
||||
|
||||
|
||||
Available downloads now include a checkbox selected by default: **Hide models older than 12 months**. The filter uses each model's published `modified_at` source timestamp and recalculates against the current browser date. It applies only to Available downloads; Installed and Top 20 popular are unchanged. Models with no published date remain visible because their age cannot be verified. The active filtered count is shown in the Available downloads tab label.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user