mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #11901] feat: Minimal Installation Option for Open WebUI #31925
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 @dror-llm on GitHub (Mar 20, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11901
Feature Request: Minimal Installation Option for Open WebUI
Problem Statement
Currently, when installing Open WebUI via pip (
pip install open-webui), the installation includes a full set of dependencies including NVIDIA CUDA drivers, PyTorch, and various ML libraries that total approximately 7.7GB. However, many users only need the frontend UI and backend server to connect to a remote OpenAI, Anthropic or other instances running on a separate machine, or in the cloud, making these heavy dependencies unnecessary.Specifically, for VMPilot, the Open WebUI frontend and backend are the only components needed, as the ML model is in the cloud.
Current Situation
When installing via pip, the following large packages are included even when they won't be used:
The Docker implementation already has an option to run with a remote Ollama instance, but the pip installation doesn't offer a lightweight alternative.
Feature Request
Create a minimal installation option for Open WebUI that:
Proposed Implementation Options
Create optional dependency groups in pyproject.toml:
Users could then install with:
pip install open-webui[minimal]Create an installation script based on the Dockerfile's conditional logic:
USE_CUDA,USE_OLLAMA, etc.)Provide a separate pip package like
open-webui-minimalthat only includes the necessary components for connecting to a remote Ollama instance.Benefits
Technical Considerations
@dror-llm commented on GitHub (Mar 20, 2025):
Sorry again. Didn't realize that github automatically creates the ticket in the repo you're in.
This is where it is supposed to go
https://github.com/drorm/vmpilot/issues/42