mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-22 21:50:42 -05:00
With Redis, every large model profile image makes each load of the model list slower, and Redis holds a full copy of every image, even though the list never shows them (the interface fetches each picture separately). Animated or imported profile images are kept at full size and can be several MB each. Open WebUI now leaves profile images out of the model details it keeps for chats, so Redis no longer holds them and the list loads faster. Functions and Tools now get the model without its profile image. Measured with 50 custom models, one server process. Each number is the middle value of 5 runs of 60 list loads: | | before | after | |---|---|---| | Redis, 4 images (20 MB as stored) | 64 ms | 45 ms | | Redis, 12 images (57 MB as stored) | 150 ms | 86 ms | | No Redis, 4 images | 47 ms | 45 ms | | Redis memory used by the model list, 4 / 12 images | 24 / 71 MB | 35 KB | Fixes #34594