Closed gonzalu closed 7 months ago
Seems that installing "reactor" breaks USDU :(
It is working after uninstalling Reactor
I am aware of this conflict. Surprisingly, I can load both without problems. What Python version are you using with ComfyUI?
If it helps, here is the startup info
E:\ComfyUI>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
** ComfyUI startup time: 2024-03-03 20:22:50.417324
** Platform: Windows
** Python version: 3.11.6 (tags/v3.11.6:8b6ee5b, Oct 2 2023, 14:57:12) [MSC v.1935 64 bit (AMD64)]
** Python executable: E:\ComfyUI\python_embeded\python.exe
** Log path: E:\ComfyUI\comfyui.log
[Maras IT] Initialization
Prestartup times for custom nodes:
0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Marigold
0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\rgthree-comfy
0.0 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-MarasIT-Nodes
0.1 seconds: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager
Total VRAM 24575 MB, total RAM 65478 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
VAE dtype: torch.bfloat16
Using pytorch cross attention
It is likely that this project did not update the submodule: https://github.com/Coyote-A/ultimate-upscale-for-automatic1111
You can try my commit of this forked repo, https://github.com/BigUncle/ComfyUI_UltimateSDUpscale ,to see if it can be solved.
Or you enter this directory custom_nodes/ComfyUI_UltimateSDUpscale
in the command line, and then run git submodule update --init --recursive
My Python version is 3.11. And the promblem is the modules is still from reactor module when import modules
from modules import processing, shared, images, devices, scripts
from modules.processing import StableDiffusionProcessing
from modules.processing import Processed
from modules.shared import opts, state
from enum import Enum
And these code may not make sense
for module in modules_used:
if module in sys.modules:
original_imported_modules[module] = sys.modules.pop(module)
Maybe just change 'modules' (it successes) And I'm happy to know the reason.
the same issue
Same issue:
File "E:\ComfyUI\ComfyUI\nodes.py", line 1888, in load_custom_node
module_spec.loader.exec_module(module)
File "
Cannot import E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale module for custom nodes: cannot import name 'devices' from 'modules' (E:\ComfyUI\ComfyUI\custom_nodes\comfyui-reactor-node\modules__init__.py) E:\ComfyUI\python_embeded\Lib\site-packages_distutils_hack__init__.py:26: UserWarning: Setuptools is replacing distutils.
tried reinstalling per git, tried updating, fixing from inside comfy and git, no success
Does this still happen?
Node is failing to load today after updating ComfyUI and some modules:
Tried re-installing but still fails to load.
Thank you