Pam
37acba2633
argument to disable memory efficient for sdp
3 years ago
Yea Chen
f85a192f99
Update modules/api/api.py
...
Suggested change by @akx
Co-authored-by: Aarni Koskela <akx@iki.fi>
3 years ago
Pam
fec0a89511
scaled dot product attention
3 years ago
Aarni Koskela
06f167da37
Extra networks: support .txt description sidecar file
3 years ago
Aarni Koskela
49b1dc5e07
Deduplicate extra network preview-search code
3 years ago
Brad Smith
d118cb6ea3
use lowercase name for sorting; keep `UpscalerLanczos` and `UpscalerNearest` at the start of the list with `UpscalerNone`
...
Co-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>
3 years ago
Vladimir Mandic
b012d70f15
update using original defaults
3 years ago
Yea chen
c48bbccf12
add: /sdapi/v1/scripts in API
...
API for get scripts list
3 years ago
Vladimir Mandic
f8e219bad9
allow api requests to specify do not send images in response
3 years ago
Vladimir Mandic
23d4fb5bf2
allow saving of images via api
3 years ago
Vespinian
c6c2a59333
comment clarification
3 years ago
Vespinian
a39c4cf766
small refactor of api.py
3 years ago
Vespinian
3b6de96467
Added alwayson_script_name and alwayson_script_args to api
...
Added 2 additional possible entries in the api request: alwayson_script_name, a string list, and, alwayson_script_args, a list of list containing the args of each script. This allows us to send args to always on script and keep backwards compatibility with old script_name and script_arg api params
3 years ago
Vladimir Mandic
3c6459154f
add check for resulting image size
3 years ago
Adam Huganir
6d92d95a33
git 3.1.30 api change
3 years ago
missionfloyd
aa108bd02a
Add lossless webp option
3 years ago
Brad Smith
b15bc73c99
sort upscalers by name
3 years ago
laksjdjf
534cf60afb
Update script_callbacks.py
3 years ago
laksjdjf
9a1435946c
Update sd_samplers_kdiffusion.py
3 years ago
laksjdjf
327186b484
Update script_callbacks.py
3 years ago
Tpinion
ac4c7f05cd
Filter out temporary files that will be generated if the download fails.
3 years ago
fkunn1326@users.noreply.github.com
b90cad7f31
Add .mjs support for extensions
3 years ago
space-nuko
a2d635ad13
Add before_process_batch script callback
3 years ago
Kilvoctu
32a4c8d961
use emojis for extra network buttons
...
🔄 for refresh
❌ for close
3 years ago
xSinStarx
b0f2653541
Fixes img2img Negative Token Counter
...
The img2img negative token counter is counting the txt2img negative prompt.
3 years ago
w-e-w
f71a3c9c3a
convert resolution to int using round()
3 years ago
EllangoK
ca2b8faa83
custom height, width settings for extra networks
3 years ago
Vladimir Mandic
83829471de
make ui as multiselect instead of string list
3 years ago
Vladimir Mandic
8affa42588
Merge branch 'AUTOMATIC1111:master' into hide_ui_tabs
3 years ago
w-e-w
014e7323f6
when exists
3 years ago
w-e-w
c77f01ff31
fix auto sd download issue
3 years ago
AUTOMATIC1111
c3d5a6ed37
Merge pull request #7300 from Ju1-js/master
...
Gradio Auth - Read from External File
3 years ago
AUTOMATIC
11183b4d90
fix for #6700
3 years ago
AUTOMATIC1111
dfb3b8f398
Merge branch 'master' into weighted-learning
3 years ago
AUTOMATIC1111
4313777322
Merge pull request #7703 from minux302/hotfix/fix_hn_api_arg
...
fix arg for train_hypernetwork api
3 years ago
AUTOMATIC1111
09835363ab
Merge pull request #7572 from CurtisDS/fix-id-handle-in-extra-networks
...
Update ui_extra_networks.py to fix div id's that have spaces in them
3 years ago
AUTOMATIC
b908bed883
remove unneeded return from #7583
3 years ago
AUTOMATIC1111
563724f6e9
Merge pull request #7583 from EllangoK/master
...
Calls modules.sd_vae.refresh_vae_list(), fixes VAE list not updating
3 years ago
AUTOMATIC1111
b63a13c5ed
Merge pull request #7651 from vladmandic/missing-imports
...
Add missing imports
3 years ago
AUTOMATIC1111
e287d9b294
Merge pull request #7650 from vladmandic/img2img-fix
...
Convert image from RGBA to RGB before saving
3 years ago
AUTOMATIC
fe46a08f52
add slash to non-empty dirs in extra networks interface
3 years ago
AUTOMATIC1111
226bc04653
Merge pull request #7637 from brkirch/fix-hypernetworks-pix2pix
...
Fix hypernetworks and instruct pix2pix not working with `--upcast-sampling`
3 years ago
AUTOMATIC1111
3fcc087317
Merge pull request #7731 from opparco/master
...
Add cfg_denoised_callback
3 years ago
AUTOMATIC1111
fd4ac5187a
Revert "Aspect ratio sliders"
3 years ago
AUTOMATIC1111
b20f28eea9
Merge pull request #7601 from Gerschel/aspect_ratio_sliders
...
Aspect ratio sliders
3 years ago
AUTOMATIC1111
9c4eaac61f
Merge pull request #7691 from missionfloyd/16bit-convert
...
Convert 16-bit greyscale to 8-bit when saving as JPEG
3 years ago
AUTOMATIC1111
2a4f893570
Merge pull request #7727 from missionfloyd/face-restore-setting
...
Fix face restorers setting
3 years ago
AUTOMATIC
fb2354cb2a
reword settings for 4chan export, remove unneded try/excepts, add try/except for actually saving JPG
3 years ago
AUTOMATIC1111
e572c3ed38
Merge pull request #7564 from w-e-w/configurable_image_downscale
...
Configurable JPG downscale threshold
3 years ago
AUTOMATIC
1646991637
display 8 (rather than 7) characters of the extension commit hash in the installed extensions table
3 years ago
AUTOMATIC1111
d023532c55
Merge pull request #7798 from vladmandic/extensions
...
add version to extensions table
3 years ago
AUTOMATIC
15f4b217b1
fix the a merge conflict resolve i did that entirely breaks image generation
3 years ago
AUTOMATIC1111
a77ac2eeaa
Merge pull request #7730 from CCRcmcpe/fix-dpm-sde-batch
...
Fix DPM++ SDE not deterministic across different batch sizes (#5210 )
3 years ago
AUTOMATIC
a742facd95
make PNG info tab work properly with parameter overrides
3 years ago
AUTOMATIC1111
6911deb242
Merge branch 'master' into fix-save-params-2
3 years ago
AUTOMATIC1111
c69494673d
Merge pull request #7824 from missionfloyd/download-model
...
Download model if none are found
3 years ago
AUTOMATIC1111
b66b6829aa
Merge pull request #7789 from space-nuko/extra-networks-per-batch
...
Apply extra networks per-batch instead of per-session (fixes wildcards)
3 years ago
AUTOMATIC
b5f69ad6af
simply long version display for torch in UI
3 years ago
Vladimir Mandic
9c7e6d5bba
store and print real torch version
3 years ago
space-nuko
b20737815a
Fix params.txt saving for infotexts modified by process_batch
3 years ago
missionfloyd
c4ea16a03f
Add ".vae.ckpt" to ext_blacklist
3 years ago
Shondoit
edb10092de
Add ability to choose using weighted loss or not
3 years ago
Shondoit
bc50936745
Call weighted_forward during training
3 years ago
Shondoit
21642000b3
Add PNG alpha channel as weight maps to data entries
3 years ago
Shondoit
c4bfd20f31
Hijack to add weighted_forward to model: return loss * weight map
3 years ago
RcINS
f55a7e04d8
Fix error when batch count > 1
3 years ago
missionfloyd
1615f786ee
Download model if none are found
3 years ago
space-nuko
7df7e4d227
Allow extensions to declare paste fields for "Send to X" buttons
3 years ago
Vladimir Mandic
a320d157ec
all hiding of ui tabs
3 years ago
Vladimir Mandic
7893533674
add version to extensions table
3 years ago
space-nuko
0a4917ac40
Apply extra networks per-batch instead of per-session (fixes wildcards)
3 years ago
space-nuko
716a69237c
support SD2.X models
3 years ago
opparco
b78c5e87ba
Add cfg_denoised_callback
3 years ago
RcINS
9e27af76d1
Fix DPM++ SDE not deterministic across different batch sizes ( #5210 )
3 years ago
space-nuko
fb274229b2
bug fix
3 years ago
missionfloyd
bf9b1d64a3
Fix face restorers setting
3 years ago
space-nuko
06cb0dc920
Fix UniPC order
3 years ago
space-nuko
79ffb9453f
Add UniPC sampler settings
3 years ago
space-nuko
c88dcc20d4
UniPC does not support img2img (for now)
3 years ago
space-nuko
21880eb9e5
Fix logspam and live previews
3 years ago
space-nuko
1253199889
Working UniPC (for batch size 1)
3 years ago
minux302
33947a3c66
fix arg for hypernetwork train api
3 years ago
missionfloyd
73a97cac11
Use RGB for webp
...
Doesn't support greyscale (L)
3 years ago
missionfloyd
463ab84180
Convert 16-bit greyscale to 8-bit when saving as JPEG
3 years ago
Gerschel
374fe636b8
Squashed commit of the following:
...
commit b030b67ad005bfe29bcda692238a00042dcae816
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Wed Feb 8 16:38:56 2023 -0800
styling adjustements
commit 80a2acb0230dd77489b0eb466f2efe827a053f6d
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Wed Feb 8 10:49:47 2023 -0800
badge indicator toggles visibility by selection
commit 898922e025a6422ac947fb45c1fa4f1109882f0a
Merge: 745382a0 31bbfa72
Author: Gerschel <9631031+Gerschel@users.noreply.github.com>
Date: Wed Feb 8 08:35:26 2023 -0800
Merge pull request #1 from w-e-w/Rounding-Method
Rounding Method
commit 31bbfa729a15ef35fa1f905345d3ba2b17b26ab9
Author: w-e-w <40751091+w-e-w@users.noreply.github.com>
Date: Wed Feb 8 19:41:45 2023 +0900
use switch
commit 85dbe511c33521d3ac62224bf0e0f3a48194ce63
Author: w-e-w <40751091+w-e-w@users.noreply.github.com>
Date: Wed Feb 8 16:47:52 2023 +0900
Rounding Method
commit 745382a0f4b8d16241545a3460d5206915959255
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Tue Feb 7 21:19:20 2023 -0800
default set to round
commit 728579c618af30ec98a5af0991bd3f28bdaca399
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Tue Feb 7 21:17:03 2023 -0800
cleaned some commented code out; added indicator
commit 5b288c24a1edd8a5c2f35214b9634316d05b8dae
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Tue Feb 7 18:19:00 2023 -0800
needs cleaning; attempt at rounding
commit d9f18ae92b929576b0b8c5f1ef8b3b38e441e381
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Tue Feb 7 15:46:25 2023 -0800
add rounding option in setting for aspect ratio
commit af22106802c9e42205649e4c71c23fcf5b8c62f6
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Tue Feb 7 13:18:45 2023 -0800
added some ratios, sorted ratios by commonality
commit 11e2fba73cffe8cdbf4cd0860641b94428ca0e74
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Tue Feb 7 10:46:53 2023 -0800
snaps to mulitples of 8 and along ratio
commit fa00387e07460b10ee82671a1bfa8687e00ee60b
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Mon Feb 6 14:54:59 2023 -0800
updated slidercomponentcontroller
commit 8059bc111c3e2d1edb3314e05ab21b65120fa1dd
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Mon Feb 6 14:29:11 2023 -0800
added step size adjustment on number field
commit 641157b9f27a874a24ee7b0a854a092e9eac3eec
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Mon Feb 6 14:12:03 2023 -0800
added return step size to default when ratio is disabled
commit 5fb75ad28f2476f36100ec93922a8199adbd2a68
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Mon Feb 6 14:09:34 2023 -0800
added step size adjustment
commit e33532883bc4709cd41c3775cbb646d1d5ab0584
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Mon Feb 6 11:56:15 2023 -0800
adjusted dropdown size, padding, text-align
commit 81937329cee77f466c5a5b23c268d0c810128f84
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Mon Feb 6 11:39:57 2023 -0800
added positioning and styling
commit 86eb4583782d92880a9a113a54ffbac9d92f3753
Author: Gerschel <Gerschel_Payne@hotmail.com>
Date: Mon Feb 6 08:54:45 2023 -0800
fix typo in defaults; added preventDefault in event
3 years ago
Vladimir Mandic
3ca41dbded
add missing import
...
used later in line 70
3 years ago
Vladimir Mandic
3ee9ca5cb0
add missing import
...
used later in line 418
3 years ago
Vladimir Mandic
4c562a9832
convert rgba to rgb
...
some image format (e.g. jpg) do not support rgba
3 years ago
brkirch
2016733814
Apply hijacks in ddpm_edit for upcast sampling
...
To avoid import errors, ddpm_edit hijacks are done after an instruct pix2pix model is loaded.
3 years ago
brkirch
4738486d8f
Support for hypernetworks with --upcast-sampling
3 years ago
Gerschel
5d483bf307
aspect ratio for dim's; sliders adjust by ratio
...
Default choices added to settings in user interface section
Choices are editable by user
User selects from dropdown.
When you move one slider, the other adjusts according to the ratio
chosen.
Vice versa for the other slider.
Number fields for changes work as well.
For disabling ratio, an unlock pad "🔓 " is available as a default.
This string can be changed to anything to serve as a disable,
as long as there is no colon ":".
Ratios are entered in this format, floats or ints with a colon "1:1".
The string is split at the colon, parses left and right as floats to
perform the math.
3 years ago
EllangoK
9a22c63f47
call modules.sd_vae.refresh_vae_list()
3 years ago
CurtisDS
584f782391
Update ui_extra_networks.py
...
update the string used to build the ID handle to replace spaces with underscore
3 years ago
w-e-w
fe33be6cac
use Default if ValueError
3 years ago
w-e-w
6d11cda418
configurable image downscale
...
allowing the user to configure the image downscale parameters in setting
3 years ago
EllangoK
0ca1a64cfc
adds grid margins to xyz plot and prompt matrix
3 years ago
AUTOMATIC1111
3993aa43e9
Merge pull request #7535 from mcmonkey4eva/fix-symlink-extra-network
...
fix symlinks in extra networks ui
3 years ago
AUTOMATIC1111
27a50d4b38
Merge pull request #7554 from techneconn/feature/prompt_hash_option
...
Add prompt_hash option for file/dir name pattern
3 years ago
AUTOMATIC1111
475095f50a
Merge pull request #7528 from spezialspezial/patch-1
...
Catch broken model symlinks early | Quickfix modelloader.py
3 years ago
AUTOMATIC
668d7e9b9a
make it possible to load SD1 checkpoints without CLIP
3 years ago
techneconn
5a1b62e9f8
Add prompt_hash option for file/dir name pattern
3 years ago
Alex "mcmonkey" Goodwin
88a46e8427
fix symlinks in extra networks ui
...
'absolute' and 'resolve' are equivalent, but 'resolve' resolves symlinks (which is an obscure specialty behavior usually not wanted) whereas 'absolute' treats symlinks as folders (which is the expected behavior). This commit allows you to symlink folders within your models/embeddings/etc. dirs and have preview images load as expected without issue.
3 years ago
spezialspezial
6524478850
Update modelloader.py
...
os.path.getmtime(filename) throws exception later in codepath when meeting broken symlink. For now catch it here early but more checks could be added for robustness.
3 years ago
AUTOMATIC
3e0f9a7543
fix issue with switching back to checkpoint that had its checksum calculated during runtime mentioned in #7506
3 years ago
AUTOMATIC
40e51fd6ef
add margin parameter to draw_grid_annotations
3 years ago
AUTOMATIC1111
21593c8082
Merge pull request #7466 from ctwrs/master
...
Add .jpg to allowed thumb formats
3 years ago
AUTOMATIC1111
c0e0b5844d
Merge pull request #7470 from cbrownstein-lambda/update-error-message-no-checkpoint
...
Update error message WRT missing checkpoint file
3 years ago
AUTOMATIC
81823407d9
add --no-hashing
3 years ago
AUTOMATIC1111
30228c67ca
Merge pull request #7461 from brkirch/mac-fixes
...
Move Mac related code to separate file
3 years ago
AUTOMATIC
c4b9ed1a27
make Image CFG Scale only show if instrutpix2pix model is loaded
3 years ago
AUTOMATIC
72dd5785d9
merge CFGDenoiserEdit and CFGDenoiser into single object
3 years ago
brkirch
4306659c4d
Remove unused code
3 years ago
Kyle
ba6a4e7e94
Use original CFGDenoiser if image_cfg_scale = 1
...
If image_cfg_scale is =1 then the original image is not used for the output. We can then use the original CFGDenoiser to get the same result to support AND functionality.
Maybe in the future AND can be supported with "Image CFG Scale"
3 years ago
Kyle
c27c0de0f7
txt2img Hires Fix
3 years ago
Kyle
6c6c6636bb
Image CFG Added (Full Implementation)
...
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
3 years ago
Kyle
3b2ad20ac1
Processing only, no CFGDenoiser change
...
Allows instruct-pix2pix
3 years ago
Kyle
cf0cfefe91
Revert "instruct-pix2pix support"
...
This reverts commit 269833067d .
3 years ago
Kyle
269833067d
instruct-pix2pix support
3 years ago
Cody Brownstein
fb97acef63
Update error message WRT missing checkpoint file
...
The Safetensors format is also supported.
3 years ago
ctwrs
92bae77b88
Add .jpg to allowed thumb formats
3 years ago
brkirch
1b8af15f13
Refactor Mac specific code to a separate file
...
Move most Mac related code to a separate file, don't even load it unless web UI is run under macOS.
3 years ago
AUTOMATIC1111
07edf57409
Merge pull request #7357 from EllangoK/btn-fix
...
Fixes switch height/width btn unbound error
3 years ago
AUTOMATIC1111
30a64504b1
Merge pull request #7414 from joecodecreations/master
...
Changes use_original_name_batch to default to True
3 years ago
brkirch
2217331cd1
Refactor MPS fixes to CondFunc
3 years ago
brkirch
7738c057ce
MPS fix is still needed :(
...
Apparently I did not test with large enough images to trigger the bug with torch.narrow on MPS
3 years ago
Joey Sanchez
0426b34789
Adding default true to use_original_name_batch as images should by default hold the same name to help keep sequenced images in their correct order
3 years ago
AUTOMATIC
ee9fdf7f62
Add --skip-version-check to disable messages asking users to upgrade torch.
3 years ago
AUTOMATIC
ab059b6e48
make the program read Discard penultimate sigma from generation parameters
3 years ago
AUTOMATIC
040ec7a80e
make the program read Eta and Eta DDIM from generation parameters
3 years ago
AUTOMATIC
4df63d2d19
split samplers into one more files for k-diffusion
3 years ago
Andrey
274474105a
Split history sd_samplers.py to sd_samplers_kdiffusion.py
3 years ago
Andrey
95916e3777
Split history sd_samplers.py to sd_samplers_kdiffusion.py
3 years ago
Andrey
2db8ed32cd
Split history sd_samplers.py to sd_samplers_kdiffusion.py
3 years ago
Andrey
f4d0538bf2
Split history sd_samplers.py to sd_samplers_kdiffusion.py
3 years ago
AUTOMATIC
aa54a9d416
split compvis sampler and shared sampler stuff into their own files
3 years ago
Andrey
f8fcad502e
Split history sd_samplers.py to sd_samplers_common.py
3 years ago
Andrey
58ae93b954
Split history sd_samplers.py to sd_samplers_common.py
3 years ago
Andrey
6e78f6a896
Split history sd_samplers.py to sd_samplers_common.py
3 years ago
Andrey
5feae71dd2
Split history sd_samplers.py to sd_samplers_common.py
3 years ago
Andrey
449531a6c5
Split history sd_samplers.py to sd_samplers_compvis.py
3 years ago
Andrey
9b8ed7f8ec
Split history sd_samplers.py to sd_samplers_compvis.py
3 years ago
Andrey
9118b08606
Split history sd_samplers.py to sd_samplers_compvis.py
3 years ago
Andrey
0c7c36a6c6
Split history sd_samplers.py to sd_samplers_compvis.py
3 years ago
AUTOMATIC
c81b52ffbd
add override settings component to img2img
3 years ago
AUTOMATIC
847ceae1f7
make it possible to search checkpoint by its hash
3 years ago
AUTOMATIC
399720dac2
update prompt token counts after using the paste params button
3 years ago
AUTOMATIC
f91068f426
change disable_weights_auto_swap to true by default
3 years ago
AUTOMATIC
938578e8a9
make it so that setting options in pasted infotext (like Clip Skip and ENSD) do not get applied directly and instead are added as temporary overrides
3 years ago
AUTOMATIC
00dab8f10d
remove Batch size and Batch pos from textinfo (goodbye)
3 years ago
AUTOMATIC
aa6e55e001
do not display the message for TI unless the list of loaded embeddings changed
3 years ago