mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-04-29 00:09:01 +08:00
Updated Command Line Arguments and Settings (markdown)
parent
c48e2df810
commit
81d1af8045
@ -10,7 +10,7 @@
|
||||
| TORCH_COMMAND | command for installing pytorch |
|
||||
| INDEX_URL | --index-url parameter for pip |
|
||||
| TRANSFORMERS_CACHE | path to where transformers library will download and keep its files related to the CLIP model |
|
||||
| CUDA_VISIBLE_DEVICES | select gpu to use for your instance on a system with multiple gpus. For example if you want to use secondary gpu, put "1". (add a line to webui-user.bat): `set CUDA_VISIBLE_DEVICES=0`<br>Alternatively, just use `--device-id` flag in COMMANDLINE_ARGS. |
|
||||
| CUDA_VISIBLE_DEVICES | select gpu to use for your instance on a system with multiple gpus. For example if you want to use secondary gpu, put "1".<br>(add a new line to webui-user.bat not in COMMANDLINE_ARGS): `set CUDA_VISIBLE_DEVICES=0`<br>Alternatively, just use `--device-id` flag in COMMANDLINE_ARGS. |
|
||||
|
||||
### webui-user
|
||||
The recommended way to specify environment variables is by editing `webui-user.bat` (Windows) and `webui-user.sh` (Linux):
|
||||
|
Loading…
x
Reference in New Issue
Block a user