From 72a3cebbec9680f9da18810fd517f8e8baf45a5e Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Wed, 28 Jan 2026 12:25:43 -0800 Subject: [PATCH 1/5] Bump PyTorch to 2.10.0 --- assets/requirements/macos.compiled | 6 +++--- assets/requirements/windows_cpu.compiled | 6 +++--- assets/requirements/windows_nvidia.compiled | 6 +++--- src/constants.ts | 4 ++-- src/install/installationManager.ts | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/assets/requirements/macos.compiled b/assets/requirements/macos.compiled index 532e01ec8..66e39c95b 100644 --- a/assets/requirements/macos.compiled +++ b/assets/requirements/macos.compiled @@ -265,7 +265,7 @@ tokenizers==0.22.1 toml==0.10.2 # via comfyui-manager # from https://pypi.org/simple -torch==2.5.1 +torch==2.10.0 # via # --override assets/override.txt # -r assets/ComfyUI/requirements.txt @@ -275,7 +275,7 @@ torch==2.5.1 # torchsde # torchvision # from https://pypi.org/simple -torchaudio==2.5.1 +torchaudio==2.10.0 # via # --override assets/override.txt # -r assets/ComfyUI/requirements.txt @@ -285,7 +285,7 @@ torchsde==0.2.6 # --override assets/override.txt # -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple -torchvision==0.20.1 +torchvision==0.25.0 # via # --override assets/override.txt # -r assets/ComfyUI/requirements.txt diff --git a/assets/requirements/windows_cpu.compiled b/assets/requirements/windows_cpu.compiled index 466186814..392fd1bf2 100644 --- a/assets/requirements/windows_cpu.compiled +++ b/assets/requirements/windows_cpu.compiled @@ -272,7 +272,7 @@ tokenizers==0.22.1 toml==0.10.2 # via comfyui-manager # from https://pypi.org/simple -torch==2.6.0 +torch==2.10.0 # via # -r assets/ComfyUI/requirements.txt # kornia @@ -281,13 +281,13 @@ torch==2.6.0 # torchsde # torchvision # from https://pypi.org/simple -torchaudio==2.6.0 +torchaudio==2.10.0 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple torchsde==0.2.6 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple -torchvision==0.21.0 +torchvision==0.25.0 # via # -r assets/ComfyUI/requirements.txt # spandrel diff --git a/assets/requirements/windows_nvidia.compiled b/assets/requirements/windows_nvidia.compiled index e8d716b9a..db0c50ca2 100644 --- a/assets/requirements/windows_nvidia.compiled +++ b/assets/requirements/windows_nvidia.compiled @@ -273,7 +273,7 @@ tokenizers==0.22.1 toml==0.10.2 # via comfyui-manager # from https://pypi.org/simple -torch==2.9.1+cu130 +torch==2.10.0+cu130 # via # --override assets/override.txt # -r assets/ComfyUI/requirements.txt @@ -283,7 +283,7 @@ torch==2.9.1+cu130 # torchsde # torchvision # from https://download.pytorch.org/whl/cu130 -torchaudio==2.9.1+cu130 +torchaudio==2.10.0+cu130 # via # --override assets/override.txt # -r assets/ComfyUI/requirements.txt @@ -293,7 +293,7 @@ torchsde==0.2.6 # --override assets/override.txt # -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple -torchvision==0.24.1+cu130 +torchvision==0.25.0+cu130 # via # --override assets/override.txt # -r assets/ComfyUI/requirements.txt diff --git a/src/constants.ts b/src/constants.ts index 4a998ec69..a067bdb1c 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -209,8 +209,8 @@ export const AMD_TORCH_PACKAGES: string[] = [ 'https://repo.radeon.com/rocm/windows/rocm-rel-7.1.1/torchvision-0.24.0+rocmsdk20251116-cp312-cp312-win_amd64.whl', ]; -export const NVIDIA_TORCH_VERSION = '2.9.1+cu130'; -export const NVIDIA_TORCHVISION_VERSION = '0.24.1+cu130'; +export const NVIDIA_TORCH_VERSION = '2.10.0+cu130'; +export const NVIDIA_TORCHVISION_VERSION = '0.25.0+cu130'; export const NVIDIA_TORCH_PACKAGES: string[] = [ `torch==${NVIDIA_TORCH_VERSION}`, `torchaudio==${NVIDIA_TORCH_VERSION}`, diff --git a/src/install/installationManager.ts b/src/install/installationManager.ts index 4eb085b36..e45c61073 100644 --- a/src/install/installationManager.ts +++ b/src/install/installationManager.ts @@ -408,7 +408,7 @@ export class InstallationManager implements HasTelemetry { await this.appWindow.showMessageBox({ type: 'warning', title: 'Update NVIDIA Driver', - message: 'Your NVIDIA driver may be too old for PyTorch 2.9.1 + cu130.', + message: 'Your NVIDIA driver may be too old for PyTorch 2.10.0 + cu130.', detail: `Detected driver version: ${driverVersion}\nRecommended minimum: ${NVIDIA_DRIVER_MIN_VERSION}\n\nPlease consider updating your NVIDIA drivers and retrying if you run into issues.`, buttons: ['OK'], }); From 0f79042d08444e985f2731f84a58441b96e809ff Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Wed, 28 Jan 2026 12:34:12 -0800 Subject: [PATCH 2/5] Regenerate compiled requirements --- assets/requirements/macos.compiled | 41 +++++++++++---------- assets/requirements/windows_cpu.compiled | 17 +++++---- assets/requirements/windows_nvidia.compiled | 15 +++++--- 3 files changed, 41 insertions(+), 32 deletions(-) diff --git a/assets/requirements/macos.compiled b/assets/requirements/macos.compiled index 66e39c95b..0a722533b 100644 --- a/assets/requirements/macos.compiled +++ b/assets/requirements/macos.compiled @@ -1,7 +1,7 @@ # This file was autogenerated by uv via the following command: # uv pip compile assets/ComfyUI/requirements.txt assets/ComfyUI/manager_requirements.txt --emit-index-annotation --emit-index-url --index-strategy unsafe-best-match --python-platform aarch64-apple-darwin --python-version 3.12 --override assets/override.txt --index-url https://pypi.org/simple -o assets/requirements/macos.compiled --index-url https://pypi.org/simple ---extra-index-url https://download.pytorch.org/whl/cu129 +--extra-index-url https://download.pytorch.org/whl/cu130 aiohappyeyeballs==2.4.3 # via aiohttp @@ -21,7 +21,7 @@ annotated-types==0.7.0 attrs==24.2.0 # via aiohttp # from https://pypi.org/simple -av==14.3.0 +av==16.1.0 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple certifi==2024.8.30 @@ -41,28 +41,31 @@ charset-normalizer==3.4.0 click==8.1.7 # via typer # from https://pypi.org/simple +comfy-kitchen==0.2.7 + # via -r assets/ComfyUI/requirements.txt + # from https://pypi.org/simple comfyui-embedded-docs==0.4.0 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple -comfyui-manager==4.0.3b7 +comfyui-manager==4.0.5 # via -r assets/ComfyUI/manager_requirements.txt # from https://pypi.org/simple comfyui-workflow-templates==0.8.14 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple -comfyui-workflow-templates-core==0.3.58 +comfyui-workflow-templates-core==0.3.100 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-api==0.3.31 +comfyui-workflow-templates-media-api==0.3.44 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-image==0.3.43 +comfyui-workflow-templates-media-image==0.3.66 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-other==0.3.61 +comfyui-workflow-templates-media-other==0.3.87 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-video==0.3.22 +comfyui-workflow-templates-media-video==0.3.39 # via comfyui-workflow-templates # from https://pypi.org/simple cryptography==43.0.3 @@ -81,7 +84,7 @@ filelock==3.16.1 # huggingface-hub # torch # transformers - # from https://download.pytorch.org/whl/cu129 + # from https://download.pytorch.org/whl/cu130 frozenlist==1.5.0 # via # aiohttp @@ -91,7 +94,7 @@ fsspec==2024.10.0 # via # huggingface-hub # torch - # from https://download.pytorch.org/whl/cu129 + # from https://download.pytorch.org/whl/cu130 gitdb==4.0.11 # via gitpython # from https://pypi.org/simple @@ -114,7 +117,7 @@ idna==3.10 # from https://pypi.org/simple jinja2==3.1.4 # via torch - # from https://download.pytorch.org/whl/cu129 + # from https://download.pytorch.org/whl/cu130 kornia==0.7.4 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple @@ -137,7 +140,7 @@ mdurl==0.1.2 # from https://pypi.org/simple mpmath==1.3.0 # via sympy - # from https://download.pytorch.org/whl/cu129 + # from https://download.pytorch.org/whl/cu130 multidict==6.1.0 # via # aiohttp @@ -145,7 +148,7 @@ multidict==6.1.0 # from https://pypi.org/simple networkx==3.4.2 # via torch - # from https://download.pytorch.org/whl/cu129 + # from https://download.pytorch.org/whl/cu130 numpy==2.1.3 # via # -r assets/ComfyUI/requirements.txt @@ -154,7 +157,7 @@ numpy==2.1.3 # torchsde # torchvision # transformers - # from https://download.pytorch.org/whl/cu129 + # from https://download.pytorch.org/whl/cu130 packaging==24.2 # via # huggingface-hub @@ -165,7 +168,7 @@ pillow==11.0.0 # via # -r assets/ComfyUI/requirements.txt # torchvision - # from https://download.pytorch.org/whl/cu129 + # from https://download.pytorch.org/whl/cu130 propcache==0.3.1 # via # aiohttp @@ -254,9 +257,9 @@ sqlalchemy==2.0.41 # -r assets/ComfyUI/requirements.txt # alembic # from https://pypi.org/simple -sympy==1.13.1 +sympy==1.14.0 # via torch - # from https://download.pytorch.org/whl/cu129 + # from https://download.pytorch.org/whl/cu130 tokenizers==0.22.1 # via # -r assets/ComfyUI/requirements.txt @@ -275,7 +278,7 @@ torch==2.10.0 # torchsde # torchvision # from https://pypi.org/simple -torchaudio==2.10.0 +torchaudio==2.9.1 # via # --override assets/override.txt # -r assets/ComfyUI/requirements.txt @@ -321,7 +324,7 @@ typing-extensions==4.12.2 # torch # typer # typing-inspection - # from https://download.pytorch.org/whl/cu129 + # from https://download.pytorch.org/whl/cu130 typing-inspection==0.4.0 # via # pydantic diff --git a/assets/requirements/windows_cpu.compiled b/assets/requirements/windows_cpu.compiled index 392fd1bf2..01a6932a2 100644 --- a/assets/requirements/windows_cpu.compiled +++ b/assets/requirements/windows_cpu.compiled @@ -45,28 +45,31 @@ colorama==0.4.6 # click # tqdm # from https://pypi.org/simple +comfy-kitchen==0.2.7 + # via -r assets/ComfyUI/requirements.txt + # from https://pypi.org/simple comfyui-embedded-docs==0.4.0 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple -comfyui-manager==4.0.3b7 +comfyui-manager==4.0.5 # via -r assets/ComfyUI/manager_requirements.txt # from https://pypi.org/simple comfyui-workflow-templates==0.8.14 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple -comfyui-workflow-templates-core==0.3.58 +comfyui-workflow-templates-core==0.3.100 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-api==0.3.31 +comfyui-workflow-templates-media-api==0.3.44 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-image==0.3.43 +comfyui-workflow-templates-media-image==0.3.66 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-other==0.3.61 +comfyui-workflow-templates-media-other==0.3.87 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-video==0.3.22 +comfyui-workflow-templates-media-video==0.3.39 # via comfyui-workflow-templates # from https://pypi.org/simple cryptography==44.0.0 @@ -261,7 +264,7 @@ sqlalchemy==2.0.41 # -r assets/ComfyUI/requirements.txt # alembic # from https://pypi.org/simple -sympy==1.13.1 +sympy==1.14.0 # via torch # from https://pypi.org/simple tokenizers==0.22.1 diff --git a/assets/requirements/windows_nvidia.compiled b/assets/requirements/windows_nvidia.compiled index db0c50ca2..dcba6129a 100644 --- a/assets/requirements/windows_nvidia.compiled +++ b/assets/requirements/windows_nvidia.compiled @@ -46,28 +46,31 @@ colorama==0.4.6 # click # tqdm # from https://download.pytorch.org/whl/cu130 +comfy-kitchen==0.2.7 + # via -r assets/ComfyUI/requirements.txt + # from https://pypi.org/simple comfyui-embedded-docs==0.4.0 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple -comfyui-manager==4.0.4 +comfyui-manager==4.0.5 # via -r assets/ComfyUI/manager_requirements.txt # from https://pypi.org/simple comfyui-workflow-templates==0.8.14 # via -r assets/ComfyUI/requirements.txt # from https://pypi.org/simple -comfyui-workflow-templates-core==0.3.61 +comfyui-workflow-templates-core==0.3.100 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-api==0.3.34 +comfyui-workflow-templates-media-api==0.3.44 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-image==0.3.43 +comfyui-workflow-templates-media-image==0.3.66 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-other==0.3.62 +comfyui-workflow-templates-media-other==0.3.87 # via comfyui-workflow-templates # from https://pypi.org/simple -comfyui-workflow-templates-media-video==0.3.22 +comfyui-workflow-templates-media-video==0.3.39 # via comfyui-workflow-templates # from https://pypi.org/simple cryptography==44.0.0 From b8413b2f168ff4ed31298666c09f7d18cfc56aed Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Wed, 28 Jan 2026 12:39:17 -0800 Subject: [PATCH 3/5] Fix macos torchaudio version --- assets/requirements/macos.compiled | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/requirements/macos.compiled b/assets/requirements/macos.compiled index 0a722533b..9da422813 100644 --- a/assets/requirements/macos.compiled +++ b/assets/requirements/macos.compiled @@ -278,7 +278,7 @@ torch==2.10.0 # torchsde # torchvision # from https://pypi.org/simple -torchaudio==2.9.1 +torchaudio==2.10.0 # via # --override assets/override.txt # -r assets/ComfyUI/requirements.txt From 9d23418943cddbd9dc33996ff440b591cfc902da Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Wed, 28 Jan 2026 12:42:59 -0800 Subject: [PATCH 4/5] Avoid hardcoded torch version in NVIDIA warning --- src/install/installationManager.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/install/installationManager.ts b/src/install/installationManager.ts index e45c61073..40ae20afb 100644 --- a/src/install/installationManager.ts +++ b/src/install/installationManager.ts @@ -5,7 +5,7 @@ import { promisify } from 'node:util'; import { strictIpcMain as ipcMain } from '@/infrastructure/ipcChannels'; -import { IPC_CHANNELS, InstallStage, ProgressStatus } from '../constants'; +import { IPC_CHANNELS, InstallStage, NVIDIA_TORCH_VERSION, ProgressStatus } from '../constants'; import { PythonImportVerificationError } from '../infrastructure/pythonImportVerificationError'; import { useAppState } from '../main-process/appState'; import type { AppWindow } from '../main-process/appWindow'; @@ -405,10 +405,11 @@ export class InstallationManager implements HasTelemetry { if (!isNvidiaDriverBelowMinimum(driverVersion)) return; + const displayTorchVersion = NVIDIA_TORCH_VERSION.replace('+', ' + '); await this.appWindow.showMessageBox({ type: 'warning', title: 'Update NVIDIA Driver', - message: 'Your NVIDIA driver may be too old for PyTorch 2.10.0 + cu130.', + message: `Your NVIDIA driver may be too old for PyTorch ${displayTorchVersion}.`, detail: `Detected driver version: ${driverVersion}\nRecommended minimum: ${NVIDIA_DRIVER_MIN_VERSION}\n\nPlease consider updating your NVIDIA drivers and retrying if you run into issues.`, buttons: ['OK'], }); From abe22a3803368d324fd528ff1eafa7a9d47483b0 Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Wed, 28 Jan 2026 12:45:47 -0800 Subject: [PATCH 5/5] Use torch version constant in NVIDIA warning --- src/install/installationManager.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/install/installationManager.ts b/src/install/installationManager.ts index 40ae20afb..775c0153e 100644 --- a/src/install/installationManager.ts +++ b/src/install/installationManager.ts @@ -405,11 +405,10 @@ export class InstallationManager implements HasTelemetry { if (!isNvidiaDriverBelowMinimum(driverVersion)) return; - const displayTorchVersion = NVIDIA_TORCH_VERSION.replace('+', ' + '); await this.appWindow.showMessageBox({ type: 'warning', title: 'Update NVIDIA Driver', - message: `Your NVIDIA driver may be too old for PyTorch ${displayTorchVersion}.`, + message: `Your NVIDIA driver may be too old for PyTorch ${NVIDIA_TORCH_VERSION}.`, detail: `Detected driver version: ${driverVersion}\nRecommended minimum: ${NVIDIA_DRIVER_MIN_VERSION}\n\nPlease consider updating your NVIDIA drivers and retrying if you run into issues.`, buttons: ['OK'], });