mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2026-01-02 08:50:33 +00:00
Compare commits
25 Commits
1.4
...
1ffd11eb5b
| Author | SHA1 | Date | |
|---|---|---|---|
| 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 |
20
.github/workflows/package.yml
vendored
20
.github/workflows/package.yml
vendored
@@ -20,6 +20,11 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Create and activate venv
|
||||||
|
run: |
|
||||||
|
python -m venv StartUI_env
|
||||||
|
source StartUI_env/bin/activate
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
@@ -27,12 +32,19 @@ jobs:
|
|||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
|
|
||||||
- name: Build and package
|
- name: Build and package
|
||||||
|
run: pyinstaller --noconfirm --onefile --windowed StartUI.py --add-data="webuiGUI.py:."
|
||||||
|
|
||||||
|
- name: Leave venv and delete
|
||||||
run: |
|
run: |
|
||||||
pyinstaller --noconfirm --onefile --windowed StartUI.py
|
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||||
cp webuiGUI.py dist/ # Copy webuiGUI.py to the dist directory
|
deactivate.bat
|
||||||
|
else
|
||||||
|
deactivate
|
||||||
|
fi
|
||||||
|
rm -rf StartUI_env
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.os }}-binary-v1.4
|
name: ${{ matrix.os }}-binary-v1.6
|
||||||
path: dist
|
path: dist
|
||||||
|
|||||||
@@ -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)
|
- Select the operating mode (chat, cai-chat, notebook)
|
||||||
- Choose between CPU, GPU or Autodevice
|
- 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)
|
- 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
|
- Choose to run with 8bit, 16bit, trust_remote_code, Quant_attn, Autotune and no-cache flags
|
||||||
- Enable authentication and choose an authentication file
|
- Enable authentication and choose an authentication file
|
||||||
- Choose extensions for the WebUI
|
- Choose extensions for the WebUI
|
||||||
|
|||||||
575
StartUI.py
575
StartUI.py
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user