aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|/
* make StableDiffusionProcessing class not hold a reference to shared.sd_model ↵AUTOMATIC2023-01-161-4/+5
| | | | object
* Add a check and explanation for tensor with all NaNs.AUTOMATIC2023-01-161-0/+3
|
* change hypernets to use sha256 hashesAUTOMATIC2023-01-141-1/+1
|
* Fix extension parameters not being saved to last used parametersspace-nuko2023-01-121-4/+4
|
* add an option to use old hiresfix width/height behaviorAUTOMATIC2023-01-091-2/+24
| | | | add a visual effect to inactive hires fix elements
* Merge branch 'AUTOMATIC1111:master' into img2img-api-scriptsnoodleanon2023-01-071-1/+0
|\
| * rework hires fix preview for #6437: movie it to where it takes less place, ↵AUTOMATIC2023-01-071-1/+0
| | | | | | | | make it actually account for all relevant sliders and calculate dimensions correctly
* | allow img2img api to run scriptsnoodleanon2023-01-051-2/+2
|/
* experimental optimizationAUTOMATIC2023-01-051-3/+25
|
* move sd_model assignment to the place where we change the sd_modelAUTOMATIC2023-01-051-5/+9
|
* Merge branch 'AUTOMATIC1111:master' into fix-sd-arch-switch-in-override-settingsPhilpax2023-01-051-67/+113
|\
| * make hires fix not do anything if the user chooses the second pass ↵AUTOMATIC2023-01-041-8/+17
| | | | | | | | resolution to be the same as first pass resolution
| * fix incorrect display/calculation for number of steps for hires fix in ↵AUTOMATIC2023-01-041-3/+6
| | | | | | | | progress bars
| * added the option to specify target resolution with possibility of truncating ↵AUTOMATIC2023-01-041-5/+46
| | | | | | | | for hires fix; also sampling steps
| * add XY plot parameters to grid image and do not add them to individual imagesAUTOMATIC2023-01-041-1/+1
| |
| * use shared function from processing for creating dummy mask when training ↵AUTOMATIC2023-01-041-19/+20
| | | | | | | | inpainting model
| * add infotext to "-before-highres-fix" imagesAUTOMATIC2023-01-041-1/+5
| |
| * Merge pull request #6299 from stysmmaker/feat/latent-upscale-modesAUTOMATIC11112023-01-041-1/+1
| |\ | | | | | | Add more latent upscale modes
| | * Update processing.pyMMaker2023-01-041-1/+1
| | |
| * | fix: Save full res of intermediate stepMMaker2023-01-041-1/+1
| |/
| * fix hires fix not working in API when user does not specify upscalerAUTOMATIC2023-01-031-1/+1
| |
| * Hires fix reworkAUTOMATIC2023-01-021-41/+27
| |
| * make it so that memory/embeddings info is displayed in a separate UI element ↵AUTOMATIC2022-12-311-2/+3
| | | | | | | | from generation parameters, and is preserved when you change the displayed infotext by clicking on gallery images
| * make it so that blank ENSD does not break image generationAUTOMATIC2022-12-261-3/+4
| |
* | fix(api): assign sd_model after settings changePhilpax2022-12-251-2/+4
|/
* Merge pull request #5718 from space-nuko/feature/save-hypernetwork-hashAUTOMATIC11112022-12-241-2/+3
|\ | | | | Save hypernetwork hash and fix hypernetwork parameter restoring