mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
add RAG: cpu/cuda/mps as a config variable rather than hardcode #499
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?
Originally created by @drawingthesun on GitHub (Mar 19, 2024).
File:
backend/config.pyhas the following hardcoded variable:I use open-webui locally without Docker, and whenever I do an update I have config.py replaced, however the hardcoded variable I have to change everytime to "mps" and I forget a lot of the time.
@jannikstdl commented on GitHub (Mar 19, 2024):
Related #1165