gfpgan is not kept in memory

font selection setting
This commit is contained in:
AUTOMATIC
2022-08-29 16:42:00 +03:00
parent 2b0ac45966
commit 3402461055
2 changed files with 41 additions and 40 deletions

View File

@@ -252,7 +252,7 @@ display(processed.images, processed.seed, processed.info)
### `--lowvram`
Optimizations for GPUs with low VRAM. This should make it possible to generate 512x512 images on videocards with 4GB memory.
The original idea of those ideas is by basujindal: https://github.com/basujindal/stable-diffusion. Model is separated into modules,
The original idea of those optimizations is by basujindal: https://github.com/basujindal/stable-diffusion. Model is separated into modules,
and only one module is kept in GPU memory; when another module needs to run, the previous is removed from GPU memory.
It should be obvious but the nature of those optimizations makes the processing run slower -- about 10 times slower