百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

RelaCtrl

> DevOps
开源

用于 DiTs 的高效控制网络

386 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

用于 DiTs 的高效控制网络

RelaCtrl

This is the official reproduction of RelaCtrl, which represents an efficient controlnet-like architecture designed for DiTs.

RelaCtrl: Relevance-Guided Efficient Control for Diffusion Transformers

Ke Cao*, Jing Wang*, Ao Ma*, Jiasong Feng, Zhanjie Zhang, Xuanhua He, Shanyuan Liu, Bo Cheng, Dawei Leng‡, Yuhui Yin, Jie Zhang‡(*Equal Contribution, ‡Corresponding Authors)

News

  • [2025.04.07] We released the inference pipeline and some weights of RelaCtrl-PixArt.
  • [2025.02.21] We have released our paper RelaCtrl and created a dedicated project homepage.

Inference with RealCtrl on PixArt

Dependencies and Installation

python
conda create -n relactrl python=3.10
conda activate relactrl

pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118

git clone https://github.com/360CVGroup/RelaCtrl.git
cd RelaCtrl
pip install -r requirements.txt

Download Models

1. Required PixArt-related Weights

Download the necessary model weights for PixArt from the links below:

Model Parameters Download Link
T5 4.3B T5
VAE 80M VAE
PixArt-α-1024 0.6B PixArt-XL-2-1024-MS.pth or Diffusers Version

2. RelaCtrl Conditional Weights

Download the required conditional weights for RelaCtrl:

Model Parameters Download Link
RelaCtrl_PixArt_Canny 45M Canny
RelaCtrl_PixArt_Canny_Style 45M Style

Inference with Conditions

python
python pipeline/test_relactrl_pixart_1024.py diffusion/configs/config_relactrl_pixart_1024.py

Prompt examples for different models can be found in the prompt_exampeles.

Acknowledgment

The PixArt model weights are derived from the open-source project PixArt-alpha.
Please refer to the original repository for detailed license information.

BibTeX

@misc{cao2025relactrl,
                title={RelaCtrl: Relevance-Guided Efficient Control for Diffusion Transformers}, 
                author={Ke Cao and Jing Wang and Ao Ma and Jiasong Feng and Zhanjie Zhang and Xuanhua He and Shanyuan Liu and Bo Cheng and Dawei Leng and Yuhui Yin and Jie Zhang},
                year={2025},
                eprint={2502.14377},
                archivePrefix={arXiv},
                primaryClass={cs.CV},
                url={https://arxiv.org/abs/2502.14377}, 
}

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythoncontrolled-generationcontrolnetefficient-ditimage-generation

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理