-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathuser-env.sh
30 lines (21 loc) · 932 Bytes
/
user-env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
#########################################################
# Uncomment and change the variables below to your need:#
#########################################################
# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"
#export COMMANDLINE_ARGS=""
# python3 executable
#python_cmd="python3"
# git executable
#export GIT="git"
# python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)
#venv_dir="venv"
# script to launch to start the app
#export LAUNCH_SCRIPT="launch.py"
# install command for torch
#export TORCH_COMMAND="pip install torch --extra-index-url https://download.pytorch.org/whl/cu118"
# install command for xformers
#export XFORMERS_COMMAND="pip install xformers"
# Requirements file to use for stable-diffusion-webui
#export REQS_FILE="requirements_versions.txt"
###########################################