Skip to content

mac comfyui error #2853

Description

@HuaChayu

mac27beta2
comfyui 0.26.2

error:
[INFO] got prompt
[INFO] Using split attention in VAE
[INFO] Using split attention in VAE
[INFO] VAE load device: mps, offload device: cpu, dtype: torch.bfloat16
Exception in thread Thread-2 (prompt_worker):
Traceback (most recent call last):
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/standalone-env/lib/python3.13/threading.py", line 1044, in _bootstrap_inner
    self.run()
    ~~~~~~~~^^
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/standalone-env/lib/python3.13/threading.py", line 995, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/ComfyUI/main.py", line 355, in prompt_worker
    e.execute(item[2], prompt_id, extra_data, item[4])
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/ComfyUI/execution.py", line 724, in execute
    asyncio.run(self.execute_async(prompt, prompt_id, extra_data, execute_outputs))
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/standalone-env/lib/python3.13/asyncio/runners.py", line 195, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/standalone-env/lib/python3.13/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/standalone-env/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/ComfyUI/execution.py", line 795, in execute_async
    ram_release_callback(ram_inactive_headroom)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/ComfyUI/comfy_execution/caching.py", line 558, in ram_release
    while psutil.virtual_memory().available < target and clean_list:
          ~~~~~~~~~~~~~~~~~~~~~^^
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/ComfyUI/.venv/lib/python3.13/site-packages/psutil/__init__.py", line 2049, in virtual_memory
    ret = _psplatform.virtual_memory()
  File "/Users/huachayui/ComfyUI-Installs/1 (v0.26.2)/ComfyUI/.venv/lib/python3.13/site-packages/psutil/_psosx.py", line 93, in virtual_memory
    total, active, inactive, wired, free, speculative = cext.virtual_mem()
                                                        ~~~~~~~~~~~~~~~~^^
RuntimeError: host_statistics64(HOST_VM_INFO64) syscall failed: (ipc/mig) array not large enough
[INFO] Interrupting prompt c1c92b1a-a465-4867-9472-c339dd96d1be

Metadata

Metadata

Assignees

No one assigned

    Labels

    badexcpsutil raises something other than NoSuchProcess, AccessDenied, ZombieProcess or TimeoutExpiredbugtypemacosplatform : macOS specific

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions