webui-user.sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #!/bin/bash
  2. #########################################################
  3. # Uncomment and change the variables below to your need:#
  4. #########################################################
  5. # Install directory without trailing slash
  6. #install_dir="/home/$(whoami)"
  7. # Name of the subdirectory
  8. #clone_dir="stable-diffusion-webui"
  9. # Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"
  10. #export COMMANDLINE_ARGS=""
  11. # python3 executable
  12. #python_cmd="python3"
  13. # git executable
  14. #export GIT="git"
  15. # python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)
  16. #venv_dir="venv"
  17. # script to launch to start the app
  18. #export LAUNCH_SCRIPT="launch.py"
  19. # install command for torch
  20. #export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
  21. # Requirements file to use for stable-diffusion-webui
  22. #export REQS_FILE="requirements_versions.txt"
  23. # Fixed git repos
  24. #export K_DIFFUSION_PACKAGE=""
  25. #export GFPGAN_PACKAGE=""
  26. # Fixed git commits
  27. #export STABLE_DIFFUSION_COMMIT_HASH=""
  28. #export CODEFORMER_COMMIT_HASH=""
  29. #export BLIP_COMMIT_HASH=""
  30. # Uncomment to enable accelerated launch
  31. #export ACCELERATE="True"
  32. # Uncomment to disable TCMalloc
  33. #export NO_TCMALLOC="True"
  34. ###########################################