https://github.com/martin-rizzo/fedoradiffusionlauncher
Bash script to easily install AUTOMATIC1111's Stable Diffusion WebUI while resolving compatibility issues with Fedora.
https://github.com/martin-rizzo/fedoradiffusionlauncher
ai ai-art fedora installer-script launcher launcher-script pytorch stable-diffusion stable-diffusion-webui text2image txt2img
Last synced: 6 months ago
JSON representation
Bash script to easily install AUTOMATIC1111's Stable Diffusion WebUI while resolving compatibility issues with Fedora.
- Host: GitHub
- URL: https://github.com/martin-rizzo/fedoradiffusionlauncher
- Owner: martin-rizzo
- License: mit
- Created: 2023-03-10T20:47:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T14:35:20.000Z (over 2 years ago)
- Last Synced: 2025-03-25T10:37:39.137Z (7 months ago)
- Topics: ai, ai-art, fedora, installer-script, launcher, launcher-script, pytorch, stable-diffusion, stable-diffusion-webui, text2image, txt2img
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 20
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
Fedora Diffusion Launcher
Bash script to easily install and launch AUTOMATIC1111's Stable Diffusion WebUI.
![]()
![]()
![]()
![]()
This Bash script primarily addresses the compatibility issue between PyTorch
and Python v3.11 that arises during the installation of 'webui.sh' on Fedora 37.
The incompatibility issue is indicated on the screen with the following error
message:ERROR: Could not find a version that satisfies the requirement torchvision==0.14.1+cu117
(from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3)**
ERROR: No matching distribution found for torchvision==0.14.1+cu117**Additionally, the script includes some basic checks and tips during the
installation process to avoid common issues.## Usage
Use this script for both the initial installation and each subsequent attempt
to launch Stable Diffusion Web UI (at least until PyTorch becomes compatible
with the version of Python included in Fedora).To perform the initial installation, run the following commands,
replacing `````` with a directory name of your choice:#### Note that the last parameter of the git clone command is a dot '.'
mkdir
cd
git clone https://github.com/martin-rizzo/FedoraDiffusionLauncher.git .
./sdlauncher.shThe directory structure after installation should look like this:
├── stable-diffusion-webui/
├── venv/
├── README.MD
└── sdlauncher.shOnce Stable Diffusion Web UI is installed, to launch it again, navigate to the
installation directory and run the script:cd
./sdlauncher.sh## What is the compatibility issue about?
This issue arises because the version of PyTorch being used does not support
Python versions higher than v3.10. Fedora 37 includes a newer version that is
incompatible, and there is no easy way to downgrade it.This script generates a virtual environment using "Python3.10", downloads
"webui.sh" from AUTOMATIC1111's official repository, and executes it within
the virtual environment.The script attempts to automate this process as much as possible. However,
if any human intervention is necessary, it displays easily understandable
messages.## Development status
The script is currently in an experimental phase, and while there is a
functional version available, I am still working on making adjustments and
improvements. Please note that using this version in production or critical
environments is not recommended, as there may be limitations and errors
that I need to resolve.Thank you for your understanding and support.
## Lincense
Copyright (c) 2023 Martin Rizzo
This project is licensed under the MIT license.
See the ["LICENSE"](LICENSE) file for details.