derrian-distro / LoRA_Easy_Training_Scripts

A UI made in Pyside6 to make training LoRA/LoCon and other LoRA type models in sd-scripts easy
GNU General Public License v3.0
998 stars 101 forks source link

Change of backend port over the UI - dev branch #217

Open Koschpa opened 1 month ago

Koschpa commented 1 month ago

Hi, it would be nice to change the backend port in the gui. On my PC, Incredibuild is running on Port 8000 and so the backend wasn't able to create the server. There wasn't even an error code.

I fixed it on my side. Just a feature request.

PS: the dev branch is awsome and much better then the main.

Jelosus2 commented 1 month ago

It would be convenient to have such option in the config.json file for those cases yea. Let me ask Derrian about this.

Panchovix commented 1 month ago

+1 to this. I have multiple GPUs, so I want to run some training in parallel but no dice, even if i change the 8000 ports to 8001 for example on the code, still calls or works only on port 8000 for some reason.

HTTPConnectionPool(host='127.0.0.1', port=8001): Max retries exceeded with url: /validate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001854B56D7C0>

Jelosus2 commented 1 month ago

+1 to this. I have multiple GPUs, so I want to run some training in parallel but no dice, even if i change the 8000 ports to 8001 for example on the code, still calls or works only on port 8000 for some reason.

HTTPConnectionPool(host='127.0.0.1', port=8001): Max retries exceeded with url: /validate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001854B56D7C0>

Make sure you the port 8001 is available, that you changed it in the code and you also changed it into the UI's box where input the connection string (box above "start training" button.

Panchovix commented 1 month ago

+1 to this. I have multiple GPUs, so I want to run some training in parallel but no dice, even if i change the 8000 ports to 8001 for example on the code, still calls or works only on port 8000 for some reason. HTTPConnectionPool(host='127.0.0.1', port=8001): Max retries exceeded with url: /validate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001854B56D7C0>

Make sure you the port 8001 is available, that you changed it in the code and you also changed it into the UI's box where input the connection string (box above "start training" button.

Made sure about all of them, well searched :8000 on VS code on the main folder and replaced all with :8001 after installing the backend.

Jelosus2 commented 10 hours ago

The latest update in dev branch has allowed the option to add a port in the config.json file of the backend