diff-diff-mellon / README.md
YiYiXu's picture
Create README.md
d312652 verified
|
raw
history blame
1.34 kB
metadata
library_name: diffusers
tags:
  - modular-diffusers

mellon nodes made with diffusers ModularNode

Instruction

Install Mellon

download this folder insde the custom directory:

install from the latest modular diffusers branch. https://github.com/huggingface/diffusers/pull/11235

pip uninstall diffusers -y
pip install git+https://github.com/huggingface/diffusers.git@modular-refactor-0501

run python main.py and that's it

Components Manager

To use diffusers components manager across different custom nodes, for now, add this in your custom/__init__.py

from diffusers import ComponentsManager
components = ComponentsManager()

and add this code in all your custom nodes module file

from custom import components

e.g.

custom/
├── __init__.py              # create your components manager here 
├── mellon-modular-diffusers/
│   └── mellon-modular-diffusers.py # use in this

![image/png](https://cdn-uploads.huggingface.co/production/uploads/624ef9ba9d608e459387b34e/iINNzAvo50WcZU-_1Wbsl.png)

└── diff-diff/
    └── diff-diff.py # use in this too


#### example workflow


![image/png](https://cdn-uploads.huggingface.co/production/uploads/624ef9ba9d608e459387b34e/fGL1wbsyPf6LotB-Q8IIk.png)