aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | rename CPU RNG to RNG source in settings, add infotext and parameters ↵AUTOMATIC2023-04-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | copypaste support to RNG source
| | * | | | | | | | | Add support for saving init images in img2imgFor Sure2023-04-061-0/+8
| | |/ / / / / / / /
| * / / / / / / / / Add [batch_number] and [generation_number] filename patternsgk2023-04-071-1/+3
| |/ / / / / / / /
* | | | | | | | | add token merging options to infotext when necessary. Bump tomesdpapuSpartan2023-04-101-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | version
* | | | | | | | | Allow different merge ratios to be used for each pass. Make toggle cmd flag ↵papuSpartan2023-04-041-29/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | work again. Remove ratio flag. Remove warning about controlnet being incompatible
* | | | | | | | | remove excess conditionpapuSpartan2023-04-021-14/+15
| | | | | | | | |
* | | | | | | | | Transition to using settings through UI instead of cmd line args. Added ↵papuSpartan2023-04-021-0/+35
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | feature to only apply to hr-fix. Install package using requirements_versions.txt
* | | | | | | | Revert "Merge pull request #7931 from space-nuko/img2img-enhance"AUTOMATIC2023-03-281-32/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 426875937048e21305ac24bea53df06523bdaa81, reversing changes made to 1b63afbedc7789c0eb9a4742b780ab304d7a9caf.
* | | | | | | | Merge pull request #7931 from space-nuko/img2img-enhanceAUTOMATIC11112023-03-281-5/+32
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add `Upscale by` and `Upscaler` options to img2img
| * | | | | | | | Add upscaler to img2imgspace-nuko2023-03-251-6/+17
| | | | | | | | |
| * | | | | | | | Add upscale slider to img2imgspace-nuko2023-03-251-1/+17
| | | | | | | | |
* | | | | | | | | Merge pull request #8958 from MrCheeze/variations-modelAUTOMATIC11112023-03-281-12/+29
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | Add support for the unclip (Variations) models, unclip-h and unclip-l
| * | | | | | | | Add support for the Variations models (unclip-h and unclip-l)MrCheeze2023-03-261-12/+29
| | |_|_|_|_|_|/ | |/| | | | | |
* / | | | | | | Expose inpainting mask and compositecatboxanon2023-03-221-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.
* | | | | | | initialize extra_network_data before usehigh_byte2023-03-131-1/+2
| | | | | | |
* | | | | | | Merge pull request #8017 from space-nuko/before-process-batchAUTOMATIC11112023-03-111-0/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add `before_process_batch` script callback
| * | | | | | | Add before_process_batch script callbackspace-nuko2023-02-221-0/+3
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge remote-tracking branch 'origin/master' into unipcspace-nuko2023-03-111-10/+14
|\| | | | | |
| * | | | | | fix the a merge conflict resolve i did that entirely breaks image generationAUTOMATIC2023-02-191-3/+0
| | | | | | |
| * | | | | | Merge branch 'master' into fix-save-params-2AUTOMATIC11112023-02-191-3/+5
| |\ \ \ \ \ \
| | * | | | | | Apply extra networks per-batch instead of per-session (fixes wildcards)space-nuko2023-02-131-6/+5
| | | |_|_|_|/ | | |/| | | |
| * / | | | | Fix params.txt saving for infotexts modified by process_batchspace-nuko2023-02-171-4/+9
| |/ / / / /
* | | | | | bug fixspace-nuko2023-02-101-1/+3
| | | | | |
* | | | | | UniPC does not support img2img (for now)space-nuko2023-02-101-1/+1
| | | | | |
* | | | | | Working UniPC (for batch size 1)space-nuko2023-02-101-1/+1
|/ / / / /
* | | | | txt2img Hires FixKyle2023-02-041-0/+1
| | | | |
* | | | | Image CFG Added (Full Implementation)Kyle2023-02-031-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
* | | | | Processing only, no CFGDenoiser changeKyle2023-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | Allows instruct-pix2pix
* | | | | Revert "instruct-pix2pix support"Kyle2023-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit 269833067de1e7d0b6a6bd65724743d6b88a133f.
* | | | | instruct-pix2pix supportKyle2023-02-021-1/+1
| |_|_|/ |/| | |
* | | | make the program read Eta and Eta DDIM from generation parametersAUTOMATIC2023-01-301-1/+0
| |_|/ |/| |
* | | remove Batch size and Batch pos from textinfo (goodbye)AUTOMATIC2023-01-291-2/+0
| | |
* | | Merge pull request #7309 from brkirch/fix-embeddingsAUTOMATIC11112023-01-281-7/+8
|\ \ \ | | | | | | | | Fix embeddings, upscalers, and refactor `--upcast-sampling`
| * | | Refactor conditional casting, fix upscalersbrkirch2023-01-281-7/+8
| | | |
* | | | add data-dir flag and set all user data directories based on itMax Audron2023-01-271-1/+2
| | | |
* | | | add an option to enable sections from extras tab in txt2img/img2imgAUTOMATIC2023-01-261-1/+6
|/ / / | | | | | | | | | fix some style inconsistenices
* | | Fix full previews, --no-half-vaebrkirch2023-01-261-4/+4
| | |
* | | add edit_image_conditioning from my earlier edits in case there's an attempt ↵AUTOMATIC2023-01-251-1/+9
| | | | | | | | | | | | | | | | | | to inegrate pix2pix properly this allows to use pix2pix model in img2img though it won't work well this way
* | | Merge pull request #6510 from brkirch/unet16-upcast-precisionAUTOMATIC11112023-01-251-7/+8
|\ \ \ | | | | | | | | Add upcast options, full precision sampling from float16 UNet and upcasting attention for inference using SD 2.1 models without --no-half
| * | | Add UI setting for upcasting attention to float32brkirch2023-01-251-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.
| * | | Add option for float32 sampling with float16 UNetbrkirch2023-01-251-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().
* | | change to code for live preview fix on OSX to be bit more obviousAUTOMATIC2023-01-251-2/+2
| | |
* | | Fix different first gen with Approx NN previewsbrkirch2023-01-241-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.
* / enable compact view for train tabAUTOMATIC2023-01-211-2/+6
|/ | | | prevent previews from ruining hypernetwork training
* extract extra network data from prompt earlierAUTOMATIC2023-01-211-2/+2
|
* make it so that extra networks are not removed from infotextAUTOMATIC2023-01-211-1/+3
|
* extra networks UIAUTOMATIC2023-01-211-11/+13
| | | | rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
* Merge pull request #6854 from EllangoK/masterAUTOMATIC11112023-01-181-4/+4
|\ | | | | Saves Extra Generation Parameters to params.txt
| * Changed params.txt save to after manual init callEllangoK2023-01-171-4/+4
| |
* | use DDIM in hires fix is the sampler is PLMSAUTOMATIC2023-01-181-1/+2
|/