Skip to content

SD WebUI not working on Framework 16, RX 7700S (gfx1102), Fedora 40 #15798

Closed Answered by tgitnh
tgitnh asked this question in Q&A
Discussion options

You must be logged in to vote

I finally got it working!

I created a new Python 3.10 venv and followed the steps described above, but...

  • I installed PyTorch ROCm 5.7 (as this was recommended for better overall compatibility in several posts/tutorials)
  • I set the HSA_OVERRIDE... environment variable to 11.0.0 (instead of 11.0.2) and added the AMDGPU_TARGETS variable. So my launch.sh script now looks like this:
#!/bin/sh
export HSA_OVERRIDE_GFX_VERSION=11.0.0
export PYTORCH_ROCM_ARCH=gfx1102
export AMDGPU_TARGETS=gfx1102
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-h…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sloogs
Comment options

Answer selected by tgitnh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants