Custom Node Testing
Expected Behavior
No errors on load
Actual Behavior
Errors on load
Steps to Reproduce
Just start comfyui with the nodes enabled
Debug Logs
Traceback (most recent call last):
File "d:\AI\WAN21K\ComfyUI\nodes.py", line 2216, in load_custom_node
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 999, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "D:\AI\WAN21K\ComfyUI\custom_nodes\ComfyUI-DFloat11-Extended\__init__.py", line 1, in <module>
from .dfloat11_model_loader import DFloat11ModelLoader, DFloat11ModelLoaderAdvanced, DFloat11DiffusersModelLoader, DFloat11ModelCompressor, DFloat11CheckpointCompressor, CheckpointLoaderWithDFloat11, DFloat11LoadingPatch, DFloat11Decompressor
File "D:\AI\WAN21K\ComfyUI\custom_nodes\ComfyUI-DFloat11-Extended\dfloat11_model_loader.py", line 8, in <module>
from .dfloat11_custom import DFloat11ModelPatcher
File "D:\AI\WAN21K\ComfyUI\custom_nodes\ComfyUI-DFloat11-Extended\dfloat11_custom.py", line 10, in <module>
from comfy.model_patcher import LowVramPatch, move_weight_functions, wipe_lowvram_weight, get_key_weight, string_to_seed
ImportError: cannot import name 'string_to_seed' from 'comfy.model_patcher' (d:\AI\WAN21K\ComfyUI\comfy\model_patcher.py)
Traceback (most recent call last):
File "D:\AI\WAN21K\ComfyUI\custom_nodes\ComfyUI-nunchaku\__init__.py", line 144, in <module>
from .nodes.models.zimage import NunchakuZImageDiTLoader
File "D:\AI\WAN21K\ComfyUI\custom_nodes\ComfyUI-nunchaku\nodes\models\zimage.py", line 16, in <module>
from ...model_patcher.zimage import ZImageModelPatcher
File "D:\AI\WAN21K\ComfyUI\custom_nodes\ComfyUI-nunchaku\model_patcher\zimage.py", line 14, in <module>
from comfy.model_patcher import LowVramPatch, ModelPatcher, get_key_weight, move_weight_functions, string_to_seed
ImportError: cannot import name 'string_to_seed' from 'comfy.model_patcher' (d:\AI\WAN21K\ComfyUI\comfy\model_patcher.py)
Traceback (most recent call last):
File "d:\AI\WAN21K\ComfyUI\nodes.py", line 2216, in load_custom_node
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 999, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "D:\AI\WAN21K\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper\__init__.py", line 12, in <module>
from .utils import log
File "D:\AI\WAN21K\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper\utils.py", line 10, in <module>
from comfy.model_patcher import get_key_weight, string_to_seed
ImportError: cannot import name 'string_to_seed' from 'comfy.model_patcher' (d:\AI\WAN21K\ComfyUI\comfy\model_patcher.py)
Other
Looks like #11845 removed the string_to_seed function
This is breaking dfloat11, wanvideowrapper and nunchaku
Custom Node Testing
Expected Behavior
No errors on load
Actual Behavior
Errors on load
Steps to Reproduce
Just start comfyui with the nodes enabled
Debug Logs
Other
Looks like #11845 removed the string_to_seed function
This is breaking dfloat11, wanvideowrapper and nunchaku