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

Module scepter renamed to ComfyUI-Scepter but... #94

Open
ffdown opened this issue Mar 1, 2025 · 7 comments
Open

Module scepter renamed to ComfyUI-Scepter but... #94

ffdown opened this issue Mar 1, 2025 · 7 comments

Comments

@ffdown
Copy link

ffdown commented Mar 1, 2025

Skip X:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Scepter module for custom nodes due to the lack of NODE_CLASS_MAPPINGS.
0.0 seconds (IMPORT FAILED): X:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Scepter

@yaosheng216
Copy link
Contributor

Please make sure init.py is complete.
Image

@whitepapercg
Copy link

I have the same error.
Python 3.10.15 as you recommended in another section @yaosheng216.
ComfyUI is installed completely from scratch via conda, taking into account all dependencies.

During the installation of scepter dependencies via pip install-e . I received the following warning, maybe this will help me find a solution:
DEPRECATION: Legacy editable install of scepter==1.4.0 from file:///E:/SD/ComfyUI/custom_nodes/scepter (setup.py develop) is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at pypa/pip#11457

@whitepapercg
Copy link

@yaosheng216 Is the latest version of PyTorch supported? I noticed that in recommended.txt you specify the version of torch==2.4.1. Maybe this is the problem?

@whitepapercg
Copy link

whitepapercg commented Mar 4, 2025

Skip X:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Scepter module for custom nodes due to the lack of NODE_CLASS_MAPPINGS. 0.0 seconds (IMPORT FAILED): X:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Scepter

Please make sure init.py is complete. Image

The reason for the error is that ComfyUI tries to load default init.py which is located in the root folder of scepter, although it needs to load init.py from the scepter/scepter/workflow folder

@yaosheng216
Copy link
Contributor

@whitepapercg Hi, please refer to the following to link. For ComfyUI configuration reasons, you need to move the scepter/scepter/workflow to the ComfyUI/custom_nodes/ComfyUI-Scepter folder and then start the ComfyUI.
https://github.com/modelscope/scepter?tab=readme-ov-file#%EF%B8%8F%EF%B8%8F-comfyui-workflow

@whitepapercg
Copy link

@whitepapercg Hi, please refer to the following to link. For ComfyUI configuration reasons, you need to move the scepter/scepter/workflow to the ComfyUI/custom_nodes/ComfyUI-Scepter folder and then start the ComfyUI. https://github.com/modelscope/scepter?tab=readme-ov-file#%EF%B8%8F%EF%B8%8F-comfyui-workflow

Hi, thank you! Managed to run after replacing all Chinese characters in config files (my system does not support Chinese). Are there any recommended repainting_scale values for local-editing? Judging by your examples with local-editing, the value should be 0.

For all, if u have this error:
[Error]: Load yaml from custom_nodes/ComfyUI-Scepter/config/mantra.yaml error. Message: 'charmap' codec can't decode byte 0x98 in position 16349: character maps to

Solution: You need to remove characters that are not supported by your system from the config files "mantra" and "tuner_model"

@yaosheng216
Copy link
Contributor

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