Package Details: stable-diffusion-web-ui-git v1.6.0.r2.4afaaf8a-1

Git Clone URL: https://aur.archlinux.org/stable-diffusion-web-ui-git.git (read-only, click to copy)
Package Base: stable-diffusion-web-ui-git
Description: Stable Diffusion Web UI (AUTOMATIC1111)
Upstream URL: https://github.com/AUTOMATIC1111/stable-diffusion-webui
Keywords: ai, img2img, stable-diffusion, txt2img,
Licenses: AGPL3
Provides: stable-diffusion-ui
Submitter: bhill
Maintainer: bhill
Last Packager: bhill
Votes: 6
Popularity: 0.54
First Submitted: 2023-11-21 08:41 (UTC)
Last Updated: 2023-11-21 08:41 (UTC)

Required by (0)

Sources (1)

Pinned Comments

bhill commented on 2023-11-21 09:06 (UTC)

Make sure to consider your hardware before installing AI programs: They're very resource intense and require capable hardware just to run.

For example: If your intended device has less than 6 GB of VRAM, I would advise against installing this. Everything would download and the UI would boot, but once you try to generate an image, you'll receive an error saying there's not enough VRAM to generate images.

Latest Comments

« First ‹ Previous 1 2

rabcor commented on 2023-12-31 10:20 (UTC) (edited on 2023-12-31 10:29 (UTC) by rabcor)

Tip: You can control which browser the autolaunch uses by setting the BROWSER variable.

E.g. to autolaunch with electron:

BROWSER=/usr/bin/electron stable-diffusion-webui-server

If you want to do it permanently, in webui-user.sh, add:

# Browser to use with autolaunch (if you don't want to use the default system browser)
export BROWSER="/usr/bin/electron"

tiziodcaio commented on 2023-11-23 21:01 (UTC)

I should suggest the integration of this guide, especially for python -m venv venv --system-site-packages command.

bhill commented on 2023-11-21 09:23 (UTC) (edited on 2023-11-21 09:39 (UTC) by bhill)

Another issue you may have when installing is that on first boot, pip will install dependencies into the Python Virtual Environment. Normally, this isn't an issue; but if you have a Swap partition mounted, then the temporary directories built for these dependencies will be placed in the Swap space. If your swap partition is smaller than 10 GB, then you'll run out of Swap space and the dependency installations will fail. This could potentially prevent the UI from booting on the first run.

To fix this, do the following in your terminal:

# Delete the venv folder
rm -r /opt/stable-diffusion-web-ui/venv

# Create a temporary folder in a partition with at least 10GB of space
mkdir -p /path/to/your/temporary/directory

# Run the UI server with the TMPDIR environment variable set to your improvised temporary folder's path 
TMPDIR=/path/to/your/temporary/directory stable-diffusion-web-ui-server

# Don't forget to delete the temporary files when you're done!
rm -rf /path/to/your/temporary/directory

The problem will go away once you've done this, and the UI should boot normally from then on.

bhill commented on 2023-11-21 09:06 (UTC)

Make sure to consider your hardware before installing AI programs: They're very resource intense and require capable hardware just to run.

For example: If your intended device has less than 6 GB of VRAM, I would advise against installing this. Everything would download and the UI would boot, but once you try to generate an image, you'll receive an error saying there's not enough VRAM to generate images.