text-generation-webui/INSTRUCTIONS.TXT

40 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-04-18 01:30:47 -04:00
Thank you for downloading oobabooga/text-generation-webui.
# Installation
2023-05-10 17:00:37 -04:00
Run the "start" script. If all goes right, it should take care of
everything for you.
To launch the web UI in the future after it is already installed, run
2023-06-01 13:05:29 -04:00
the same "start" script.
2023-04-18 01:30:47 -04:00
# Updating the web UI
2023-04-18 01:30:47 -04:00
Run the "update" script. This will only install the updates, so it should
be much faster than the initial installation.
# Adding flags like --chat, --notebook, etc
2023-04-23 11:58:14 -04:00
Edit the "webui.py" script using a text editor and add the desired flags
2023-05-10 17:00:37 -04:00
to the CMD_FLAGS variable at the top. It should look like this:
2023-04-18 01:30:47 -04:00
CMD_FLAGS = '--chat'
2023-04-18 01:30:47 -04:00
For instance, to add the --api flag, change it to
2023-04-18 01:30:47 -04:00
CMD_FLAGS = '--chat --api'
2023-04-18 01:30:47 -04:00
# Running an interactive shell
2023-05-10 17:00:37 -04:00
To run an interactive shell in the miniconda environment, run the "cmd"
script. This is useful for installing additional requirements manually.
2023-07-26 16:33:02 -04:00
# Using an AMD GPU in Linux
Requires ROCm SDK 5.4.2 or 5.4.3 to be installed.
Some systems may also need: sudo apt-get install libstdc++-12-dev
Edit the "webui.py" script using a text editor and un-comment and modify the
lines near the top of the script according to your setup. In particular, modify
the os.environ["ROCM_PATH"] = '/opt/rocm' line to point to your ROCm installation.