mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #1576] [CLOSED] Switch pip3 to uv in GitHub Action workflow
#20711
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/1576
Author: @justinh-rahb
Created: 4/16/2024
Status: ❌ Closed
Base:
dev← Head:pip2uv📝 Commits (9)
feafaa5Switchpip3touvb7d2baaForgotcurl7094745Change order ofcurlinstallation2d61d91Ordering774d597Fixes/refac6000690Minor optimization to removecurldependency.0ed9671Merge pull request #18 from lainedfles/justinh-rahb-pip2uvfaaf0eeRebasee837e2dBump because GitHub📊 Changes
1 file changed (+16 additions, -17 deletions)
View changed files
📝
Dockerfile(+16 -17)📄 Description
Description
This PR introduces
uv, a new package manager, as a partial replacement forpip3in the Docker build process for the "Open WebUI" project.Uvis a mostly drop-in compatible substitute forpip3with significant performance improvements. In our testing,uvhas shown to notably reduce build times — by nearly 50% on GitHub Action runners and by approximately 25-30% when building locally across various platforms. While the resultant build sizes have varied, showing both increases and decreases depending on the build environment, this change aims to leverageuv's efficiency gains to enhance the development workflow and process efficiency. It's important to note thatpip3has not been completely removed; it remains necessary for installing PyTorch and its dependencies, asuvhas not yet reliably resolved them across all build environments. As this is an evolving integration, more opinions and testing are highly encouraged to ensure a smooth transition. For further details onuv, please refer to the uv documentation and this introductory blog post.Changelog Entry
Added
uvas the new package manager in the Docker build process for certain dependencies, aiming to improve build times and efficiency.Fixed
Changed
pip3withuvin the Docker buildUsing
pip3:Using
uv:Changelog Entry
Added
uvas the new package manager in the Docker build process for certain dependencies, aiming to improve build times and efficiency.Fixed
Changed
pip3withuvin the Docker build process. This does not yet cover PyTorch and its dependencies, which still rely onpip3due to resolution issues in some environments.Removed
Pull Request Checklist
uvas a replacement forpip3in the Docker build process, aimed at improving build times and efficiency for certain dependencies.Pip3remains in use for installing PyTorch and its dependencies, due to current limitations withuv.uv, the partial replacement ofpip3, and noting the continued use ofpip3for specific dependencies.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.