From c48e2df8104c78edbbfde76510bdd685890c8435 Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Fri, 5 May 2023 16:16:36 +0900 Subject: [PATCH] Updated Command Line Arguments and Settings (markdown) --- Command-Line-Arguments-and-Settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command-Line-Arguments-and-Settings.md b/Command-Line-Arguments-and-Settings.md index cd78aff..a34b390 100644 --- a/Command-Line-Arguments-and-Settings.md +++ b/Command-Line-Arguments-and-Settings.md @@ -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` alternatively, just use `--device-id` flag. | +| 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`
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):