Complete Guide: Installing ROCm 6 and Stable Diffusion WebUI Forge on Fedora 40 Step by Step

Опубликовано: 02 Октябрь 2024
на канале: Tech Jotters
1,522
38

"Welcome to our comprehensive tutorial on installing ROCm 6 and Stable Diffusion WebUI Forge on Fedora 40! In this step-by-step guide, we'll walk you through the entire process, making it easy for you to set up these powerful tools on your system. Whether you're a developer, researcher, or enthusiast, this video will help you unleash the full potential of your Fedora 40 environment. Follow along as we cover everything you need to know, from downloading and installing ROCm 6 to configuring Stable Diffusion WebUI Forge for seamless integration. Don't miss out on this opportunity to enhance your computing experience with cutting-edge technology. Watch now and take your Fedora 40 setup to the next level!

Commands:

sudo dnf update

sudo dnf install rocm*

sudo usermod -a -G render,video $LOGNAME

pip install -r requirements.txt

pip uninstall torch torchvision torchaudio torchtext functorch xformers


#######launch.sh#######

#!/bin/sh

export HSA_OVERRIDE_GFX_VERSION=10.3.0
export HIP_VISIBLE_DEVICES=0
export PYTORCH_HIP_ALLOC_CONF=garbage_collection_threshold:0.8,max_split_size_mb:512

python3 launch.py --listen --enable-insecure-extension-access --opt-sdp-attention --no-half-vae