[GH-ISSUE #1371] [Bug]: KSamplerAdvanced constantly got stuck at 0% (on MPS) #383

Closed
opened 2026-10-31 22:12:21 +00:00 by bsakaguchi · 5 comments
Owner

Originally created by @kaelzhang on GitHub (Oct 11, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1371

App Version

System Info

The issue occurs on:

  • Tag v0.5.1 from source
  • Tag v.0.4.76 from source
  • desktop app v0.4.76 downloaded from the official website
Item Value
OS posix
Python Version 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
Embedded Python false
Pytorch Version 2.10.0.dev20250917
Arguments /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI/main.py --user-directory /Users/kael/Documents/ComfyUI/user --input-directory /Users/kael/Documents/ComfyUI/input --output-directory /Users/kael/Documents/ComfyUI/output --front-end-root /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI/web_custom_versions/desktop_app --base-directory /Users/kael/Documents/ComfyUI --extra-model-paths-config /Users/kael/Library/Application Support/ComfyUI/extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8000
RAM Total 128 GB
RAM Free 97.28 GB

Devices

Item Value
Name mps
Type mps
VRAM Total 128 GB
VRAM Free 97.28 GB
Torch VRAM Total 128 GB
Torch VRAM Free 97.28 GB

Expected Behavior

The progress of KSamplerAdvanced should increase

Actual Behavior

The progress always stuck at 0%, even after 24 hours.

Actually, when I first ran the workflow, it succeeded, the Wan2.2 model successfully generated a high-quality video from an image, but always stuck after that.

Steps to Reproduce

Just run the workflow.

Debug Logs

## ComfyUI-Manager: installing dependencies done.
[2025-10-11 09:18:43.723] ** ComfyUI startup time: 2025-10-11 09:18:43.723
[2025-10-11 09:18:43.723] ** Platform: Darwin
[2025-10-11 09:18:43.723] ** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-10-11 09:18:43.723] ** Python executable: /Users/kael/Documents/ComfyUI/.venv/bin/python
[2025-10-11 09:18:43.723] ** ComfyUI Path: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI
[2025-10-11 09:18:43.723] ** ComfyUI Base Folder Path: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI
[2025-10-11 09:18:43.723] ** User directory: /Users/kael/Documents/ComfyUI/user
[2025-10-11 09:18:43.723] ** ComfyUI-Manager config path: /Users/kael/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini
[2025-10-11 09:18:43.723] ** Log path: /Users/kael/Documents/ComfyUI/user/comfyui.log
[ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.
[2025-10-11 09:18:43.770] 
Prestartup times for custom nodes:
[2025-10-11 09:18:43.770]    0.3 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-10-11 09:18:43.770] 
[2025-10-11 09:18:44.201] Checkpoint files will always be loaded safely.
[2025-10-11 09:18:44.215] Total VRAM 131072 MB, total RAM 131072 MB
[2025-10-11 09:18:44.215] pytorch version: 2.10.0.dev20250917
[2025-10-11 09:18:44.216] Mac Version (15, 4, 1)
[2025-10-11 09:18:44.217] Set vram state to: SHARED
[2025-10-11 09:18:44.217] Device: mps
[2025-10-11 09:18:44.674] Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
[2025-10-11 09:18:45.635] Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-10-11 09:18:45.636] ComfyUI version: 0.3.64
[2025-10-11 09:18:45.637] [Prompt Server] web root: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI/web_custom_versions/desktop_app
[2025-10-11 09:18:46.033] ComfyUI-GGUF: Allowing full torch compile
[2025-10-11 09:18:46.037] ### Loading: ComfyUI-Manager (V3.36)
[2025-10-11 09:18:46.038] [ComfyUI-Manager] network_mode: public
[2025-10-11 09:18:46.085] ### ComfyUI Revision: 1 [63722199] *DETACHED | Released on '2025-10-08'
[2025-10-11 09:18:46.088] 
Import times for custom nodes:
[2025-10-11 09:18:46.089]    0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
[2025-10-11 09:18:46.089]    0.0 seconds: /Users/kael/Documents/ComfyUI/custom_nodes/ComfyUI-GGUF
[2025-10-11 09:18:46.089]    0.1 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-10-11 09:18:46.089] 
[2025-10-11 09:18:46.265] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2025-10-11 09:18:46.289] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2025-10-11 09:18:46.311] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2025-10-11 09:18:46.323] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2025-10-11 09:18:46.349] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[2025-10-11 09:18:46.352] Starting server

[2025-10-11 09:18:46.353] To see the GUI go to: http://127.0.0.1:8000
[2025-10-11 09:18:46.552] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2025-10-11 09:18:46.854] comfyui-frontend-package not found in requirements.txt
[2025-10-11 09:18:47.148] comfyui-frontend-package not found in requirements.txt
[2025-10-11 09:18:50.082] FETCH ComfyRegistry Data: 5/99
[2025-10-11 09:18:51.656] got prompt
[2025-10-11 09:18:51.683] Using split attention in VAE
[2025-10-11 09:18:51.684] Using split attention in VAE
[2025-10-11 09:18:51.801] VAE load device: mps, offload device: cpu, dtype: torch.bfloat16
[2025-10-11 09:18:51.861] Using scaled fp8: fp8 matrix mult: False, scale input: False
[2025-10-11 09:18:52.138] Requested to load WanTEModel
[2025-10-11 09:18:52.142] loaded completely 9.5367431640625e+25 6419.477203369141 True
[2025-10-11 09:18:52.143] CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
[2025-10-11 09:18:54.374] FETCH ComfyRegistry Data: 10/99
[2025-10-11 09:18:58.398] FETCH ComfyRegistry Data: 15/99
[2025-10-11 09:19:02.912] Requested to load WanVAE
[2025-10-11 09:19:02.995] loaded completely 9.5367431640625e+25 242.02829551696777 True
[2025-10-11 09:19:03.592] FETCH ComfyRegistry Data: 20/99
[2025-10-11 09:19:08.399] FETCH ComfyRegistry Data: 25/99
[2025-10-11 09:19:13.093] FETCH ComfyRegistry Data: 30/99
[2025-10-11 09:19:18.407] FETCH ComfyRegistry Data: 35/99
[2025-10-11 09:19:22.515] FETCH ComfyRegistry Data: 40/99
[2025-10-11 09:19:26.812] FETCH ComfyRegistry Data: 45/99
[2025-10-11 09:19:31.085] FETCH ComfyRegistry Data: 50/99
[2025-10-11 09:19:35.403] FETCH ComfyRegistry Data: 55/99
[2025-10-11 09:19:39.877] FETCH ComfyRegistry Data: 60/99
[2025-10-11 09:19:44.947] FETCH ComfyRegistry Data: 65/99
[2025-10-11 09:19:50.109] FETCH ComfyRegistry Data: 70/99
[2025-10-11 09:19:59.470] FETCH ComfyRegistry Data: 75/99
[2025-10-11 09:20:03.913] FETCH ComfyRegistry Data: 80/99
[2025-10-11 09:20:08.499] FETCH ComfyRegistry Data: 85/99
[2025-10-11 09:20:13.149] FETCH ComfyRegistry Data: 90/99
[2025-10-11 09:20:18.218] FETCH ComfyRegistry Data: 95/99
[2025-10-11 09:20:21.938] FETCH ComfyRegistry Data [DONE]
[2025-10-11 09:20:22.014] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
[2025-10-11 09:20:22.019] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[2025-10-11 09:20:22.320] [ComfyUI-Manager] All startup tasks have been completed.
[2025-10-11 09:26:53.156] gguf qtypes: F16 (694), Q4_K (356), Q5_K (44), F32 (1)
[2025-10-11 09:26:53.304] model weight dtype torch.float16, manual cast: None
[2025-10-11 09:26:53.304] model_type FLOW
[2025-10-11 09:26:53.612] Requested to load WAN21
[2025-10-11 09:26:54.091] 0 models unloaded.
[2025-10-11 09:26:57.533] loaded completely 9.5367431640625e+25 8475.468872070312 True

Browser Logs

Adding extra search path custom_nodes /Users/kael/Documents/ComfyUI/custom_nodes
Adding extra search path download_model_base /Users/kael/Documents/ComfyUI/models
Adding extra search path custom_nodes /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes
Setting output directory to: /Users/kael/Documents/ComfyUI/output
Setting input directory to: /Users/kael/Documents/ComfyUI/input
Setting user directory to: /Users/kael/Documents/ComfyUI/user
[START] Security scan
[DONE] Security scan

ComfyUI-Manager: installing dependencies done.

** ComfyUI startup time: 2025-10-11 09:18:43.723
** Platform: Darwin
** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
** Python executable: /Users/kael/Documents/ComfyUI/.venv/bin/python
** ComfyUI Path: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI
** ComfyUI Base Folder Path: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI
** User directory: /Users/kael/Documents/ComfyUI/user
** ComfyUI-Manager config path: /Users/kael/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini
** Log path: /Users/kael/Documents/ComfyUI/user/comfyui.log
[ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.

Prestartup times for custom nodes:
0.3 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager

Checkpoint files will always be loaded safely.
Total VRAM 131072 MB, total RAM 131072 MB
pytorch version: 2.10.0.dev20250917
Mac Version (15, 4, 1)
Set vram state to: SHARED
Device: mps
Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
ComfyUI version: 0.3.64
[Prompt Server] web root: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI/web_custom_versions/desktop_app
ComfyUI-GGUF: Allowing full torch compile

Loading: ComfyUI-Manager (V3.36)

[ComfyUI-Manager] network_mode: public

ComfyUI Revision: 1 [63722199] *DETACHED | Released on '2025-10-08'

Import times for custom nodes:
0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
0.0 seconds: /Users/kael/Documents/ComfyUI/custom_nodes/ComfyUI-GGUF
0.1 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager

[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
Starting server

To see the GUI go to: http://127.0.0.1:8000
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
comfyui-frontend-package not found in requirements.txt
comfyui-frontend-package not found in requirements.txt
FETCH ComfyRegistry Data: 5/99
got prompt
Using split attention in VAE
Using split attention in VAE
VAE load device: mps, offload device: cpu, dtype: torch.bfloat16
Using scaled fp8: fp8 matrix mult: False, scale input: False
Requested to load WanTEModel
loaded completely 9.5367431640625e+25 6419.477203369141 True
CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
FETCH ComfyRegistry Data: 10/99
FETCH ComfyRegistry Data: 15/99
Requested to load WanVAE
loaded completely 9.5367431640625e+25 242.02829551696777 True
FETCH ComfyRegistry Data: 20/99
FETCH ComfyRegistry Data: 25/99
FETCH ComfyRegistry Data: 30/99
FETCH ComfyRegistry Data: 35/99
FETCH ComfyRegistry Data: 40/99
FETCH ComfyRegistry Data: 45/99
FETCH ComfyRegistry Data: 50/99
FETCH ComfyRegistry Data: 55/99
FETCH ComfyRegistry Data: 60/99
FETCH ComfyRegistry Data: 65/99
FETCH ComfyRegistry Data: 70/99
FETCH ComfyRegistry Data: 75/99
FETCH ComfyRegistry Data: 80/99
FETCH ComfyRegistry Data: 85/99
FETCH ComfyRegistry Data: 90/99
FETCH ComfyRegistry Data: 95/99
FETCH ComfyRegistry Data [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] All startup tasks have been completed.
gguf qtypes: F16 (694), Q4_K (356), Q5_K (44), F32 (1)
model weight dtype torch.float16, manual cast: None
model_type FLOW
Requested to load WAN21
0 models unloaded.
loaded completely 9.5367431640625e+25 8475.468872070312 True
0%| | 0/2 [00:00<?, ?it/s]

Settings JSON

{
"Comfy-Desktop.AutoUpdate": true,
"Comfy-Desktop.SendStatistics": false,
"Comfy.ColorPalette": "dark",
"Comfy.UseNewMenu": "Top",
"Comfy.Workflow.WorkflowTabsPosition": "Topbar",
"Comfy.Workflow.ShowMissingModelsWarning": true,
"Comfy.Server.LaunchArgs": {},
"Comfy-Desktop.UV.PythonInstallMirror": "https://github.com/astral-sh/python-build-standalone/releases/download",
"Comfy-Desktop.UV.PypiInstallMirror": "https://pypi.org/simple/",
"Comfy-Desktop.UV.TorchInstallMirror": "https://download.pytorch.org/whl/nightly/cpu",
"Comfy.InstalledVersion": "1.25.11",
"Comfy.TutorialCompleted": true,
"Comfy.Release.Version": "0.3.64",
"Comfy.Release.Status": "what's new seen",
"Comfy.Release.Timestamp": 1760142945390,
"Comfy.Minimap.Visible": false,
"Comfy.DevMode": true,
"Comfy.Locale": "en"
}

Other

No response

┆Issue is synchronized with this Notion page by Unito

Originally created by @kaelzhang on GitHub (Oct 11, 2025). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1371 ### App Version ## System Info The issue occurs on: - Tag v0.5.1 from source - Tag v.0.4.76 from source - desktop app v0.4.76 downloaded from the official website Item | Value ---- | ---- OS | posix Python Version | 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ] Embedded Python | false Pytorch Version | 2.10.0.dev20250917 Arguments | /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI/main.py --user-directory /Users/kael/Documents/ComfyUI/user --input-directory /Users/kael/Documents/ComfyUI/input --output-directory /Users/kael/Documents/ComfyUI/output --front-end-root /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI/web_custom_versions/desktop_app --base-directory /Users/kael/Documents/ComfyUI --extra-model-paths-config /Users/kael/Library/Application Support/ComfyUI/extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8000 RAM Total | 128 GB RAM Free | 97.28 GB ## Devices Item | Value ---- | ---- Name | mps Type | mps VRAM Total | 128 GB VRAM Free | 97.28 GB Torch VRAM Total | 128 GB Torch VRAM Free | 97.28 GB ### Expected Behavior The progress of KSamplerAdvanced should increase ### Actual Behavior The progress always stuck at 0%, even after 24 hours. Actually, when I first ran the workflow, it succeeded, the Wan2.2 model successfully generated a high-quality video from an image, but always stuck after that. ### Steps to Reproduce Just run the workflow. ### Debug Logs ```powershell ## ComfyUI-Manager: installing dependencies done. [2025-10-11 09:18:43.723] ** ComfyUI startup time: 2025-10-11 09:18:43.723 [2025-10-11 09:18:43.723] ** Platform: Darwin [2025-10-11 09:18:43.723] ** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ] [2025-10-11 09:18:43.723] ** Python executable: /Users/kael/Documents/ComfyUI/.venv/bin/python [2025-10-11 09:18:43.723] ** ComfyUI Path: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI [2025-10-11 09:18:43.723] ** ComfyUI Base Folder Path: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI [2025-10-11 09:18:43.723] ** User directory: /Users/kael/Documents/ComfyUI/user [2025-10-11 09:18:43.723] ** ComfyUI-Manager config path: /Users/kael/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini [2025-10-11 09:18:43.723] ** Log path: /Users/kael/Documents/ComfyUI/user/comfyui.log [ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated. [2025-10-11 09:18:43.770] Prestartup times for custom nodes: [2025-10-11 09:18:43.770] 0.3 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager [2025-10-11 09:18:43.770] [2025-10-11 09:18:44.201] Checkpoint files will always be loaded safely. [2025-10-11 09:18:44.215] Total VRAM 131072 MB, total RAM 131072 MB [2025-10-11 09:18:44.215] pytorch version: 2.10.0.dev20250917 [2025-10-11 09:18:44.216] Mac Version (15, 4, 1) [2025-10-11 09:18:44.217] Set vram state to: SHARED [2025-10-11 09:18:44.217] Device: mps [2025-10-11 09:18:44.674] Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention [2025-10-11 09:18:45.635] Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ] [2025-10-11 09:18:45.636] ComfyUI version: 0.3.64 [2025-10-11 09:18:45.637] [Prompt Server] web root: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI/web_custom_versions/desktop_app [2025-10-11 09:18:46.033] ComfyUI-GGUF: Allowing full torch compile [2025-10-11 09:18:46.037] ### Loading: ComfyUI-Manager (V3.36) [2025-10-11 09:18:46.038] [ComfyUI-Manager] network_mode: public [2025-10-11 09:18:46.085] ### ComfyUI Revision: 1 [63722199] *DETACHED | Released on '2025-10-08' [2025-10-11 09:18:46.088] Import times for custom nodes: [2025-10-11 09:18:46.089] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py [2025-10-11 09:18:46.089] 0.0 seconds: /Users/kael/Documents/ComfyUI/custom_nodes/ComfyUI-GGUF [2025-10-11 09:18:46.089] 0.1 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager [2025-10-11 09:18:46.089] [2025-10-11 09:18:46.265] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [2025-10-11 09:18:46.289] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [2025-10-11 09:18:46.311] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [2025-10-11 09:18:46.323] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [2025-10-11 09:18:46.349] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file (Background on this error at: https://sqlalche.me/e/20/e3q8) [2025-10-11 09:18:46.352] Starting server [2025-10-11 09:18:46.353] To see the GUI go to: http://127.0.0.1:8000 [2025-10-11 09:18:46.552] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [2025-10-11 09:18:46.854] comfyui-frontend-package not found in requirements.txt [2025-10-11 09:18:47.148] comfyui-frontend-package not found in requirements.txt [2025-10-11 09:18:50.082] FETCH ComfyRegistry Data: 5/99 [2025-10-11 09:18:51.656] got prompt [2025-10-11 09:18:51.683] Using split attention in VAE [2025-10-11 09:18:51.684] Using split attention in VAE [2025-10-11 09:18:51.801] VAE load device: mps, offload device: cpu, dtype: torch.bfloat16 [2025-10-11 09:18:51.861] Using scaled fp8: fp8 matrix mult: False, scale input: False [2025-10-11 09:18:52.138] Requested to load WanTEModel [2025-10-11 09:18:52.142] loaded completely 9.5367431640625e+25 6419.477203369141 True [2025-10-11 09:18:52.143] CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16 [2025-10-11 09:18:54.374] FETCH ComfyRegistry Data: 10/99 [2025-10-11 09:18:58.398] FETCH ComfyRegistry Data: 15/99 [2025-10-11 09:19:02.912] Requested to load WanVAE [2025-10-11 09:19:02.995] loaded completely 9.5367431640625e+25 242.02829551696777 True [2025-10-11 09:19:03.592] FETCH ComfyRegistry Data: 20/99 [2025-10-11 09:19:08.399] FETCH ComfyRegistry Data: 25/99 [2025-10-11 09:19:13.093] FETCH ComfyRegistry Data: 30/99 [2025-10-11 09:19:18.407] FETCH ComfyRegistry Data: 35/99 [2025-10-11 09:19:22.515] FETCH ComfyRegistry Data: 40/99 [2025-10-11 09:19:26.812] FETCH ComfyRegistry Data: 45/99 [2025-10-11 09:19:31.085] FETCH ComfyRegistry Data: 50/99 [2025-10-11 09:19:35.403] FETCH ComfyRegistry Data: 55/99 [2025-10-11 09:19:39.877] FETCH ComfyRegistry Data: 60/99 [2025-10-11 09:19:44.947] FETCH ComfyRegistry Data: 65/99 [2025-10-11 09:19:50.109] FETCH ComfyRegistry Data: 70/99 [2025-10-11 09:19:59.470] FETCH ComfyRegistry Data: 75/99 [2025-10-11 09:20:03.913] FETCH ComfyRegistry Data: 80/99 [2025-10-11 09:20:08.499] FETCH ComfyRegistry Data: 85/99 [2025-10-11 09:20:13.149] FETCH ComfyRegistry Data: 90/99 [2025-10-11 09:20:18.218] FETCH ComfyRegistry Data: 95/99 [2025-10-11 09:20:21.938] FETCH ComfyRegistry Data [DONE] [2025-10-11 09:20:22.014] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes [2025-10-11 09:20:22.019] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE] [2025-10-11 09:20:22.320] [ComfyUI-Manager] All startup tasks have been completed. [2025-10-11 09:26:53.156] gguf qtypes: F16 (694), Q4_K (356), Q5_K (44), F32 (1) [2025-10-11 09:26:53.304] model weight dtype torch.float16, manual cast: None [2025-10-11 09:26:53.304] model_type FLOW [2025-10-11 09:26:53.612] Requested to load WAN21 [2025-10-11 09:26:54.091] 0 models unloaded. [2025-10-11 09:26:57.533] loaded completely 9.5367431640625e+25 8475.468872070312 True ``` ### Browser Logs Adding extra search path custom_nodes /Users/kael/Documents/ComfyUI/custom_nodes Adding extra search path download_model_base /Users/kael/Documents/ComfyUI/models Adding extra search path custom_nodes /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes Setting output directory to: /Users/kael/Documents/ComfyUI/output Setting input directory to: /Users/kael/Documents/ComfyUI/input Setting user directory to: /Users/kael/Documents/ComfyUI/user [START] Security scan [DONE] Security scan ## ComfyUI-Manager: installing dependencies done. ** ComfyUI startup time: 2025-10-11 09:18:43.723 ** Platform: Darwin ** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ] ** Python executable: /Users/kael/Documents/ComfyUI/.venv/bin/python ** ComfyUI Path: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI ** ComfyUI Base Folder Path: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI ** User directory: /Users/kael/Documents/ComfyUI/user ** ComfyUI-Manager config path: /Users/kael/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini ** Log path: /Users/kael/Documents/ComfyUI/user/comfyui.log [ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated. Prestartup times for custom nodes: 0.3 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager Checkpoint files will always be loaded safely. Total VRAM 131072 MB, total RAM 131072 MB pytorch version: 2.10.0.dev20250917 Mac Version (15, 4, 1) Set vram state to: SHARED Device: mps Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ] ComfyUI version: 0.3.64 [Prompt Server] web root: /Users/kael/Documents/ComfyUI/Sources/desktop/assets/ComfyUI/web_custom_versions/desktop_app ComfyUI-GGUF: Allowing full torch compile ### Loading: ComfyUI-Manager (V3.36) [ComfyUI-Manager] network_mode: public ### ComfyUI Revision: 1 [63722199] *DETACHED | Released on '2025-10-08' Import times for custom nodes: 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py 0.0 seconds: /Users/kael/Documents/ComfyUI/custom_nodes/ComfyUI-GGUF 0.1 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file (Background on this error at: https://sqlalche.me/e/20/e3q8) Starting server To see the GUI go to: http://127.0.0.1:8000 [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json comfyui-frontend-package not found in requirements.txt comfyui-frontend-package not found in requirements.txt FETCH ComfyRegistry Data: 5/99 got prompt Using split attention in VAE Using split attention in VAE VAE load device: mps, offload device: cpu, dtype: torch.bfloat16 Using scaled fp8: fp8 matrix mult: False, scale input: False Requested to load WanTEModel loaded completely 9.5367431640625e+25 6419.477203369141 True CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16 FETCH ComfyRegistry Data: 10/99 FETCH ComfyRegistry Data: 15/99 Requested to load WanVAE loaded completely 9.5367431640625e+25 242.02829551696777 True FETCH ComfyRegistry Data: 20/99 FETCH ComfyRegistry Data: 25/99 FETCH ComfyRegistry Data: 30/99 FETCH ComfyRegistry Data: 35/99 FETCH ComfyRegistry Data: 40/99 FETCH ComfyRegistry Data: 45/99 FETCH ComfyRegistry Data: 50/99 FETCH ComfyRegistry Data: 55/99 FETCH ComfyRegistry Data: 60/99 FETCH ComfyRegistry Data: 65/99 FETCH ComfyRegistry Data: 70/99 FETCH ComfyRegistry Data: 75/99 FETCH ComfyRegistry Data: 80/99 FETCH ComfyRegistry Data: 85/99 FETCH ComfyRegistry Data: 90/99 FETCH ComfyRegistry Data: 95/99 FETCH ComfyRegistry Data [DONE] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE] [ComfyUI-Manager] All startup tasks have been completed. gguf qtypes: F16 (694), Q4_K (356), Q5_K (44), F32 (1) model weight dtype torch.float16, manual cast: None model_type FLOW Requested to load WAN21 0 models unloaded. loaded completely 9.5367431640625e+25 8475.468872070312 True 0%| | 0/2 [00:00<?, ?it/s] ### Settings JSON { "Comfy-Desktop.AutoUpdate": true, "Comfy-Desktop.SendStatistics": false, "Comfy.ColorPalette": "dark", "Comfy.UseNewMenu": "Top", "Comfy.Workflow.WorkflowTabsPosition": "Topbar", "Comfy.Workflow.ShowMissingModelsWarning": true, "Comfy.Server.LaunchArgs": {}, "Comfy-Desktop.UV.PythonInstallMirror": "https://github.com/astral-sh/python-build-standalone/releases/download", "Comfy-Desktop.UV.PypiInstallMirror": "https://pypi.org/simple/", "Comfy-Desktop.UV.TorchInstallMirror": "https://download.pytorch.org/whl/nightly/cpu", "Comfy.InstalledVersion": "1.25.11", "Comfy.TutorialCompleted": true, "Comfy.Release.Version": "0.3.64", "Comfy.Release.Status": "what's new seen", "Comfy.Release.Timestamp": 1760142945390, "Comfy.Minimap.Visible": false, "Comfy.DevMode": true, "Comfy.Locale": "en" } ### Other _No response_ ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1371-Bug-KSamplerAdvanced-constantly-got-stuck-at-0-on-MPS-2896d73d3650819284d3c035ea67a65e) by [Unito](https://www.unito.io)
bsakaguchi 2026-10-31 22:12:21 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@dosubot[bot] commented on GitHub (Oct 11, 2025):

Hi @kaelzhang! I'm Dosu and I’m helping the desktop team.

There are no specific fixes for KSamplerAdvanced getting stuck at 0% on MPS, but this type of issue is often related to Mac/PyTorch MPS backend limitations or incompatibilities with custom nodes. General troubleshooting steps include disabling all custom nodes to see if the issue disappears, then using binary search to isolate the problematic node if it does. If a custom node is the cause, try updating it, replacing it, or removing it if no fix is available. Users have also reported that re-initializing nodes (like re-adding a checkpoint loader) or changing the workflow structure can sometimes work around MPS-related hangs. If the issue persists without custom nodes, check your Python environment and PyTorch installation, and consider forcing CPU mode as a test. More details and troubleshooting steps are available in the official documentation and in related Mac MPS issue threads.

To reply, just mention @dosu.


Docs are dead. Just use Dosu.

Leave Feedback Ask Dosu about desktop Share Dosu with your team

<!-- gh-comment-id:3392723876 --> @dosubot[bot] commented on GitHub (Oct 11, 2025): <!-- Greeting --> Hi @kaelzhang! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the desktop team. <!-- Answer --> There are no specific fixes for KSamplerAdvanced getting stuck at 0% on MPS, but this type of issue is often related to Mac/PyTorch MPS backend limitations or incompatibilities with custom nodes. General troubleshooting steps include disabling all custom nodes to see if the issue disappears, then using binary search to isolate the problematic node if it does. If a custom node is the cause, try updating it, replacing it, or removing it if no fix is available. Users have also reported that re-initializing nodes (like re-adding a checkpoint loader) or changing the workflow structure can sometimes work around MPS-related hangs. If the issue persists without custom nodes, check your Python environment and PyTorch installation, and consider forcing CPU mode as a test. More details and troubleshooting steps are available in the [official documentation](https://docs.comfy.org/troubleshooting/custom-node-issues) and in [related Mac MPS issue threads](https://github.com/Comfy-Org/desktop/issues/938). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=Comfy-Org%2Fdesktop).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=Comfy-Org%2Fdesktop). [![Leave Feedback](https://img.shields.io/badge/Leave%20Feedback-555555?style=flat)](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=Comfy-Org%2Fdesktop#message_id=082e54f8-12b9-4859-9322-189f0ac57f5b) [![Ask Dosu about desktop](https://img.shields.io/badge/Ask%20Dosu%20about%20desktop-2f7b3f?style=flat&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iODYiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCA4NiA4OSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNS4yOTIzNiAxMi43OTI4TDE3Ljc1OTMgNi42ODE4OFY3Mi41NjY3TDUuMjkyMzYgODQuMDYxOFYxMi43OTI4WiIgZmlsbD0iI0I0QkI5MSIvPjxwYXRoIGQ9Ik0xOC4yNTc1IDczLjExOTZMNTkuMTMyOSA3Mi43NDhMNTEuNzAxMSA4Mi40MDk1TDI5LjAzMzggODYuMjkxTDYuMjM5NjIgODUuMTU1NEwxOC4yNTc1IDczLjExOTZaIiBmaWxsPSIjNzc4NTYxIi8%2BPHBhdGggZD0iTTE3LjQ5MTY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m9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjxwYXRoIGQ9Ik0wLjM0ODYzMyA4NS40OTQ2QzAuMzQ4NjMzIDg1LjQ5NDYgMjkuNDg1NiA4NS44MzA5IDM0LjgwOSA4NS42OThDNDQuODMzNyA4NS40NDc3IDUxLjI4NzIgODQuNDAyIDU3LjUyNjkgNzguOTcyNEM2Mi44MTI5IDc0LjM3MjcgNzUuMTM0MiA1OS42ODM2IDc1LjEzNDIgNTkuNjgzNiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSI2LjE2NDgyIi8%2BPC9zdmc%2B)](https://github.dosu.com/Comfy-Org/desktop?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=Comfy-Org%2Fdesktop) [![Share Dosu with your team](https://img.shields.io/badge/Share%20Dosu%20with%20your%20team-1f6feb?style=flat)](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=Comfy-Org%2Fdesktop)
Author
Owner

@kaelzhang commented on GitHub (Oct 11, 2025):

Thanks for your reply. But it is weird that I had a successful run with the exact same workflow and image before.

<!-- gh-comment-id:3392726986 --> @kaelzhang commented on GitHub (Oct 11, 2025): Thanks for your reply. But it is weird that I had a successful run with the exact same workflow and image before.
Author
Owner

@dosubot[bot] commented on GitHub (Jan 10, 2026):

Hi, @kaelzhang. I'm Dosu, and I'm helping the desktop team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that the KSamplerAdvanced node gets stuck at 0% progress on MPS devices after an initial successful run.
  • This issue affects multiple versions on macOS with Python 3.12.9 and PyTorch 2.10.0.dev.
  • Possible causes include Mac/PyTorch MPS backend limitations or incompatibilities with custom nodes.
  • Troubleshooting suggestions included disabling custom nodes, re-initializing nodes, or forcing CPU mode.
  • No definitive fix or resolution has been identified so far.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the desktop app by commenting here.
  • If I don’t hear back within 7 days, I will automatically close this issue.

Thanks for your understanding and contribution!

<!-- gh-comment-id:3733097674 --> @dosubot[bot] commented on GitHub (Jan 10, 2026): Hi, @kaelzhang. I'm [Dosu](https://dosu.dev), and I'm helping the desktop team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that the KSamplerAdvanced node gets stuck at 0% progress on MPS devices after an initial successful run. - This issue affects multiple versions on macOS with Python 3.12.9 and PyTorch 2.10.0.dev. - Possible causes include Mac/PyTorch MPS backend limitations or incompatibilities with custom nodes. - Troubleshooting suggestions included disabling custom nodes, re-initializing nodes, or forcing CPU mode. - No definitive fix or resolution has been identified so far. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the desktop app by commenting here. - If I don’t hear back within 7 days, I will automatically close this issue. Thanks for your understanding and contribution!
Author
Owner

@kaelzhang commented on GitHub (Jan 15, 2026):

Thanks, by reducing the parameters, it works.

<!-- gh-comment-id:3753203934 --> @kaelzhang commented on GitHub (Jan 15, 2026): Thanks, by reducing the parameters, it works.
Author
Owner

@dosubot[bot] commented on GitHub (Jan 15, 2026):

Thank you for your contribution and for closing this issue, kaelzhang! We appreciate your help in keeping the project tidy.

<!-- gh-comment-id:3753204340 --> @dosubot[bot] commented on GitHub (Jan 15, 2026): Thank you for your contribution and for closing this issue, kaelzhang! We appreciate your help in keeping the project tidy.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#383
No description provided.