Add --max-gpu-memory parameter for #7
This commit is contained in:
parent
bb1a172da0
commit
ebf4d5f506
2 changed files with 10 additions and 4 deletions
|
@ -131,6 +131,7 @@ Optionally, you can use the following command-line flags:
|
|||
| `--cpu` | Use the CPU to generate text.|
|
||||
| `--auto-devices` | Automatically split the model across the available GPU(s) and CPU.|
|
||||
| `--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 while loading the model. This is useful if get out of memory errors while trying to generate text. Must be an integer number. |
|
||||
| `--no-listen` | Make the webui unreachable from your local network.|
|
||||
| `--settings-file SETTINGS_FILE` | Load default interface settings from this json file. See settings-template.json for an example.|
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue