Skip to content

Can't Launching ComfyUI Package After Updates of ComfyUI and StabilityMatrix #1428

Closed as not planned

Description

@vrthur

Package

ComfyUI

When did the issue occur?

Installing the Package

What GPU / hardware type are you using?

NVIDIA GeForce GTX 1080

What happened?

I am experiencing difficulties launching the ComfyUI package following the recent updates to both ComfyUI and StabilityMatrix. After the updates, the application fails to start, and I am encountering this errors in the console output : TypeError: expected string or bytes-like object [W1018 09:08:28.000000000 AllocatorConfig.cpp:28] Warning: PYTORCH_CUDA_ALLOC_CONF is deprecated, use PYTORCH_ALLOC_CONF instead (function operator ())

Now upon launch, the application fails to start as intended, and the console output provides those log below.

I likely created conflicts because the updates for Stability Matrix and ComfyUI occurred at the same time while I was already using ComfyUI. I do not want to reinstall the package to avoid losing my workflow configurations.

Console output

[START] Security scan
[DONE] Security scan

ComfyUI-Manager: installing dependencies done.

** ComfyUI startup time: 2025-10-18 09:07:10.345
** 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: C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\Scripts\python.exe
** ComfyUI Path: C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI
** ComfyUI Base Folder Path: C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI
** User directory: C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\user
** ComfyUI-Manager config path: C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\user\default\ComfyUI-Manager\config.ini
** Log path: C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\user\comfyui.log
[ComfyUI-Manager] 'numpy' dependency were fixed

Prestartup times for custom nodes:
0.0 seconds: C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\custom_nodes\rgthree-comfy
0.0 seconds: C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\custom_nodes\comfyui-easy-use
30.2 seconds: C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\custom_nodes\ComfyUI-Manager

Checkpoint files will always be loaded safely.
Total VRAM 8192 MB, total RAM 32726 MB
pytorch version: 2.9.0+cu126
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce GTX 1080 : cudaMallocAsync
Using split optimization for attention
Traceback (most recent call last):
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\main.py", line 149, in
import execution
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\execution.py", line 16, in
import nodes
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\nodes.py", line 24, in
import comfy.diffusers_load
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\diffusers_load.py", line 3, in
import comfy.sd
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\sd.py", line 32, in
from . import model_detection
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\model_detection.py", line 2, in
import comfy.supported_models
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\supported_models.py", line 5, in
from . import sd1_clip
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\comfy\sd1_clip.py", line 3, in
from transformers import CLIPTokenizer
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\transformers_init_.py", line 27, in
from . import dependency_versions_check
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\transformers\dependency_versions_check.py", line 16, in
from .utils.versions import require_version, require_version_core
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\transformers\utils_init_.py", line 24, in
from .auto_docstring import (
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\transformers\utils\auto_docstring.py", line 30, in
from .generic import ModelOutput
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\transformers\utils\generic.py", line 34, in
from .import_utils import (
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\transformers\utils\import_utils.py", line 251, in
_torch_available = version.parse(_torch_version) >= version.parse("2.1.0")
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\packaging\version.py", line 56, in parse
return Version(version)
File "C:\Users\Morty\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\packaging\version.py", line 200, in init
match = self._regex.search(version)
TypeError: expected string or bytes-like object
[W1018 09:08:28.000000000 AllocatorConfig.cpp:28] Warning: PYTORCH_CUDA_ALLOC_CONF is deprecated, use PYTORCH_ALLOC_CONF instead (function operator ())

Version

2.15.2

What Operating System are you using?

Windows

Activity

  1. nurdyoga-afk commented on Oct 20, 2025

    @nurdyoga-afk

    i'm having a similar issue.

    When i reinstall and create a vanilla comfyui installation it runs. But when i install my custom nodes it spits out the "Warning: PYTORCH_CUDA_ALLOC_CONF is deprecated, use PYTORCH_ALLOC_CONF instead (function operator ())" error.

    then when i uninstall all the nodes, its still broken.

    It's something about the multiple custom nodes interacting that causes it to happen. If i spawn a new ComfyUI installation and install the minimum number of nodes for a particular workflow, it seems to work. But if install my full library of nodes it errors out upon restart. I can't figure out which combination is causing it

  2. hansnolte commented on Oct 21, 2025

    @hansnolte

    Can't Launching ComfyUI Package After Updates of ComfyUI and StabilityMatrix

    I felt the same way.
    For me the solution was to install numpy-1.26.4-cp310-cp310-win_amd64.whl

  3. github-actions commented on Dec 21, 2025

    @github-actions

    This issue is stale because it has been open 60 days with no activity. Remove the stale label or comment, else this will be closed in 7 days.

  4. added
    staleStale issue or inactive for long period of time
    on Dec 21, 2025
  5. github-actions commented on Dec 28, 2025

    @github-actions

    This issue was closed because it has been stale for 7 days with no activity.

  6. christoph-ender commented on Jan 14, 2026

    @christoph-ender

    Please reopen and fix this issue.

  7. added a commit that references this issue on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleStale issue or inactive for long period of time

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions