Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
f1aa1d67
Commit
f1aa1d67
authored
Sep 01, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarifications for --lowvram and --medvram in readme.
parent
1940382f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
README.md
README.md
+11
-1
No files found.
README.md
View file @
f1aa1d67
...
@@ -294,11 +294,21 @@ Model is separated into modules, and only one module is kept in GPU memory; when
...
@@ -294,11 +294,21 @@ Model is separated into modules, and only one module is kept in GPU memory; when
is removed from GPU memory. The nature of this optimization makes the processing run slower -- about 10 times slower
is removed from GPU memory. The nature of this optimization makes the processing run slower -- about 10 times slower
compared to normal operation on my RTX 3090.
compared to normal operation on my RTX 3090.
`--medvram`
is another optimization that should reduce VRAM usage significantly by not p
e
ocessing conditional and
`--medvram`
is another optimization that should reduce VRAM usage significantly by not p
r
ocessing conditional and
unconditional denoising in a same batch.
unconditional denoising in a same batch.
This implementation of optimization does not require any modification to original Stable Diffusion code.
This implementation of optimization does not require any modification to original Stable Diffusion code.
#### What option to use?
If you have 4GB VRAM and want to make 512x512 (or maybe up to 640x640) images, use
`--medvram`
.
If you have 4GB VRAM and want to make images larger than that, use
`--lowvram`
.
If you have more VRAM and want to make larger images than you can usually make, use
`--medvram`
. You can use
`--lowvram`
also but the effect will likely be barely noticeable.
Otherwise, do not use any.
### Inpainting
### Inpainting
In img2img tab, draw a mask over a part of image, and that part will be in-painted.
In img2img tab, draw a mask over a part of image, and that part will be in-painted.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment