Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ottcs/automatic1111-webui-fedora
A guide for the installation and troubleshooting of Automatic1111's Stable Diffusion WebUI on Fedora-based distributions
https://github.com/ottcs/automatic1111-webui-fedora
automatic1111 fedora installation-guides nobara stable-diffusion-webui
Last synced: about 1 month ago
JSON representation
A guide for the installation and troubleshooting of Automatic1111's Stable Diffusion WebUI on Fedora-based distributions
- Host: GitHub
- URL: https://github.com/ottcs/automatic1111-webui-fedora
- Owner: OttCS
- Created: 2024-06-14T14:21:55.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-18T17:56:39.000Z (5 months ago)
- Last Synced: 2024-10-13T00:44:19.459Z (about 1 month ago)
- Topics: automatic1111, fedora, installation-guides, nobara, stable-diffusion-webui
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) for Fedora-Based Distros
**A guide for NVIDIA and AMD GPUs**Fedora is tailored more towards FOSS software, so there can be some issues when it comes to NVIDIA. I personally use [Nobara](https://nobaraproject.org/) because it includes tons of compatibility fixes on top of Fedora. In this guide, I'll be using "Nobara" instead of Fedora, as that is where I've tested these changes more thoroughly.
## NVIDIA on Fedora
Enable rpmfusion-nonfree in your software center, and then install the latest proprietary NVIDIA drivers. This guide was created with the 555.52.04 driver version.## Dependencies
Stable Diffusion **requires** Python 3.10, and Nobara has moved beyond this. Use the following command to get the proper version on your system.```
sudo dnf install python3.10
```Minimal Fedora may not come with some required packages. Make sure you also have `pciutils` and `gperftools` installed. If you have an AMD gpu, you should also have `lspci`.
For easy installation and updates, make sure you have `git` installed.
## Git Cloning and Setup
Clone the repository, using the url provided through the [official repo](https://github.com/AUTOMATIC1111/stable-diffusion-webui) or the command below. Make sure you're in the directory (folder) that you want it to be installed in. This will be large, so have plenty of space:```
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
```The default `webui-user.sh` file assumes that the latest version of python will work, which it won't. Open and change line 16 from `#python_cmd="python3"` to the following, making sure to save.
```
python_cmd="python3.10"
```**Note.** This simply tells the program to use `python3.10` anywhere it would normally just try `python`.
## Usage
From inside of the cloned `stable-diffusion-webui` folder, run the following command to start the program:```
./webui.sh
```And it's running!
Well, it's going to start downloading the different models it uses as defaults. This could take a bit, so you may as well read the following section while you wait, it'll automatically start when it's done. BTW, it won't have to do this again and starts up pretty quick.
After it's done though, try out the following prompt! It's sort of like a "Hello world!" of image generation
```
photograph of an astronaut riding a horse
```