Repository navigation
docs: portable update warning — CUDA 13.0 / cu130 + cu126 legacy (EN + i18n) #2287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7aefd08
e7b1113
50295c7
1af151b
92c7f02
19e9c63
5f98c17
bd5107d
f38e390
2b8b9d1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,13 +34,16 @@ | |
|
|
||
| This script is more thorough than regular updates and will: | ||
| - ✅ Update ComfyUI code itself | ||
| - ✅ Update PyTorch (for NVIDIA GPU CUDA 12.9) | ||
| - ✅ Update PyTorch for the **standard Nvidia portable** (currently **CUDA 13.0 / cu130**, Python 3.13) | ||
| - ✅ Reinstall ALL Python dependencies | ||
|
|
||
| **Legacy Nvidia portable (CUDA 12.6 / cu126):** If you installed the separate portable package for Nvidia **10-series and older GPUs**, that build uses **CUDA 12.6** and Python 3.12. Do not treat cu130 as the right target for that package — reinstall or update PyTorch with the cu126 wheel index that matches that portable, or re-download the cu126 package from the [Portable install guide](/installation/comfyui_portable_windows). | ||
|
Check warning on line 40 in installation/update_comfyui.mdx
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| **Risks:** | ||
| - May cause dependency conflicts with your existing setup | ||
| - Can break custom nodes that rely on specific package versions | ||
| - May overwrite manually configured packages | ||
| - On a cu126 (or other non-cu130) portable, blindly forcing a cu130 wheel can break GPU startup | ||
|
|
||
| **⚠️ Only use this script when:** | ||
| - You need to fix dependency issues | ||
|
|
@@ -50,7 +53,8 @@ | |
| **Before running this script:** | ||
| 1. **Back up your entire ComfyUI installation** | ||
| 2. Document any custom package versions you've installed | ||
| 3. Be prepared to reinstall custom nodes if needed | ||
| 3. Confirm which portable package you have (cu130 standard vs cu126 legacy) — see [ComfyUI Portable for Windows](/installation/comfyui_portable_windows) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| 4. Be prepared to reinstall custom nodes if needed | ||
| </Warning> | ||
| </Tab> | ||
| <Tab title="Desktop"> | ||
|
|
@@ -69,10 +73,10 @@ | |
| <Step title="Activate Virtual Environment"> | ||
| First, activate ComfyUI's Python virtual environment (if using one): | ||
| ```bash | ||
| # For conda environment | ||
| conda activate comfyui | ||
|
|
||
| # For venv environment | ||
| # Windows | ||
| venv\Scripts\activate | ||
| # macOS/Linux | ||
|
|
@@ -198,7 +202,7 @@ | |
| <Step title="Check Network Connection"> | ||
| If located in mainland China, ensure you can access PyPI or configure a domestic mirror: | ||
| ```bash | ||
| # Using Tsinghua University mirror | ||
| pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple | ||
| ``` | ||
| </Step> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
Repository: Comfy-Org/docs
Length of output: 6914
Script executed:
Repository: Comfy-Org/docs
Length of output: 4112
Script executed:
Repository: Comfy-Org/docs
Length of output: 1607
Script executed:
Repository: Comfy-Org/docs
Length of output: 805
Web query:
ComfyUI "update_comfyui_and_python_dependencies.bat" "cu130" "xformers"Result:
Script executed:
Repository: Comfy-Org/docs
Length of output: 8588
Script executed:
Repository: Comfy-Org/docs
Length of output: 870
Warn that the updater can install CPU-only PyTorch.
For a standard Nvidia portable without an xformers version pin, the updater can select the newer CPU-only wheel from PyPI. GPU startup then fails.
Suggested fix
Committable suggestion