mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 21:49:39 +00:00
Compare commits
54 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| adbb97ecc2 | |||
| b10c023810 | |||
| 757debce3a | |||
| a8f033ac5b | |||
| a32aff730e | |||
| 0cd44016f5 | |||
| 21930ba8e9 | |||
| b96c0914ed | |||
| a07146e879 | |||
| 807dad51dd | |||
| 395c347020 | |||
| a75a8f42bc | |||
| 24e5876eff | |||
| c87e12d75a | |||
| 1ffd11eb5b | |||
| 311cbfed75 | |||
| 646b7419a5 | |||
| 0fb9a42cc6 | |||
| b2f2a894c9 | |||
| ce9ef8f419 | |||
| db6ed71594 | |||
| 86171f84d7 | |||
| 077669ea2e | |||
| 25087b1e2d | |||
| 5d755a302c | |||
| cc485f5342 | |||
| 20c847a532 | |||
| ab514acc40 | |||
| f28f1f21f9 | |||
| c3696284fa | |||
| 5e40ae8456 | |||
| d1de11ecf4 | |||
| b063f23e71 | |||
| 58772e86f6 | |||
| c8ed510030 | |||
| 39b2f0c54d | |||
| ef7e4ed673 | |||
| 5aac959224 | |||
| 39ac8a094a | |||
| 2e0acc1b3d | |||
| 2d6298c59b | |||
| f585e62ada | |||
| 486b31b39e | |||
| 9fa0424a6c | |||
| 334b1dde6c | |||
| 31f2fe2cbc | |||
| 6cdbea0cfd | |||
| bf68fcfec5 | |||
| 87a4c9fd2b | |||
| 8217fb468d | |||
| ecc3131530 | |||
| 2df42114e9 | |||
| 99d1d92e14 | |||
| 8f4c651caa |
75
.github/workflows/package.yml
vendored
75
.github/workflows/package.yml
vendored
@ -1,36 +1,83 @@
|
||||
name: Package Release
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
package:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest, ubuntu-latest]
|
||||
package_on_ubuntu:
|
||||
runs-on: ubuntu-selfhosted
|
||||
steps:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: 3.x
|
||||
node-version: 16
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Upgrade Pip
|
||||
run: python -m pip install --upgrade pip
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade -y
|
||||
sudo apt-get install patchelf -y
|
||||
pip install -r requirements.txt
|
||||
pip install pyinstaller
|
||||
pip install nuitka
|
||||
sudo apt install patchelf
|
||||
|
||||
- name: Build and package
|
||||
run: python3 -m nuitka StartUI.py --onefile --enable-plugin=pyqt5 --product-version=1.6.0 --disable-console --include-data-files=webuiGUI.py=webuiGUI.py --output-dir=./dist --noinclude-pytest-mode=nofollow --noinclude-setuptools-mode=nofollow
|
||||
|
||||
- name: remove build folders
|
||||
run: |
|
||||
pyinstaller --noconfirm --onefile --windowed StartUI.py
|
||||
cp webuiGUI.py dist/ # Copy webuiGUI.py to the dist directory
|
||||
rm -rf dist/StartUI.build
|
||||
rm -rf dist/StartUI.dist
|
||||
rm -rf dist/StartUI.onefile-build
|
||||
|
||||
- name: Executive permission
|
||||
run: |
|
||||
chmod +x dist/StartUI
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.os }}-binary-v1.3.1
|
||||
name: ubuntu-binary-v1.6
|
||||
path: dist
|
||||
|
||||
package_on_windows:
|
||||
runs-on: windows-selfhosted
|
||||
steps:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Upgrade Pip
|
||||
run: python -m pip install --upgrade pip
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
pip install nuitka
|
||||
|
||||
- name: Build and package
|
||||
run: nuitka StartUI.py --onefile --enable-plugin=pyqt5 --product-version=1.6.0 --disable-console --include-data-files=webuiGUI.py=webuiGUI.py --output-dir=./dist --noinclude-pytest-mode=nofollow --noinclude-setuptools-mode=nofollow
|
||||
|
||||
- name: remove build folders
|
||||
run: |
|
||||
Remove-Item -Recurse -Force ./dist/StartUI.build
|
||||
Remove-Item -Recurse -Force ./dist/StartUI.dist
|
||||
Remove-Item -Recurse -Force ./dist/StartUI.onefile-build
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: windows-binary-v1.6
|
||||
path: dist
|
||||
|
||||
21
README.md
21
README.md
@ -12,7 +12,7 @@ WebUI StartGUI is a Python graphical user interface (GUI) written with PyQT5, th
|
||||
- Select the operating mode (chat, cai-chat, notebook)
|
||||
- Choose between CPU, GPU or Autodevice
|
||||
- Set CPU RAM/GPU VRAM (Only for Nvidia Right now, will automatically detect if multiple GPU's are Present)
|
||||
- Adjust pre-layer value
|
||||
- Adjust pre-layer value (for each Nvidia GPU found or 1 if none)
|
||||
- Choose to run with 8bit, 16bit, trust_remote_code, Quant_attn, Autotune and no-cache flags
|
||||
- Enable authentication and choose an authentication file
|
||||
- Choose extensions for the WebUI
|
||||
@ -21,6 +21,10 @@ WebUI StartGUI is a Python graphical user interface (GUI) written with PyQT5, th
|
||||
- Save settings to a profile
|
||||
- Load profiles via Dropdown menu.
|
||||
- Run the text-generation-webui Updater
|
||||
- Character loader.
|
||||
- deepspeed Settings
|
||||
- flexgen Settings
|
||||
- API Settings
|
||||
- StartUI Update Notification
|
||||
|
||||
## How to Use
|
||||
@ -41,13 +45,20 @@ On Linux, you'll need to give StartUI the executable flag (`chmod +x StartUI` or
|
||||
The WebuiGUI.py must also be there, to handle the flags properly
|
||||
|
||||
## Screenshots
|
||||
V1.3 :\
|
||||
V1.4 :\
|
||||
<details>
|
||||
|
||||
<summary>Screenshots</summary>
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
</details>
|
||||
|
||||
|
||||
1469
StartUI.py
1469
StartUI.py
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user