Dickson
commited on
Commit
•
8809a79
1
Parent(s):
0f9494f
update
Browse files
README.md
CHANGED
@@ -19,47 +19,58 @@ araminta_k's tutorial:
|
|
19 |
|
20 |
|
21 |
|
22 |
-
# Install
|
23 |
|
24 |
-
Install WSL with Ubuntu (Ubuntu 22.04)
|
25 |
|
26 |
-
`wsl --install Ubuntu`
|
27 |
|
|
|
|
|
28 |
|
29 |
-
|
30 |
|
31 |
-
sudo apt update
|
|
|
32 |
|
33 |
-
|
34 |
|
35 |
-
sudo apt install python-is-python3
|
|
|
36 |
|
37 |
-
|
38 |
|
39 |
-
nvidia-smi
|
40 |
|
41 |
-
|
42 |
|
43 |
-
|
|
|
44 |
|
45 |
-
|
46 |
|
47 |
-
mkdir
|
48 |
|
49 |
-
|
50 |
|
51 |
-
|
52 |
|
|
|
53 |
|
54 |
-
|
55 |
-
pip install -r requirements_local.txt
|
56 |
|
|
|
57 |
|
58 |
-
|
59 |
-
export PATH=$PATH:/home/$user/.local/bin
|
60 |
|
61 |
-
python
|
62 |
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
|
|
|
19 |
|
20 |
|
21 |
|
22 |
+
# Install
|
23 |
|
24 |
+
Install WSL with Ubuntu (Ubuntu 22.04)
|
25 |
|
26 |
+
`wsl --install Ubuntu`
|
27 |
|
28 |
+
You'll be asked to provide a username and password for your Ubuntu install.
|
29 |
+
You should now be logged into your WSL Ubuntu distro.
|
30 |
|
31 |
+
Update the system packages:
|
32 |
|
33 |
+
`sudo apt update`
|
34 |
+
`sudo apt upgrade`
|
35 |
|
36 |
+
Install Python related stuff:
|
37 |
|
38 |
+
`sudo apt install python-is-python3`
|
39 |
+
`sudo apt install python3-pip`
|
40 |
|
41 |
+
Check if your Nvidia video card is recognized:
|
42 |
|
43 |
+
`nvidia-smi`
|
44 |
|
45 |
+
Make sure you are currently in your home directory:
|
46 |
|
47 |
+
`cd $home`
|
48 |
+
`pwd`
|
49 |
|
50 |
+
Make a new directory to clone lora ease repo:
|
51 |
|
52 |
+
`mkdir train`
|
53 |
|
54 |
+
Clone this repo:
|
55 |
|
56 |
+
`git clone https://huggingface.co/dicksondickson/lora-ease-wsl`
|
57 |
|
58 |
+
Go into the dir:
|
59 |
|
60 |
+
`cd lora-ease-wsl`
|
|
|
61 |
|
62 |
+
Install lora ease required dependencies:
|
63 |
|
64 |
+
`pip install -r requirements_local.txt`
|
|
|
65 |
|
66 |
+
Run the LoRA Ease main python script. This will automatically install other stuff and download required models.
|
67 |
|
68 |
+
`python app.py`
|
69 |
+
|
70 |
+
After that is done, you should be presented with a link to load up the GUI in your web browser:
|
71 |
+
|
72 |
+
`Running on local URL: http://127.0.0.1:7860`
|
73 |
+
|
74 |
+
Have fun!
|
75 |
|
76 |
|