Comfy-Org / Comfy-Org/ComfyUI

ace-step 1.5 comfyui default workflow fails on XPU

Open
#12,281 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

ace-step 1.5 comfyui default workflow fails on XPU
this only happens in using ace-step 1.5 and with TextEncodeAceStepAudio1.5
. . . . . . . . . . . .
File "CMFY\ui\main.py", line 347, in prompt_worker
e.execute(item[2], prompt_id, extra_data, item[4])
File "CMFY\ui\execution.py", line 687, in execute
asyncio.run(self.execute_async(prompt, prompt_id, extra_data, execute_outputs))
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "CMFY\ui\execution.py", line 761, in execute_async
comfy.model_management.unload_all_models()
File "CMFY\ui\comfy\model_management.py", line 1736, in unload_all_models
free_memory(1e30, get_torch_device())
File "CMFY\ui\comfy\model_management.py", line 610, in free_memory
cleanup_models_gc()
File "CMFY\ui\comfy\model_management.py", line 787, in cleanup_models_gc
reset_cast_buffers()
File "CMFY\ui\comfy\model_management.py", line 1156, in reset_cast_buffers
soft_empty_cache()
File "CMFY\ui\comfy\model_management.py", line 1722, in soft_empty_cache
torch.xpu.empty_cache()
File "CMFY\python\lib\intel_extension_for_pytorch\xpu\memory.py", line 21, in empty_cache
intel_extension_for_pytorch._C._emptyCache()
RuntimeError: Native API failed. Native API returns: -2 (PI_ERROR_DEVICE_NOT_AVAILABLE) -2 (PI_ERROR_DEVICE_NOT_AVAILABLE)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.