mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #12868] [MERGED] feat: add QDRANT_ON_DISK configuration option for Qdrant integration #38669
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/12868
Author: @athoik
Created: 4/14/2025
Status: ✅ Merged
Merged: 4/15/2025
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (1)
575c12ffeat: add QDRANT_ON_DISK configuration option for Qdrant integration📊 Changes
2 files changed (+4 additions, -2 deletions)
View changed files
📝
backend/open_webui/config.py(+1 -0)📝
backend/open_webui/retrieval/vector/dbs/qdrant.py(+3 -2)📄 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 commit will allow configuring the on_disk client parameter, to reduce the memory usage. https://qdrant.tech/documentation/concepts/storage/?q=mmap#configuring-memmap-storage Default is false, keeping vectors in memory.
It reduces the memory usage, making qdrant usage with higher number of documents.
Added
A new environment variable QDRANT_ON_DISK to enable the usage of memmap(also known as on-disk) storage
Documentation update created also here: https://github.com/open-webui/docs/pull/500
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Official documentation about on_disk feature is available here: https://qdrant.tech/documentation/concepts/storage/?q=mmap#configuring-memmap-storage
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.