Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated README to reduce support headaches #12

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,8 @@ dmypy.json
# Pyre type checker
.pyre/
waifu-diffusion/

# Modified personal files
sd_run.bat
wd_run.bat
Dockerfile
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@

[![Discord Server](https://discordapp.com/api/guilds/930499730843250783/widget.png?style=banner2)](https://discord.gg/Sx6Spmsgx7)

## Requirements
Unlike some other projects built around Stable Diffusion this Discord bot is setup only for NVIDIA GPUs and not optimized for low VRAM hardware.
Consult this table before attempting to run the bot:
| VRAM | Comment |
| ------------- | ------------- |
| 10GB+ | Recommended - bot will run fine |
| 8GB-10GB | Bot will most likely run |
| 6GB-8GB | Bot might run - issues expected |
| <6GB | Bot will probably not run, don't ask for support |

## Setup
Make sure you have the [CUDA Toolkit](https://developer.nvidia.com/cuda-downloads) installed
Expand Down
2 changes: 1 addition & 1 deletion run.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
venv\Scripts\python.exe . --model_path "" --token=""
venv\Scripts\python.exe . --model_path "" --token="" --hf_token=""
2 changes: 1 addition & 1 deletion src/stablediffusion/ldm/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(
sampler_name = 'k_lms',
ddim_eta = 0.0, # deterministic
precision = 'autocast',
full_precision = False,
full_precision = True,
strength = 0.75, # default in scripts/img2img.py
seamless = False,
embedding_path = None,
Expand Down