Sign In

Mayano Top Gun LoRA for Hunyuan-DiT

7

111

1

Verified:

SafeTensor

Type

LoRA

Stats

111

0

Reviews

Published

Jun 28, 2024

Base Model

Hunyuan 1

Training

Steps: 2,500
Epochs: 50

Trigger Words

mayatin

Hash

AutoV2
ACBEEEC1B4
lolkemo's Avatar

lolkemo

Mayano Top Gun LoRA for Hunyuan-DiT!

# How to Use

1, clone Kohaku's fork repo

git clone -b HunYuanDiT  https://github.com/KohakuBlueleaf/sd-scripts

2, clone hunyuan-DiT models

cd sd-scripts
git lfs install
git clone  https://huggingface.co/KBlueLeaf/HunYuanDiT-V1.1-fp16-pruned model

3, install some needed packages (from kohya's readme)

python -m venv venv
.\venv\Scripts\activate

pip install torch==2.1.2 torchvision==0.16.2 --index-url https://download.pytorch.org/whl/cu118
pip install --upgrade -r requirements.txt
pip install xformers==0.0.23.post1 --index-url https://download.pytorch.org/whl/cu118

accelerate config

- This machine

- No distributed training

- NO

- NO

- NO

- all

- fp16

4, install lycoris-lora (>=3.0.0.dev10)

pip install lycoris-lora==3.0.0.dev10

5, Edit hunyuan_test.py

Rewrite the PROMPT, model folders, and LoRA file paths as appropriate

(My settings; Steps:50 CFG:7.0)

6, Run hunyuan_test.py!

.\venv\Scripts\activate
python .\hunyuan_test.py