Last active
July 23, 2023 14:43
-
-
Save evshiron/8cf4de34aa01e217ce178b8ed54a2c43 to your computer and use it in GitHub Desktop.
A launch script for stable-diffusion-webui used by myself.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
source venv/bin/activate | |
export HSA_OVERRIDE_GFX_VERSION=11.0.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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment