Coder Social home page Coder Social logo

comfyui-ella's Introduction

ComfyUI-ELLA


ComfyUI implementation for ELLA.

๐ŸŒŸ Changelog

  • [2024.4.19] Documenting nodes
  • [2024.4.19] Initial repo

๐Ÿ“š Example workflows

The examples directory has workflow examples. You can directly load these images as workflow into ComfyUI for use.

workflow_example

๐ŸŽ‰ It works with controlnet! And EMMA is working in progress.

controlnet_workflow_example

๐Ÿ“— Install

Download or git clone this repository inside ComfyUI/custom_nodes/ directory. ComfyUI-ELLA requires the latest version of ComfyUI. If something doesn't work be sure to upgrade.

cd ComfyUI/custom_nodes
git clone https://github.com/TencentQQGYLab/ComfyUI-ELLA

Next install dependencies.

cd ComfyUI-ELLA
pip install -r requirements.txt

๐Ÿ“™ Models

These models must be placed in the corresponding directories under models.

Remember you can also use any custom location setting an ella & ella_encoder entry in the extra_model_paths.yaml file.

  • ComfyUI/models/ella, create it if not present.
  • ComfyUI/models/ella_encoder, create it if not present.

In summary, you should have the following model directory structure:

ComfyUI/models/ella/
โ””โ”€โ”€ ella-sd1.5-tsc-t5xl.safetensors

ComfyUI/models/ella_encoder/
โ””โ”€โ”€ models--google--flan-t5-xl--text_encoder
    โ”œโ”€โ”€ config.json
    โ”œโ”€โ”€ model.safetensors
    โ”œโ”€โ”€ special_tokens_map.json
    โ”œโ”€โ”€ spiece.model
    โ”œโ”€โ”€ tokenizer_config.json
    โ””โ”€โ”€ tokenizer.json

๐Ÿ“– Nodes reference

Nodes reference

๐Ÿ“ TODO

  • Support prompt weighting

๐Ÿ˜‹ Thanks

๐Ÿ˜‰ Citation

@misc{hu2024ella,
      title={ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignment}, 
      author={Xiwei Hu and Rui Wang and Yixiao Fang and Bin Fu and Pei Cheng and Gang Yu},
      year={2024},
      eprint={2403.05135},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

comfyui-ella's People

Contributors

jetthu avatar budui avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.