Add support for MacOS, Linux, and WSL (#21)
* Initial commit * Initial commit with new code * Add comments * Move GPTQ out of if * Fix install on Arch Linux * Fix case where install was aborted If the install was aborted before a model was downloaded, webui wouldn't run. * Update start_windows.bat Add necessary flags to Miniconda installer Disable Start Menu shortcut creation Disable ssl on Conda Change Python version to latest 3.10, I've noticed that explicitly specifying 3.10.9 can break the included Python installation * Update bitsandbytes wheel link to 0.38.1 Disable ssl on Conda * Add check for spaces in path Installation of Miniconda will fail in this case * Mirror changes to mac and linux scripts * Start with model-menu * Add updaters * Fix line endings * Add check for path with spaces * Fix one-click updating * Fix one-click updating * Clean up update scripts * Add environment scripts --------- Co-authored-by: jllllll <3887729+jllllll@users.noreply.github.com> Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
This commit is contained in:
parent
254609daca
commit
6d2c72b593
15 changed files with 450 additions and 195 deletions
|
|
@ -1,19 +0,0 @@
|
|||
Thank you for downloading oobabooga/text-generation-webui.
|
||||
Here is how to get it up and running:
|
||||
|
||||
1. Run the "install" script to install the web UI and its requirements in this folder.
|
||||
2. Run the "download-model" script to download a model of your choice. Change TextOnly variable at top of script to download only config files.
|
||||
3. Run the "start-webui" script to launch the web UI.
|
||||
|
||||
To add flags like --chat, --notebook, --extensions, etc, edit the
|
||||
"start-webui" script using a text editor and add the desired flags
|
||||
to the line that says "python server.py...".
|
||||
|
||||
To get the latest updates in the future, just re-run the "install" script.
|
||||
This will only install the updates, so it should be much faster.
|
||||
May need to delete '\text-generation-webui\repositories\GPTQ-for-LLaMa' folder if GPTQ-for-LLaMa needs to be updated.
|
||||
|
||||
You can open a command-line attached to the virtual environment by running the "micromamba-cmd" script.
|
||||
|
||||
This installer uses a custom-built Windows-compatible version of bitsandbytes. Source: https://github.com/acpopescu/bitsandbytes/tree/cmake_windows
|
||||
When starting the webui, you may encounter an error referencing cuda 116. Starting the webui again should allow bitsandbytes to detect the correct version.
|
||||
Loading…
Add table
Add a link
Reference in a new issue