How to Install Stable Diffusion on a Debian VM with Unraid
Автор: MadTc Tech
Загружено: 2024-05-19
Просмотров: 1038
In this video, we will walk you through the process of installing Stable Diffusion on a Debian virtual machine hosted by Unraid. We'll start by checking out the Stable Diffusion GitHub repository and setting up our Debian VM. Our first step will be installing the necessary packages to ensure our system can support Stable Diffusion. Then, we'll clone the Stable Diffusion repository and install Python 3.10.6 to use Torch. After installing Python, we'll configure Stable Diffusion by editing the 'webui-sh' file to use the correct Python version. We'll run a bash command to start the program for the first time and address any errors that arise by installing additional required packages in the virtual environment. Once resolved, we'll run Stable Diffusion again and perform a quick test. Finally, we'll enhance performance by installing Google Performance Tools and xformers. By the end of the video, you'll have Stable Diffusion running smoothly on Debian!
GPU PassThrough Video: • Unraid GPU Passthrough: Debian VM Installa...
Pacakge Install:
sudo apt install wget git libgl1 libglib2.0-0 build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev, lzma, liblzma-dev, libbz2-dev, libgoogle-perftools-dev
Clone Stable Diffusion:
wget -q https://raw.githubusercontent.com/AUT...
git clone https://github.com/AUTOMATIC1111/stab...
Install Python:
wget https://www.python.org/ftp/python/3.1...
tar xvf Python-3.10.6.tgz
cd Python-3.10.6
./configure --prefix=/usr/local --enable-optimizations --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make -j4
sudo make altinstall
python3.10
---------------------------------------------------
Support The Channel
---------------------------------------------------
Affiliate:
Amazon: https://amzn.to/3TEscdX
Robinhood: Join Robinhood with my link and we'll both pick our own free stock 🤝 https://join.robinhood.com/travisb-70...
CHAPTERS
---------------------------------------------------
00:00 Intro
00:37 Github Instructions
02:11 Remote into Debian
02:49 Install Required Packages
03:28 Clone Stable Diffusion
04:06 Install Python 3.10.6
06:58 Configure Stable Diffusion: webui-sh
08:30 Run Bash
08:50 Update VENV with Requirements
10:54 Run Bash Again
11:54 Testing Stable Diffusion
13:04 Install libgoogle-perftools-dev
13:55 Install xformers
14:52 Back at Bash
16:15 Fix xformers and Run Bash
17:08 Like and Subscribe
#stablediffusion #unraid #debian

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: