LykosAI / StabilityMatrix

Multi-Platform Package Manager for Stable Diffusion
https://lykos.ai
GNU Affero General Public License v3.0
4.83k stars 311 forks source link

ComfyUI startup error #970

Open liujvnes opened 1 month ago

liujvnes commented 1 month ago

What happened?

Startup error after upgrading ComfyUI to v0.2.4

Exception Details

[START] Security scan [DONE] Security scan

ComfyUI-Manager: installing dependencies done.

ComfyUI startup time: 2024-10-25 18:22:34.507220 Platform: Windows Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] Python executable: D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\Scripts\python.exe ComfyUI Path: D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI Log path: D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\comfyui.log

Prestartup times for custom nodes: 0.0 seconds: D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\rgthree-comfy 0.0 seconds: D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\ComfyUI-Easy-Use 1.1 seconds: D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8188 MB, total RAM 65221 MB pytorch version: 2.5.0+cu124 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4060 Laptop GPU : cudaMallocAsync WARNING: Failed to find MSVC. Traceback (most recent call last): File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\main.py", line 90, in import execution File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\execution.py", line 13, in import nodes File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\nodes.py", line 21, in import comfy.diffusers_load File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\comfy\diffusers_load.py", line 3, in import comfy.sd File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\comfy\sd.py", line 8, in from .ldm.cascade.stage_c_coder import StageC_coder File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\comfy\ldm\cascade\stage_c_coder.py", line 19, in import torchvision File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torchvision__init.py", line 10, in from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils # usort:skip File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torchvision\models__init.py", line 2, in from .convnext import * File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torchvision\models\convnext.py", line 8, in from ..ops.misc import Conv2dNormActivation, Permute File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torchvision\ops__init__.py", line 23, in from .poolers import MultiScaleRoIAlign File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torchvision\ops\poolers.py", line 10, in from .roi_align import roi_align File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torchvision\ops\roi_align.py", line 7, in from torch._dynamo.utils import is_compile_supported File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torch_dynamo\init__.py", line 3, in from . import convert_frame, eval_frame, resume_execution File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torch_dynamo\convert_frame.py", line 31, in from torch._dynamo.utils import CompileTimeInstructionCounter File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torch_dynamo\utils.py", line 1320, in if has_triton_package(): File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\torch\utils_triton.py", line 9, in has_triton_package from triton.compiler.compiler import triton_key File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\triton\init__.py", line 8, in msvc_winsdk_incdirs, = find_msvc_winsdk() File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\triton\windows_utils.py", line 173, in find_msvc_winsdk winsdk_inc_dirs, winsdk_lib_dirs = find_winsdk() File "D:\Ai Project\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\triton\windows_utils.py", line 152, in find_winsdk version = max_version(os.listdir(winsdk_base_path / "Include")) FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'C:\Program Files (x86)\Windows Kits\10\Include'

Version

v2.12.2

What Operating System are you using?

Windows