Package Details: stable-diffusion-webui-git 1.9.4.r0.gfeee37d-2

Git Clone URL: https://aur.archlinux.org/stable-diffusion-webui-git.git (read-only, click to copy)
Package Base: stable-diffusion-webui-git
Description: Stable Diffusion Web UI (AUTOMATIC1111)
Upstream URL: https://github.com/AUTOMATIC1111/stable-diffusion-webui
Licenses: AGPL3
Provides: stable-diffusion-ui
Submitter: bendavis78
Maintainer: bendavis78
Last Packager: bendavis78
Votes: 8
Popularity: 0.021216
First Submitted: 2024-06-29 22:44 (UTC)
Last Updated: 2024-07-10 23:33 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

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 3

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.