-
Notifications
You must be signed in to change notification settings - Fork 2
Command Line Arguments
GChristensen edited this page Jun 13, 2023
·
17 revisions
The following command line arguments are available:
| Argument | Description |
|---|---|
| --device | The GPU device to use. cuda:0 is the default. |
| --t5-on-gpu | Run T5 encoder on GPU. Off by default. |
| --t5-dtype <dtype> | The data type used by T5 encoder. The possible values are bfloat16 and float32 (default). bfloat16 takes less memory but requires AVX-512 instruction set support. |
| --skip-update | Turn off auto update. |
| --remote-access | Enable remote access to the Jupyter Lab server. Off by default. |
| --port <n> | TCP port used by the Jupyter Lab server. |
| --no-browser | Do not open the browser window on the application start. |
| --output-dir | Path to the directory with generated images. |
| --debug | Enable debug output in notebooks. |
To override the default startup options, create a file named user.xsh at the application directory.
In this file it is possible to specify user command line arguments in the following format:
$USER_ARGS="--no-browser --skip-update --remote-access --port 8889"