Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
e4410326
Commit
e4410326
authored
Nov 26, 2023
by
AUTOMATIC1111
Committed by
GitHub
Nov 26, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13936 from cabelo/compatibility
Compatibility
parents
6955c210
6a86b3ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
README.md
README.md
+3
-1
webui.sh
webui.sh
+2
-2
No files found.
README.md
View file @
e4410326
...
...
@@ -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
```
...
...
webui.sh
View file @
e4410326
...
...
@@ -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
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment