pip install -U bitsandbytes pip install git+https://github.com/huggingface/diffusers pip install torch==2.0.0Then you can enjoy your HunyuanDiT text-to-image journey under 6GB GPU VRAM directly!Here is a demo for you.cd HunyuanDiT # Quick start model_id=Tencent-Hunyuan/HunyuanDiT-v1.2...
pip install -U bitsandbytes pip install git+https://github.com/huggingface/diffusers pip install torch==2.0.0 Then you can enjoy your HunyuanDiT text-to-image journey under 6GB GPU VRAM directly! Here is a demo for you. cdHunyuanDiT#Quick startmodel_id=Tencent-Hunyuan/HunyuanDiT-v1.2-...
(including optimizer states), machine-learning model code, inference-enabling code, training-enabling code, fine-tuning enabling code and other elements of the foregoing made publicly available by Us at https://huggingface.co/Tencent-Hunyuan/HunyuanDiT and https://github.com/Tencent/HunyuanDiT ....
Using HunyuanDiT ControlNet Instructions The dependencies and installation are basically the same as the base model. We provide three types of ControlNet weights for you to test: canny, depth and pose ControlNet. Download the model using the following commands: cd HunyuanDiT # Use the ...
Here is an example for LoRA with HunYuanDiT v1.2, we load thedistillweights into the main model and perform LoRA fine-tuning through theresume_module_root=./ckpts/t2i/model/pytorch_model_distill.ptsetting. If multiple resolution are used, you need to add the--multiresoand--reso-step 64...
pip install -U bitsandbytes pip install git+https://github.com/huggingface/diffusers pip install torch==2.0.0 Then you can enjoy your HunyuanDiT text-to-image journey under 6GB GPU VRAM directly! Here is a demo for you. cdHunyuanDiT#Quick startmodel_id=Tencent-Hunyuan/HunyuanDiT-v1.2-...
这是调用腾讯混元文生图大模型Hhunyuan-DiT的流程图: 也可以下载下图,直接拖放到ComfyUI的web界面上: 二、使用comfyui-hydit 具体操作说明在这里:https://github.com/Tencent/HunyuanDiT/blob/main/comfyui-hydit/README.md 如果上述代码能够直接执行成功,那按照官方操作还是很方便的,就是下载的文件有点多,时间...
pip install -U bitsandbytes pip install git+https://github.com/huggingface/diffusers pip install torch==2.0.0 Then you can enjoy your HunyuanDiT text-to-image journey under 6GB GPU VRAM directly! Here is a demo for you. cd HunyuanDiT # Quick start model_id=Tencent-Hunyuan/HunyuanDiT-...
cd HunyuanDiT # Use the huggingface-cli tool to download the model. # We recommend using module weights as the base model for IP-Adapter inference, as our provided pretrained weights are trained on them. huggingface-cli download Tencent-Hunyuan/IP-Adapter ipa.pt --local-dir ./ckpts/t2i/...
HunyuanDiT_v1.2_diffusers_jupyter HunyuanDiT_v1.2_lite_jupyter HunyuanDiT_v1.1_jupyter HunyuanDiT_jupyter 🧬 Code https://github.com/Tencent/HunyuanDiT 📄 Paper https://tencent.github.io/HunyuanDiT/asset/Hunyuan_DiT_Tech_Report_05140553.pdf 🌐 Page https://dit.hunyuan.tencent.com/ ...