Unable to start ComfyUI Desktop v0.4.70

Unable to launch ComfyUI Desktop v0.4.70 (Mac)

I can’t launch ComfyUI Desktop after updating. Attached is the log. :anxious_face_with_sweat::anxious_face_with_sweat::anxious_face_with_sweat:
Please help me.


Logs:

[2025-09-06 16:43:31.871] [info]  Adding extra search path custom_nodes /Users/linchengqiu/Documents/ComfyUI/custom_nodes
Adding extra search path download_model_base /Users/linchengqiu/Documents/ComfyUI/models
Adding extra search path custom_nodes /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes
Setting output directory to: /Users/linchengqiu/Documents/ComfyUI/output
Setting input directory to: /Users/linchengqiu/Documents/ComfyUI/input

[2025-09-06 16:43:31.872] [info]  Setting user directory to: /Users/linchengqiu/Documents/ComfyUI/user

[2025-09-06 16:43:33.282] [info]  Total VRAM 32768 MB, total RAM 32768 MB
pytorch version: 2.8.0.dev20250323

[2025-09-06 16:43:33.286] [info]  Mac Version (15, 6, 1)

[2025-09-06 16:43:33.286] [info]  Set vram state to: SHARED
Device: mps

[2025-09-06 16:43:33.290] [info]  Checkpoint files will always be loaded safely.

[2025-09-06 16:43:34.456] [info]  Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention

[2025-09-06 16:43:36.926] [info]  [START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.

[2025-09-06 16:43:36.927] [info]  ** ComfyUI startup time: 2025-09-06 16:43:36.926
** Platform: Darwin
** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
** Python executable: /Users/linchengqiu/Documents/ComfyUI/.venv/bin/python
** ComfyUI Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
** ComfyUI Base Folder Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
** User directory: /Users/linchengqiu/Documents/ComfyUI/user
** ComfyUI-Manager config path: /Users/linchengqiu/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini
** Log path: /Users/linchengqiu/Documents/ComfyUI/user/comfyui.log

[2025-09-06 16:43:37.425] [info]  [ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.

Prestartup times for custom nodes:

[2025-09-06 16:43:37.429] [info]     1.2 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager


[2025-09-06 16:43:37.430] [info]  WARNING: Potential Error in code: Torch already imported, torch should never be imported before this point.

[2025-09-06 16:43:37.532] [info]  Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]

[2025-09-06 16:43:37.533] [info]  ComfyUI version: 0.3.57

[2025-09-06 16:43:37.534] [info]  [Prompt Server] web root: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app

[2025-09-06 16:43:38.514] [error] /Users/linchengqiu/Documents/ComfyUI/custom_nodes/agilly1989_motorway/prestartup_script.py:19: RuntimeWarning: coroutine 'init_external_custom_nodes' was never awaited
  original_init_external_custom_nodes()  # Call the function with patched behavior
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

[2025-09-06 16:43:38.515] [error] Traceback (most recent call last):
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/main.py", line 361, in <module>
    event_loop, _, start_all_func = start_comfyui()
                  
[2025-09-06 16:43:38.516] [error]                   ^^^^^^^^^^
[2025-09-06 16:43:38.517] [error] ^^^^^
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/main.py", line 316, in start_comfyui
    asyncio_loop.run_until_complete(nodes.init_extra_nodes(
  File "/Users/linchengqiu/.local/share/uv/python/cpython-3.12.9-macos-aarch64-none/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete

[2025-09-06 16:43:38.517] [error]     return future.result()
           ^^^^
[2025-09-06 16:43:38.518] [error] ^^^^^^^^^^^

[2025-09-06 16:43:38.518] [error]   File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/nodes.py", line 2389, in init_extra_nodes

[2025-09-06 16:43:38.519] [error]     
[2025-09-06 16:43:38.519] [error] await init_external_custom_nodes()
TypeError: object NoneType can't be used in 'await' expression
2 Likes

I have the same issue too!!!

1 Like

I am having startup issues, too,but my logs indicate a different issue:

[2025-09-07 21:15:48.082] [info]  [ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.

[2025-09-07 21:15:48.083] [info]  
Prestartup times for custom nodes:
   3.5 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager


[2025-09-07 21:15:55.203] [info]  Checkpoint files will always be loaded safely.

[2025-09-07 21:15:55.623] [error] Traceback (most recent call last):

[2025-09-07 21:15:55.624] [error]   File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/main.py", line 147, in <module>
    import execution
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/execution.py", line 15, in <module>
    import comfy.model_management

[2025-09-07 21:15:55.625] [error]   File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/model_management.py", line 236, in <module>
    total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)

[2025-09-07 21:15:55.625] [error]           
[2025-09-07 21:15:55.626] [error]       
[2025-09-07 21:15:55.626] [error]                   ^
[2025-09-07 21:15:55.627] [error] ^^^^^^^^^^^^^^^^^
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/model_management.py", line 186, in get_torch_device

[2025-09-07 21:15:55.627] [error]     
[2025-09-07 21:15:55.627] [error] return torch.device(torch.cuda.current_device())
         
[2025-09-07 21:15:55.628] [error]                
[2025-09-07 21:15:55.628] [error] ^^^^^^^^^^^^^^^^^
[2025-09-07 21:15:55.629] [error] ^^^^^^^^^^
  File "/Users/username/Documents/ComfyUI/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py", line 1069, in current_device

[2025-09-07 21:15:55.630] [error]     _lazy_init()
  File "/Users/username/Documents/ComfyUI/.venv/lib/python3.12/site-packages/torch/cuda/__init__.py", line 403, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled


I tried rebooting to install it, and I could open ti.