Skip to content

Windows fatal exception: stack overflow. #184

@BigStationW

Description

@BigStationW

Hello,

I can't run the CLIPLoaderDisTorch2MultiGPU node anymore.

[MultiGPU DisTorch V2] Full allocation string:
Requested to load ZImageTEModel_
Windows fatal exception: stack overflow

Stack (most recent call first):
  File "D:\ComfyUI_windows_portable\ComfyUI\comfy\model_patcher.py", line 743 in _load_list
  File "D:\ComfyUI_windows_portable\ComfyUI\comfy\model_patcher.py", line 1545 in load
  File "D:\ComfyUI_windows_portable\ComfyUI\comfy\model_patcher.py", line 1707 in partially_load
  File "D:\ComfyUI_windows_portable\ComfyUI\comfy\model_management.py", line 612 in model_use_more_vram
  File "D:\ComfyUI_windows_portable\ComfyUI\comfy\model_management.py", line 581 in model_load
  File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MultiGPU\distorch_2.py", line 203 in patched_load_models_gpu
  File "D:\ComfyUI_windows_portable\ComfyUI\comfy\sd.py", line 422 in load_model
  File "D:\ComfyUI_windows_portable\ComfyUI\comfy\sd.py", line 375 in encode_from_tokens
  File "D:\ComfyUI_windows_portable\ComfyUI\comfy\sd.py", line 313 in encode_from_tokens_scheduled
  File "D:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 80 in encode
  File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 296 in process_inputs
  File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 308 in _async_map_node_over_list
  File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 334 in get_output_data
  File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 525 in execute
  File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 758 in execute_async
  File "asyncio\events.py", line 88 in _run
  File "asyncio\base_events.py", line 1999 in _run_once
  File "asyncio\base_events.py", line 645 in run_forever
  File "asyncio\windows_events.py", line 322 in run_forever
  File "asyncio\base_events.py", line 678 in run_until_complete
  File "asyncio\runners.py", line 118 in run
  File "asyncio\runners.py", line 195 in run
  File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 702 in execute
  File "D:\ComfyUI_windows_portable\ComfyUI\main.py", line 276 in prompt_worker
  File "threading.py", line 1012 in run
  File "threading.py", line 1075 in _bootstrap_inner
  File "threading.py", line 1032 in _bootstrap

I know you tried to fix it on PR#183 but it still doesn't work for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions