aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
AgeCommit message (Collapse)AuthorLines
2023-04-29rename CPU RNG to RNG source in settings, add infotext and parameters ↵AUTOMATIC-1/+2
copypaste support to RNG source
2023-04-06Add support for saving init images in img2imgFor Sure-0/+8
2023-03-28Revert "Merge pull request #7931 from space-nuko/img2img-enhance"AUTOMATIC-32/+5
This reverts commit 426875937048e21305ac24bea53df06523bdaa81, reversing changes made to 1b63afbedc7789c0eb9a4742b780ab304d7a9caf.
2023-03-28Merge pull request #7931 from space-nuko/img2img-enhanceAUTOMATIC1111-5/+32
Add `Upscale by` and `Upscaler` options to img2img
2023-03-28Merge pull request #8958 from MrCheeze/variations-modelAUTOMATIC1111-12/+29
Add support for the unclip (Variations) models, unclip-h and unclip-l
2023-03-25Add support for the Variations models (unclip-h and unclip-l)MrCheeze-12/+29
2023-03-25Add upscaler to img2imgspace-nuko-6/+17
2023-03-25Add upscale slider to img2imgspace-nuko-1/+17
2023-03-22Expose inpainting mask and compositecatboxanon-0/+16
For inpainting, this exposes the mask and masked composite and gives the user the ability to display these in the web UI, save to disk, or both.
2023-03-13initialize extra_network_data before usehigh_byte-1/+2
2023-03-11Merge pull request #8017 from space-nuko/before-process-batchAUTOMATIC1111-0/+3
Add `before_process_batch` script callback
2023-03-10Merge remote-tracking branch 'origin/master' into unipcspace-nuko-10/+14
2023-02-22Add before_process_batch script callbackspace-nuko-0/+3
2023-02-19fix the a merge conflict resolve i did that entirely breaks image generationAUTOMATIC-3/+0
2023-02-19Merge branch 'master' into fix-save-params-2AUTOMATIC1111-3/+5
2023-02-16Fix params.txt saving for infotexts modified by process_batchspace-nuko-4/+9
2023-02-13Apply extra networks per-batch instead of per-session (fixes wildcards)space-nuko-6/+5
2023-02-10bug fixspace-nuko-1/+3
2023-02-10UniPC does not support img2img (for now)space-nuko-1/+1
2023-02-10Working UniPC (for batch size 1)space-nuko-1/+1
2023-02-03txt2img Hires FixKyle-0/+1
2023-02-03Image CFG Added (Full Implementation)Kyle-1/+3
Uses separate denoiser for edit (instruct-pix2pix) models No impact to txt2img or regular img2img "Image CFG Scale" will only apply to instruct-pix2pix models and metadata will only be added if using such model
2023-02-02Processing only, no CFGDenoiser changeKyle-1/+1
Allows instruct-pix2pix
2023-02-02Revert "instruct-pix2pix support"Kyle-1/+1
This reverts commit 269833067de1e7d0b6a6bd65724743d6b88a133f.
2023-02-02instruct-pix2pix supportKyle-1/+1
2023-01-30make the program read Eta and Eta DDIM from generation parametersAUTOMATIC-1/+0
2023-01-29remove Batch size and Batch pos from textinfo (goodbye)AUTOMATIC-2/+0
2023-01-28Merge pull request #7309 from brkirch/fix-embeddingsAUTOMATIC1111-7/+8
Fix embeddings, upscalers, and refactor `--upcast-sampling`
2023-01-28Refactor conditional casting, fix upscalersbrkirch-7/+8
2023-01-27add data-dir flag and set all user data directories based on itMax Audron-1/+2
2023-01-26add an option to enable sections from extras tab in txt2img/img2imgAUTOMATIC-1/+6
fix some style inconsistenices
2023-01-26Fix full previews, --no-half-vaebrkirch-4/+4
2023-01-25add edit_image_conditioning from my earlier edits in case there's an attempt ↵AUTOMATIC-1/+9
to inegrate pix2pix properly this allows to use pix2pix model in img2img though it won't work well this way
2023-01-25Merge pull request #6510 from brkirch/unet16-upcast-precisionAUTOMATIC1111-7/+8
Add upcast options, full precision sampling from float16 UNet and upcasting attention for inference using SD 2.1 models without --no-half
2023-01-25change to code for live preview fix on OSX to be bit more obviousAUTOMATIC-2/+2
2023-01-25Add UI setting for upcasting attention to float32brkirch-1/+1
Adds "Upcast cross attention layer to float32" option in Stable Diffusion settings. This allows for generating images using SD 2.1 models without --no-half or xFormers. In order to make upcasting cross attention layer optimizations possible it is necessary to indent several sections of code in sd_hijack_optimizations.py so that a context manager can be used to disable autocast. Also, even though Stable Diffusion (and Diffusers) only upcast q and k, unfortunately my findings were that most of the cross attention layer optimizations could not function unless v is upcast also.
2023-01-25Add option for float32 sampling with float16 UNetbrkirch-7/+8
This also handles type casting so that ROCm and MPS torch devices work correctly without --no-half. One cast is required for deepbooru in deepbooru_model.py, some explicit casting is required for img2img and inpainting. depth_model can't be converted to float16 or it won't work correctly on some systems (it's known to have issues on MPS) so in sd_models.py model.depth_model is removed for model.half().
2023-01-23Fix different first gen with Approx NN previewsbrkirch-1/+5
The loading of the model for approx nn live previews can change the internal state of PyTorch, resulting in a different image. This can be avoided by preloading the approx nn model in advance.
2023-01-22enable compact view for train tabAUTOMATIC-2/+6
prevent previews from ruining hypernetwork training
2023-01-21extract extra network data from prompt earlierAUTOMATIC-2/+2
2023-01-21make it so that extra networks are not removed from infotextAUTOMATIC-1/+3
2023-01-21extra networks UIAUTOMATIC-11/+13
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-18Merge pull request #6854 from EllangoK/masterAUTOMATIC1111-4/+4
Saves Extra Generation Parameters to params.txt
2023-01-18use DDIM in hires fix is the sampler is PLMSAUTOMATIC-1/+2
2023-01-17Changed params.txt save to after manual init callEllangoK-4/+4
2023-01-16make StableDiffusionProcessing class not hold a reference to shared.sd_model ↵AUTOMATIC-4/+5
object
2023-01-16Add a check and explanation for tensor with all NaNs.AUTOMATIC-0/+3
2023-01-14change hypernets to use sha256 hashesAUTOMATIC-1/+1
2023-01-12Fix extension parameters not being saved to last used parametersspace-nuko-4/+4
2023-01-09add an option to use old hiresfix width/height behaviorAUTOMATIC-2/+24
add a visual effect to inactive hires fix elements