ComfyUI Extension: ComfyUI nodes to use AttentionMask

Authored by leeguandong

Created

Updated

3 stars

The attention mask in the T5 part of flux and SD3 utilizes the text-side attention mask to make the model focus more on text embeddings during image generation, thereby enhancing semantic alignment with the text.

Custom Nodes (0)

    README

    ComfyUI nodes to use AttentionMask

    https://github.com/huggingface/diffusers/pull/10044

    image

    Install

    • 推荐使用管理器 ComfyUI Manager 安装(On the Way)

    • 手动安装:

      1. cd custom_nodes
      2. git clone https://github.com/leeguandong/ComfyUI_AttentionMask.git
      3. 重启 ComfyUI

    Stars

    Star History Chart