
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
描述:
训练词语: mayatin
名称: hun_mayatin.safetensors
大小 (KB): 44126
类型: Model
Pickle 扫描结果: Success
Pickle 扫描信息: No Pickle imports
病毒扫描结果: Success
原文链接:https://1111down.com/1061201.html,转载请注明出处