<p>Mayano Top Gun LoRA for Hunyuan-DiT!</p><p></p><p># How to Use</p><p>1, clone Kohaku's fork repo</p><pre><code>git clone -b HunYuanDiT  https://github.com/KohakuBlueleaf/sd-scripts</code></pre><p>2, clone hunyuan-DiT models</p><pre><code>cd sd-scripts</code></pre><pre><code>git lfs install</code></pre><pre><code>git clone  https://huggingface.co/KBlueLeaf/HunYuanDiT-V1.1-fp16-pruned model</code></pre><p>3, install some needed packages (from kohya's readme)</p><pre><code>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</code></pre><p>- This machine</p><p>- No distributed training</p><p>- NO</p><p>- NO</p><p>- NO</p><p>- all</p><p>- fp16</p><p>4, install lycoris-lora (&gt;=3.0.0.dev10)</p><p><code>pip install lycoris-lora==3.0.0.dev10</code></p><p></p><p>5, Edit hunyuan_<a target="_blank" rel="ugc" href="http://test.py">test.py</a> </p><p><span style="color:rgb(204, 200, 193)">Rewrite the PROMPT, model folders, and LoRA file paths as appropriate</span></p><p>(My settings; Steps:50 CFG:7.0)</p><p><span style="color:rgb(204, 200, 193)">6, Run </span>hunyuan_<a target="_blank" rel="ugc" href="http://test.py">test.py</a>!</p><pre><code>.\venv\Scripts\activate
python .\hunyuan_test.py</code></pre>
Public
Hunyuan 1
https://civitai.com/api/download/models/604339
true
https://civitai.com/api/download/models/604339
41ACC808
ACBEEEC1B4
22CBA8FCE06B
B82055DA4A0F107A3F7E82B48C30FD8BAF245A36CD3D99A8CC389F2D7C22C707
E6FA89F8
ACBEEEC1B4F15B6ABB32E2EE3785A3211B59FD388FEC3E8915D648138E7F8576
SafeTensor
hun_mayatin.safetensors
No Pickle imports
Success
2024-06-28T12:36:55.989Z
Model
Success
UcRCGJx^?^xu_3VsTKjrNfjER5bI%fo}Z~js
image
https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b43804db-3624-4769-b4a8-2e5184241385/width=450/17560735.jpeg
v1.0
2024-06-28T12:35:22.110Z
mayatin
Mayano Top Gun LoRA for Hunyuan-DiT
character umamusume mayano top gun