Dickson
commited on
Commit
·
0f9494f
1
Parent(s):
58c852b
update
Browse files
README.md
CHANGED
|
@@ -1,3 +1,65 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
# lora-ease-wsl
|
| 6 |
+
|
| 7 |
+
This is a modified Python script of LoRA Ease from multimodalart to run on locally on Windows 11 via WSL. Thanks to multimodalart for this wonderful script.
|
| 8 |
+
|
| 9 |
+
Original repo:
|
| 10 |
+
[https://huggingface.co/spaces/multimodalart/lora-ease](https://huggingface.co/spaces/multimodalart/lora-ease)
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
Thier blog post on the script:
|
| 14 |
+
[https://huggingface.co/blog/sdxl_lora_advanced_script](https://huggingface.co/blog/sdxl_lora_advanced_script)
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
araminta_k's tutorial:
|
| 18 |
+
[https://huggingface.co/blog/alvdansen/training-lora-m3lt](https://huggingface.co/blog/alvdansen/training-lora-m3lt)
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
# Install
|
| 23 |
+
|
| 24 |
+
Install WSL with Ubuntu (Ubuntu 22.04)
|
| 25 |
+
|
| 26 |
+
`wsl --install Ubuntu`
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
provide username / pass
|
| 30 |
+
|
| 31 |
+
sudo apt update
|
| 32 |
+
|
| 33 |
+
sudo apt upgrade
|
| 34 |
+
|
| 35 |
+
sudo apt install python-is-python3
|
| 36 |
+
|
| 37 |
+
sudo apt install python3-pip
|
| 38 |
+
|
| 39 |
+
nvidia-smi
|
| 40 |
+
|
| 41 |
+
pwd
|
| 42 |
+
|
| 43 |
+
make sure you are at home
|
| 44 |
+
|
| 45 |
+
cd $home
|
| 46 |
+
|
| 47 |
+
mkdir lora
|
| 48 |
+
|
| 49 |
+
git clone https://huggingface.co/dicksondickson/lora-ease-wsl
|
| 50 |
+
|
| 51 |
+
cd lora-ease-wsl
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
pip install -r requirements_local.txt
|
| 55 |
+
pip install -r requirements_local.txt
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
no needed
|
| 59 |
+
export PATH=$PATH:/home/$user/.local/bin
|
| 60 |
+
|
| 61 |
+
python app.py
|
| 62 |
+
|
| 63 |
+
Running on local URL: http://127.0.0.1:7860
|
| 64 |
+
|
| 65 |
+
|