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.
Originally created by @drawingthesun on GitHub (Mar 19, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1210
File: `backend/config.py` has the following hardcoded variable:
```python
RAG_EMBEDDING_MODEL_DEVICE_TYPE = os.environ.get(
"RAG_EMBEDDING_MODEL_DEVICE_TYPE", "cpu"
)
```
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @drawingthesun on GitHub (Mar 19, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1210
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