Skip to content

RuntimeError: The device (Intel(R) Arc(TM) B580 Graphics) doesn't support querying the available free memory. #9024

@reliq-dev

Description

@reliq-dev

Custom Node Testing

Expected Behavior

v0.3.45 works fine.

Actual Behavior

ComfyUI master branch fails to start.

Steps to Reproduce

Run python main.py --listen on a machine with an Intel Arch B580 GPU and IPEX.

Debug Logs

[START] Security scan
Using Python 3.12.3 environment at: venv
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-07-23 18:40:15.569
** Platform: Linux
** Python version: 3.12.3 (main, Jun 18 2025, 17:59:45) [GCC 13.3.0]
** Python executable: /app/venv/bin/python3
** ComfyUI Path: /app
** ComfyUI Base Folder Path: /app
** User directory: /app/user
** ComfyUI-Manager config path: /app/user/default/ComfyUI-Manager/config.ini
** Log path: /app/user/comfyui.log
Using Python 3.12.3 environment at: venv
Using Python 3.12.3 environment at: venv

Prestartup times for custom nodes:
   0.4 seconds: /app/custom_nodes/comfyui-manager

Checkpoint files will always be loaded safely.
Traceback (most recent call last):
  File "/app/main.py", line 138, in <module>
    import execution
  File "/app/execution.py", line 15, in <module>
    import comfy.model_management
  File "/app/comfy/model_management.py", line 225, in <module>
    total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/comfy/model_management.py", line 192, in get_total_memory
    _, mem_total_xpu = torch.xpu.mem_get_info(dev)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/torch/xpu/memory.py", line 194, in mem_get_info
    return torch._C._xpu_getMemoryInfo(device)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: The device (Intel(R) Arc(TM) B580 Graphics) doesn't support querying the available free memory. You can file an issue at https://github.com/pytorch/pytorch/issues to help us prioritize its implementation.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugUser is reporting a bug. This should be tested.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions