File size: 1,845 Bytes
05d9d9c 0f9494f 94515cb 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f 8809a79 0f9494f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
---
license: mit
---
# lora-ease-wsl
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.
Original repo:
[https://huggingface.co/spaces/multimodalart/lora-ease](https://huggingface.co/spaces/multimodalart/lora-ease)
Thier blog post on the script:
[https://huggingface.co/blog/sdxl_lora_advanced_script](https://huggingface.co/blog/sdxl_lora_advanced_script)
araminta_k's training tutorial:
[https://huggingface.co/blog/alvdansen/training-lora-m3lt](https://huggingface.co/blog/alvdansen/training-lora-m3lt)
# Install
Install WSL with Ubuntu (Ubuntu 22.04)
`wsl --install Ubuntu`
You'll be asked to provide a username and password for your Ubuntu install.
You should now be logged into your WSL Ubuntu distro.
Update the system packages:
`sudo apt update`
`sudo apt upgrade`
Install Python related stuff:
`sudo apt install python-is-python3`
`sudo apt install python3-pip`
Check if your Nvidia video card is recognized:
`nvidia-smi`
Make sure you are currently in your home directory:
`cd $home`
`pwd`
Make a new directory to clone lora ease repo:
`mkdir train`
Clone this repo:
`git clone https://huggingface.co/dicksondickson/lora-ease-wsl`
Go into the dir:
`cd lora-ease-wsl`
Install lora ease required dependencies:
`pip install -r requirements_local.txt`
Run the LoRA Ease main python script. This will automatically install other stuff and download required models.
`python app.py`
After that is done, you should be presented with a link to load up the GUI in your web browser:
`Running on local URL: http://127.0.0.1:7860`
Have fun!
|