Nodes Browser

ComfyDeploy: How ComfyUI nodes to use AttentionMask works in ComfyUI?

What is ComfyUI nodes to use AttentionMask?

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.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI nodes to use AttentionMask and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

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