mirror of
https://github.com/open-webui/docs.git
synced 2026-11-05 01:38:13 +00:00
[PR #1443] [MERGED] docs: install CPU PyTorch first on machines without an NVIDIA GPU #1405
Labels
No labels
bug
documentation
documentation
duplicate
enhancement
enhancement
good first issue
good first issue
good first issue
help wanted
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/docs#1405
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/docs/pull/1443
Author: @silentoplayz
Created: 9/30/2026
Status: ✅ Merged
Merged: 10/4/2026
Merged by: @silentoplayz
Base:
main← Head:docs/pip-cpu-torch📝 Commits (1)
db8bdffdocs: install CPU PyTorch first on machines without an NVIDIA GPU📊 Changes
1 file changed (+10 additions, -0 deletions)
View changed files
📝
docs/getting-started/quick-start/tab-python/_PythonCompat.md(+10 -0)📄 Description
Summary
On Linux x86_64,
pip install open-webuipulls in the default PyTorch build from PyPI, which depends on the NVIDIA CUDA libraries whatever GPU the machine has. On AMD or CPU-only machines those libraries are downloaded and never used (reported in https://github.com/open-webui/open-webui/issues/29490).This adds a short tip under the Python version note on the Quick Start page, so it shows once above every Python install tab (pip, venv, uv, Conda): install the CPU build of PyTorch first in the same environment, or the ROCm build for GPU acceleration on AMD.
Related issue or discussion
https://github.com/open-webui/open-webui/issues/29490
Checklist
Notes for reviewers
Checked in clean Python 3.11 and 3.12 containers with
uv pip install --dry-run open-webui(0.11.4): the default resolve addstorch==2.14.0and 18nvidia-*andcuda-*packages. Withtorch 2.14.1+cpuinstalled first from the CPU index, the same dry run adds none and keeps the CPU build.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.