Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'torch.xpu' #25

Open
hjcxlp opened this issue Sep 24, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'torch.xpu' #25

hjcxlp opened this issue Sep 24, 2024 · 2 comments

Comments

@hjcxlp
Copy link

hjcxlp commented Sep 24, 2024

Traceback (most recent call last):
File "D:\ComfyUI-G\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\ComfyUI-G\custom_nodes\ComfyUI_CatVTON_Wrapper_init
.py", line 31, in
imported_module = importlib.import_module(".py.{}".format(name), name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI-G.ext\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\ComfyUI-G\custom_nodes\ComfyUI_CatVTON_Wrapper\py\cat_vton - 副本.py", line 1, in
import torch.xpu
ModuleNotFoundError: No module named 'torch.xpu'

pls advise how to fix this

@Orenji-Tangerine
Copy link

Having the same error after update

@chflame163
Copy link
Owner

chflame163 commented Sep 25, 2024

Fixed. and what is "D:\ComfyUI-G\custom_nodes\ComfyUI_CatVTON_Wrapper\py\cat_vton - 副本.py" ? Delete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants