mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #5878] [MERGED] perf: lazy load big dependencies to reduce min memory usage #8571
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/5878
Author: @cheahjs
Created: 10/2/2024
Status: ✅ Merged
Merged: 10/2/2024
Merged by: @tjbck
Base:
dev← Head:feat/lazy-load-new-imports-for-mem📝 Commits (1)
318f611refac: lazy load big dependencies to reduce min memory usage📊 Changes
2 files changed (+6 additions, -7 deletions)
View changed files
📝
backend/open_webui/apps/retrieval/main.py(+2 -3)📝
backend/open_webui/apps/retrieval/vector/connector.py(+4 -4)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This reduces the minimum memory usage of Open WebUI with external models back down to ~200MB.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.