Clean up the streaming implementation

This commit is contained in:
oobabooga 2023-01-19 10:43:05 -03:00
parent c90310e40e
commit 93fa9bbe01
2 changed files with 34 additions and 34 deletions

View file

@ -133,6 +133,7 @@ Optionally, you can use the following command-line flags:
| `--load-in-8bit` | Load the model with 8-bit precision.|
| `--max-gpu-memory MAX_GPU_MEMORY` | Maximum memory in GiB to allocate to the GPU when loading the model. This is useful if you get out of memory errors while trying to generate text. Must be an integer number. |
| `--no-listen` | Make the web UI unreachable from your local network.|
| `--no-stream` | Don't stream the text output in real time. This slightly improves the text generation performance.|
| `--settings SETTINGS_FILE` | Load the default interface settings from this json file. See `settings-template.json` for an example.|
## Presets