94fdb1b Merge branch 'ollama-webui:main' into pip2uv
836ed64 Merge branch 'ollama-webui:main' into pip2uv
a2e48df Merge branch 'ollama-webui:main' into pip2uv
8605f81 Merge branch 'ollama-webui:main' into pip2uv
b91df06 Merge branch 'ollama-webui:main' into pip2uv
📊 Changes
2 files changed (+23 additions, -10 deletions)
View changed files
📝Dockerfile (+9 -3) 📝backend/start.sh (+14 -7)
📄 Description
This pull request introduces a significant enhancement to our Dockerfile and associated start.sh script by transitioning to uv, a cutting-edge Python package manager developed by Astral.sh. uv is designed to be a highly efficient drop-in replacement for traditional pip install operations, boasting remarkable speed improvements and compatibility with existing pip workflows.
Key Improvements:
Build Performance: Through local testing, I've observed that adopting uv has slashed our Docker build times by an impressive 50%. This enhancement is expected to streamline our development pipeline, reducing wait times for builds and deployments significantly.
Image Optimization: Alongside the performance boost, this change introduces the use of virtual environments, which has the added benefit of reducing our Docker image size by approximately 300MB. This optimization not only speeds up the deployment process but also minimizes resource consumption, aligning with our goals for efficiency and sustainability.
I believe these changes will significantly improve our workflow and resource usage, and I look forward to any feedback on this change (even if it's "this might be too new").
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/758
**Author:** [@justinh-rahb](https://github.com/justinh-rahb)
**Created:** 2/16/2024
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `pip2uv`
---
### 📝 Commits (6)
- [`6a82f42`](https://github.com/open-webui/open-webui/commit/6a82f426a1cf213d5439bd78f02ed8f9e0aa0b57) Migrate pip to uv
- [`94fdb1b`](https://github.com/open-webui/open-webui/commit/94fdb1bdae5b5b797855e30c7a86a8a93a1bc344) Merge branch 'ollama-webui:main' into pip2uv
- [`836ed64`](https://github.com/open-webui/open-webui/commit/836ed6438374fbf713c2e1c0e0b04e897330defc) Merge branch 'ollama-webui:main' into pip2uv
- [`a2e48df`](https://github.com/open-webui/open-webui/commit/a2e48df14f5c77a049771288cfdaa1659a32097c) Merge branch 'ollama-webui:main' into pip2uv
- [`8605f81`](https://github.com/open-webui/open-webui/commit/8605f813215c4c9b1cfccff0432a160813612694) Merge branch 'ollama-webui:main' into pip2uv
- [`b91df06`](https://github.com/open-webui/open-webui/commit/b91df06ee75022b14784d4337a07ff65e7b31728) Merge branch 'ollama-webui:main' into pip2uv
### 📊 Changes
**2 files changed** (+23 additions, -10 deletions)
<details>
<summary>View changed files</summary>
📝 `Dockerfile` (+9 -3)
📝 `backend/start.sh` (+14 -7)
</details>
### 📄 Description
This pull request introduces a significant enhancement to our Dockerfile and associated `start.sh` script by transitioning to `uv`, a cutting-edge Python package manager developed by Astral.sh. `uv` is designed to be a highly efficient drop-in replacement for traditional `pip install` operations, boasting remarkable speed improvements and compatibility with existing `pip` workflows.
#### Key Improvements:
- **Build Performance**: Through local testing, I've observed that adopting `uv` has slashed our Docker build times by an impressive 50%. This enhancement is expected to streamline our development pipeline, reducing wait times for builds and deployments significantly.
- **Image Optimization**: Alongside the performance boost, this change introduces the use of virtual environments, which has the added benefit of reducing our Docker image size by approximately 300MB. This optimization not only speeds up the deployment process but also minimizes resource consumption, aligning with our goals for efficiency and sustainability.
For more details on `uv` and its capabilities, visit [Astral.sh's uv announcement](https://astral.sh/blog/uv).
I believe these changes will significantly improve our workflow and resource usage, and I look forward to any feedback on this change (even if it's "this might be too new").
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/758
Author: @justinh-rahb
Created: 2/16/2024
Status: ❌ Closed
Base:
main← Head:pip2uv📝 Commits (6)
6a82f42Migrate pip to uv94fdb1bMerge branch 'ollama-webui:main' into pip2uv836ed64Merge branch 'ollama-webui:main' into pip2uva2e48dfMerge branch 'ollama-webui:main' into pip2uv8605f81Merge branch 'ollama-webui:main' into pip2uvb91df06Merge branch 'ollama-webui:main' into pip2uv📊 Changes
2 files changed (+23 additions, -10 deletions)
View changed files
📝
Dockerfile(+9 -3)📝
backend/start.sh(+14 -7)📄 Description
This pull request introduces a significant enhancement to our Dockerfile and associated
start.shscript by transitioning touv, a cutting-edge Python package manager developed by Astral.sh.uvis designed to be a highly efficient drop-in replacement for traditionalpip installoperations, boasting remarkable speed improvements and compatibility with existingpipworkflows.Key Improvements:
uvhas slashed our Docker build times by an impressive 50%. This enhancement is expected to streamline our development pipeline, reducing wait times for builds and deployments significantly.For more details on
uvand its capabilities, visit Astral.sh's uv announcement.I believe these changes will significantly improve our workflow and resource usage, and I look forward to any feedback on this change (even if it's "this might be too new").
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.