MonsterMMORPG commited on
Commit
61aa38c
1 Parent(s): 7fef876

Upload 2 files

Browse files
Files changed (2) hide show
  1. webui-user-pt1.sh +48 -0
  2. webui-user-pt2.sh +48 -0
webui-user-pt1.sh ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # #!/bin/bash
2
+ #########################################################
3
+ # Uncomment and change the variables below to your need:#
4
+ #########################################################
5
+
6
+ # Install directory without trailing slash
7
+ install_dir="/workspace"
8
+
9
+ # Name of the subdirectory
10
+ #clone_dir="stable-diffusion-webui"
11
+
12
+ # Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"
13
+ export COMMANDLINE_ARGS="--xformers --port 3000 --listen --enable-insecure-extension-access"
14
+ #export XFORMERS_PACKAGE="xformers==0.0.17.dev447"
15
+
16
+ # python3 executable
17
+ #python_cmd="python3"
18
+
19
+ # git executable
20
+ #export GIT="git"
21
+
22
+ # python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)
23
+ venv_dir="/workspace/venv"
24
+
25
+ # script to launch to start the app
26
+ #export LAUNCH_SCRIPT="launch.py"
27
+
28
+ # install command for torch
29
+ export TORCH_COMMAND="pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118"
30
+
31
+ # Requirements file to use for stable-diffusion-webui
32
+ #export REQS_FILE="./extensions/sd_dreambooth_extension/requirements.txt"
33
+
34
+ # Fixed git repos
35
+ #export K_DIFFUSION_PACKAGE=""
36
+ #export GFPGAN_PACKAGE=""
37
+
38
+ # Fixed git commits
39
+ #export STABLE_DIFFUSION_COMMIT_HASH=""
40
+ #export TAMING_TRANSFORMERS_COMMIT_HASH=""
41
+ #export CODEFORMER_COMMIT_HASH=""
42
+ #export BLIP_COMMIT_HASH=""
43
+
44
+ # Uncomment to enable accelerated launch
45
+ # export ACCELERATE="True"
46
+
47
+ ###########################################
48
+
webui-user-pt2.sh ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # #!/bin/bash
2
+ #########################################################
3
+ # Uncomment and change the variables below to your need:#
4
+ #########################################################
5
+
6
+ # Install directory without trailing slash
7
+ install_dir="/workspace"
8
+
9
+ # Name of the subdirectory
10
+ #clone_dir="stable-diffusion-webui"
11
+
12
+ # Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"
13
+ export COMMANDLINE_ARGS="--xformers --port 3000 --listen --enable-insecure-extension-access --skip-install"
14
+ #export XFORMERS_PACKAGE="xformers==0.0.17.dev447"
15
+
16
+ # python3 executable
17
+ #python_cmd="python3"
18
+
19
+ # git executable
20
+ #export GIT="git"
21
+
22
+ # python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)
23
+ venv_dir="/workspace/venv"
24
+
25
+ # script to launch to start the app
26
+ #export LAUNCH_SCRIPT="launch.py"
27
+
28
+ # install command for torch
29
+ export TORCH_COMMAND="pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118"
30
+
31
+ # Requirements file to use for stable-diffusion-webui
32
+ #export REQS_FILE="./extensions/sd_dreambooth_extension/requirements.txt"
33
+
34
+ # Fixed git repos
35
+ #export K_DIFFUSION_PACKAGE=""
36
+ #export GFPGAN_PACKAGE=""
37
+
38
+ # Fixed git commits
39
+ #export STABLE_DIFFUSION_COMMIT_HASH=""
40
+ #export TAMING_TRANSFORMERS_COMMIT_HASH=""
41
+ #export CODEFORMER_COMMIT_HASH=""
42
+ #export BLIP_COMMIT_HASH=""
43
+
44
+ # Uncomment to enable accelerated launch
45
+ # export ACCELERATE="True"
46
+
47
+ ###########################################
48
+