-
Notifications
You must be signed in to change notification settings - Fork 2
Command Line Arguments
GChristensen edited this page Jun 14, 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 is faster and takes less memory but requires AVX-512 instruction set. |
| --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 JupyterLab 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. |
It is possible to specify user startup options in the file named user.xsh at the application directory in the following format:
$USER_ARGS="--no-browser --skip-update --remote-access --port 8889"