diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-11-26 08:57:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-26 08:57:13 +0000 |
commit | e44103264d95a2141410571661c757a65f22a8b6 (patch) | |
tree | 24bee083ce3d5b3e510438b6372296a158c835b4 | |
parent | 6955c210b7791375e945e876223e6cf6b2231391 (diff) | |
parent | 6a86b3ad9bc7bb9a58dc4228ecf93a3a511ed122 (diff) | |
download | stable-diffusion-webui-gfx803-e44103264d95a2141410571661c757a65f22a8b6.tar.gz stable-diffusion-webui-gfx803-e44103264d95a2141410571661c757a65f22a8b6.tar.bz2 stable-diffusion-webui-gfx803-e44103264d95a2141410571661c757a65f22a8b6.zip |
Merge pull request #13936 from cabelo/compatibility
Compatibility
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | webui.sh | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -121,7 +121,9 @@ Alternatively, use online services (like Google Colab): # Debian-based:
sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0
# Red Hat-based:
-sudo dnf install wget git python3
+sudo dnf install wget git python3 gperftools-libs libglvnd-glx
+# openSUSE-based:
+sudo zypper install wget git python3 libtcmalloc4 libglvnd
# Arch-based:
sudo pacman -S wget git python3
```
@@ -89,7 +89,7 @@ delimiter="################################################################" printf "\n%s\n" "${delimiter}" printf "\e[1m\e[32mInstall script for stable-diffusion + Web UI\n" -printf "\e[1m\e[34mTested on Debian 11 (Bullseye)\e[0m" +printf "\e[1m\e[34mTested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.\e[0m" printf "\n%s\n" "${delimiter}" # Do not run as root @@ -223,7 +223,7 @@ fi # Try using TCMalloc on Linux prepare_tcmalloc() { if [[ "${OSTYPE}" == "linux"* ]] && [[ -z "${NO_TCMALLOC}" ]] && [[ -z "${LD_PRELOAD}" ]]; then - TCMALLOC="$(PATH=/usr/sbin:$PATH ldconfig -p | grep -Po "libtcmalloc(_minimal|)\.so\.\d" | head -n 1)" + TCMALLOC="$(PATH=/sbin:$PATH ldconfig -p | grep -Po "libtcmalloc(_minimal|)\.so\.\d" | head -n 1)" if [[ ! -z "${TCMALLOC}" ]]; then echo "Using TCMalloc: ${TCMALLOC}" export LD_PRELOAD="${TCMALLOC}" |