[GH-ISSUE #515] Any chance we can add diffusers to the downgrade blacklist? #242

Closed
opened 2026-10-27 21:15:14 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @clayne on GitHub (Mar 24, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/515

There are multiple nodes that try to monkey around with the version installed:

clayne@sv590:/f/stablediffusion/ComfyUI/custom_nodes (master=) $ egrep -r '^diffusers[<>~=]' --include=requirements.txt
ComfyUI-3D-Pack.disabled/requirements.txt:diffusers>=0.26.1
comfyui-instantId-faceswap/requirements.txt:diffusers~=0.26.0
ComfyUI-layerdiffuse.disabled/requirements.txt:diffusers>=0.25.0
ComfyUI-Marigold/requirements.txt:diffusers>=0.20.1

Now granted, most are not downgrades, but I'm simply proposing to add it to this list:

prestartup_script.py:cm_global.pip_downgrade_blacklist = ['torch', 'torchsde', 'torchvision', 'transformers', 'safetensors', 'kornia']
Originally created by @clayne on GitHub (Mar 24, 2024). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/515 There are multiple nodes that try to monkey around with the version installed: ``` clayne@sv590:/f/stablediffusion/ComfyUI/custom_nodes (master=) $ egrep -r '^diffusers[<>~=]' --include=requirements.txt ComfyUI-3D-Pack.disabled/requirements.txt:diffusers>=0.26.1 comfyui-instantId-faceswap/requirements.txt:diffusers~=0.26.0 ComfyUI-layerdiffuse.disabled/requirements.txt:diffusers>=0.25.0 ComfyUI-Marigold/requirements.txt:diffusers>=0.20.1 ``` Now granted, most are not downgrades, but I'm simply proposing to add it to this list: ``` prestartup_script.py:cm_global.pip_downgrade_blacklist = ['torch', 'torchsde', 'torchvision', 'transformers', 'safetensors', 'kornia'] ```
bsakaguchi 2026-10-27 21:15:14 +00:00
Author
Owner

@chalkncheese commented on GitHub (Mar 29, 2024):

Have you found a solution to this ? ComfyUI still fails to import "ComfyUI-3d-Pack" and "ComfyUI-ADMotionDirector" complaining about "No module named 'diffusers.models.unets' and ignoring "blacklisted" transformers.

<!-- gh-comment-id:2026526905 --> @chalkncheese commented on GitHub (Mar 29, 2024): Have you found a solution to this ? ComfyUI still fails to import "ComfyUI-3d-Pack" and "ComfyUI-ADMotionDirector" complaining about "No module named 'diffusers.models.unets' and ignoring "blacklisted" transformers.
Author
Owner

@ltdrdata commented on GitHub (Mar 29, 2024):

I'm somewhat deliberating on this part. Currently, the blacklist consists only of items that are part of the basic requirements of ComfyUI. I'm considering options that allow users to configure through something like a config, because I'm not sure what issues might arise if other packages are included here.

<!-- gh-comment-id:2026651289 --> @ltdrdata commented on GitHub (Mar 29, 2024): I'm somewhat deliberating on this part. Currently, the blacklist consists only of items that are part of the basic requirements of ComfyUI. I'm considering options that allow users to configure through something like a config, because I'm not sure what issues might arise if other packages are included here.
Author
Owner

@ltdrdata commented on GitHub (Apr 1, 2024):

This feature is updated.

<!-- gh-comment-id:2029933539 --> @ltdrdata commented on GitHub (Apr 1, 2024): This feature is updated.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#242
No description provided.