Skip to content

Commit d5a5f2e

Browse files
author
Kavya Mali
authored
Update README.md
An update to account for the changes made under the branch,
1 parent 10e1e7b commit d5a5f2e

File tree

1 file changed

+16
-61
lines changed

1 file changed

+16
-61
lines changed

README.md

Lines changed: 16 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Stable Diffusion web UI
1+
# Stable Diffusion WebUI (Fixed for Maxwell GPUs - Windows Only)
22
A web interface for Stable Diffusion, implemented using Gradio library.
3+
> ⚙️ This fork fixes CUDA compatibility issues on older **NVIDIA Maxwell GPUs** (GTX 900 series) for Windows users.
4+
> It ensures proper GPU acceleration with the correct CUDA 11.3-compatible PyTorch build.
35
46
![](screenshot.png)
57

@@ -94,71 +96,23 @@ A web interface for Stable Diffusion, implemented using Gradio library.
9496
- [Segmind Stable Diffusion](https://huggingface.co/segmind/SSD-1B) support
9597

9698
## Installation and Running
97-
Make sure the required [dependencies](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies) are met and follow the instructions available for:
98-
- [NVidia](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs) (recommended)
99-
- [AMD](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs) GPUs.
100-
- [Intel CPUs, Intel GPUs (both integrated and discrete)](https://github.com/openvinotoolkit/stable-diffusion-webui/wiki/Installation-on-Intel-Silicon) (external wiki page)
101-
- [Ascend NPUs](https://github.com/wangshuai09/stable-diffusion-webui/wiki/Install-and-run-on-Ascend-NPUs) (external wiki page)
99+
Make sure the required [dependencies](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies) are met.
102100

103-
Alternatively, use online services (like Google Colab):
104-
105-
- [List of Online Services](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Online-Services)
106-
107-
### Installation on Windows 10/11 with NVidia-GPUs using release package
108-
1. Download `sd.webui.zip` from [v1.0.0-pre](https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.0.0-pre) and extract its contents.
109-
2. Run `update.bat`.
110-
3. Run `run.bat`.
111-
> For more details see [Install-and-Run-on-NVidia-GPUs](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs)
112-
113-
### Automatic Installation on Windows
101+
### Installation on Windows 10/11 with NVidia-GPUs:
114102
1. Install [Python 3.10.6](https://www.python.org/downloads/release/python-3106/) (Newer version of Python does not support torch), checking "Add Python to PATH".
115-
2. Install [git](https://git-scm.com/download/win).
116-
3. Download the stable-diffusion-webui repository, for example by running `git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git`.
117-
4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.
118-
119-
### Automatic Installation on Linux
120-
1. Install the dependencies:
121-
```bash
122-
# Debian-based:
123-
sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0
124-
# Red Hat-based:
125-
sudo dnf install wget git python3 gperftools-libs libglvnd-glx
126-
# openSUSE-based:
127-
sudo zypper install wget git python3 libtcmalloc4 libglvnd
128-
# Arch-based:
129-
sudo pacman -S wget git python3
130-
```
131-
If your system is very new, you need to install python3.11 or python3.10:
132-
```bash
133-
# Ubuntu 24.04
134-
sudo add-apt-repository ppa:deadsnakes/ppa
135-
sudo apt update
136-
sudo apt install python3.11
137-
138-
# Manjaro/Arch
139-
sudo pacman -S yay
140-
yay -S python311 # do not confuse with python3.11 package
141-
142-
# Only for 3.11
143-
# Then set up env variable in launch script
144-
export python_cmd="python3.11"
145-
# or in webui-user.sh
146-
python_cmd="python3.11"
147-
```
148-
2. Navigate to the directory you would like the webui to be installed and execute the following command:
149-
```bash
150-
wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh
103+
2. Enter the venv(requires launching webui-user.bat once):
104+
```bash
105+
# .\venv\Scripts\activate
151106
```
152-
Or just clone the repo wherever you want:
153-
```bash
154-
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
107+
3. Install pytorch:
108+
```bash
109+
# pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
155110
```
111+
Additional note: Lower version of pytorch and CUDA can be installed for cards with CC<5.2
112+
**4. Optional:**
113+
If you face the error `Torch not compiled with CUDA enabled`, uninstall all torch packages and reinstall using Step 3 again.
156114

157-
3. Run `webui.sh`.
158-
4. Check `webui-user.sh` for options.
159-
### Installation on Apple Silicon
160-
161-
Find the instructions [here](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon).
115+
NOTE: Installation on Linux has not been tested yet.
162116

163117
## Contributing
164118
Here's how to add code to this repo: [Contributing](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing)
@@ -203,3 +157,4 @@ Licenses for borrowed code can be found in `Settings -> Licenses` screen, and al
203157
- Hypertile - tfernd - https://github.com/tfernd/HyperTile
204158
- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user.
205159
- (You)
160+

0 commit comments

Comments
 (0)