Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z #6

Merged
merged 689 commits into from
Nov 2, 2023
Merged

Z #6

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
689 commits
Select commit Hold shift + click to select a range
3a4bee1
Merge pull request #12543 from AUTOMATIC1111/extra-norm-module
AUTOMATIC1111 Aug 14, 2023
f37cc5f
Merge pull request #12542 from AUTOMATIC1111/res-sampler
AUTOMATIC1111 Aug 14, 2023
c7c16f8
repair /docs page
AUTOMATIC1111 Aug 14, 2023
b39d936
Fix typo in shared_options.py
whitebell Aug 14, 2023
abbecb3
further repair the /docs page to not break styles with the attempted fix
AUTOMATIC1111 Aug 14, 2023
f3b96d4
return seed controls UI to how it was before
AUTOMATIC1111 Aug 14, 2023
d61e31b
Merge remote-tracking branch 'auto1111/dev' into shared-hires-prompt-…
Aug 14, 2023
353c876
fix API always using -1 as seed
AUTOMATIC1111 Aug 14, 2023
99ab3d4
hires prompt timeline: merge to latests, slightly simplify diff
Aug 14, 2023
6bfd4df
add second_order to samplers that mistakenly didn't have it
AUTOMATIC1111 Aug 14, 2023
a2e213b
separate Extra options
w-e-w Aug 14, 2023
bc63339
Update hash for SD XL Repo
brkirch Jul 27, 2023
2359c07
Merge pull request #12551 from AUTOMATIC1111/separate-Extra-options
AUTOMATIC1111 Aug 14, 2023
e56b7c8
Merge pull request #12547 from whitebell/fix-typo
AUTOMATIC1111 Aug 14, 2023
f23e5ce
revert changed inpainting mask conditioning calculation after #12311
AUTOMATIC1111 Aug 14, 2023
5daf798
when refreshing cards in extra networks UI, do not discard user's cus…
AUTOMATIC1111 Aug 14, 2023
45be87a
correctly add Eta DDIM to infotext when it's 1.0 and do not add it wh…
AUTOMATIC1111 Aug 14, 2023
6f86573
Merge pull request #12552 from brkirch/update-sdxl-commit-hash
AUTOMATIC1111 Aug 15, 2023
d6b79b9
Merge pull request #12476 from AnyISalIn/dev
AUTOMATIC1111 Aug 15, 2023
7e77a38
get XYZ plot to work with recent changes to refined specified in fiel…
AUTOMATIC1111 Aug 15, 2023
79d4e81
fix processing error that happens if batch_size is not a multiple of …
AUTOMATIC1111 Aug 15, 2023
371b24b
Add extra img2img noise
catboxanon Aug 15, 2023
b0a6d61
Add NoCrypt/miku gradio theme
NoCrypt Aug 15, 2023
bc61ad9
Merge pull request #12564 from catboxanon/feat/img2img-noise
AUTOMATIC1111 Aug 15, 2023
9ab52ca
update changelog file
AUTOMATIC1111 Aug 15, 2023
2154662
Add PR refs to changelog
catboxanon Aug 15, 2023
ec505ba
Merge pull request #12573 from catboxanon/changelog
AUTOMATIC1111 Aug 15, 2023
54209c1
Use the new SD VAE override setting
brkirch Aug 15, 2023
f117bb6
Update CHANGELOG.md
w-e-w Aug 15, 2023
dc0e63a
Merge pull request #12578 from AUTOMATIC1111/changelog-fix
AUTOMATIC1111 Aug 15, 2023
63f881a
Merge pull request #12577 from brkirch/fix-vae-near-checkpoint-exception
AUTOMATIC1111 Aug 15, 2023
7327be9
Merge pull request #12570 from NoCrypt/add-miku-theme
AUTOMATIC1111 Aug 15, 2023
aa57a89
full module with ex_bias
KohakuBlueleaf Aug 15, 2023
f01682e
store patches for Lora in a specialized module
AUTOMATIC1111 Aug 15, 2023
8b181c8
Merge pull request #12584 from AUTOMATIC1111/full-module-with-bias
AUTOMATIC1111 Aug 15, 2023
85fcb7b
lint
AUTOMATIC1111 Aug 15, 2023
5b28b7d
RNG: Make all elements of shape `int`s
catboxanon Aug 15, 2023
0f77139
Fix inpaint upload for alpha masks, create reusable function
catboxanon Aug 15, 2023
7083391
CSS: Remove forced visible overflow for Gradio group child divs
catboxanon Aug 15, 2023
d09d33b
Merge pull request #12588 from catboxanon/fix/inpaint-upload
AUTOMATIC1111 Aug 15, 2023
fd563e3
Merge pull request #12586 from catboxanon/fix/rng-shape
AUTOMATIC1111 Aug 15, 2023
a7f7701
Merge pull request #12589 from catboxanon/fix/css-overflow
AUTOMATIC1111 Aug 15, 2023
d9ddc5d
Remove wrong scale
KohakuBlueleaf Aug 16, 2023
8622126
RAM optimization round 2
AUTOMATIC1111 Aug 16, 2023
023a3a9
Merge pull request #12596 from AUTOMATIC1111/fix-taesd-scale
AUTOMATIC1111 Aug 16, 2023
0815c45
send weights to target device instead of CPU memory
AUTOMATIC1111 Aug 16, 2023
57e59c1
Revert "send weights to target device instead of CPU memory"
AUTOMATIC1111 Aug 16, 2023
eaba3d7
send weights to target device instead of CPU memory
AUTOMATIC1111 Aug 16, 2023
0cf85b2
auto add data-dir to gradio-allowed-path
w-e-w Aug 16, 2023
fc3a57f
Merge pull request #12603 from AUTOMATIC1111/auto-add-data-dir-to-gra…
AUTOMATIC1111 Aug 16, 2023
e1a2926
return empty list if extensions_dir not exist
w-e-w Aug 16, 2023
541ef92
Merge pull request #12607 from AUTOMATIC1111/return-empty-list-if-ext…
AUTOMATIC1111 Aug 16, 2023
254be4e
Add extra noise callback
catboxanon Aug 17, 2023
0dc7454
resolve the issue with loading fp16 checkpoints while using --no-half
AUTOMATIC1111 Aug 17, 2023
3003b10
Attempt to resolve NaN issue with unstable VAEs in fp32 mk2
catboxanon Aug 17, 2023
46e8898
Fix img2img background color not being used
catboxanon Aug 17, 2023
3ce5fb8
Add option for faster live interrupt
catboxanon Aug 18, 2023
13f1357
Make image viewer actually fit the whole page
catboxanon Aug 18, 2023
959f8b3
fix issues with model refresh
Cschlaefli Aug 18, 2023
f9c2216
remove unused import
Cschlaefli Aug 18, 2023
8a1f32b
image hash
w-e-w Aug 18, 2023
a81dc43
negative_prompt full_prompt hash
w-e-w Aug 18, 2023
640cb1b
fix model override logic
w-e-w Aug 18, 2023
f89f01f
Make results column sticky
catboxanon Aug 18, 2023
44d4e7c
Gallery: Set preview to True, allow custom height
catboxanon Aug 18, 2023
9d1d63a
Exit out of hires fix if interrupted earlier
catboxanon Aug 18, 2023
64d5fa1
fix typo `txt2txt` -> `txt2img`
S-Del Aug 18, 2023
453a5ac
run python unbuffered so output shows up in docker logs
dansgithubuser Aug 19, 2023
956e1d8
xformers update
XDOneDude Aug 19, 2023
61c1261
more grammar fixes
XDOneDude Aug 19, 2023
1631e96
refactor: Update ui.js
bluelovers Aug 19, 2023
4760c3c
api support get image from url
SpenserCai Aug 19, 2023
bb91bb5
Merge pull request #12662 from bluelovers/bluelovers-patch-1-1
AUTOMATIC1111 Aug 19, 2023
e4a2a70
Merge pull request #12661 from XDOneDude/master
AUTOMATIC1111 Aug 19, 2023
ca72db2
Merge pull request #12660 from dansgithubuser/fork
AUTOMATIC1111 Aug 19, 2023
e7a044a
Merge pull request #12653 from S-Del/fix/typo
AUTOMATIC1111 Aug 19, 2023
f739e3e
second appearance
AUTOMATIC1111 Aug 19, 2023
9182dd7
Merge pull request #12634 from catboxanon/feat/live-preview-fast-inte…
AUTOMATIC1111 Aug 19, 2023
90e560b
Merge pull request #12648 from catboxanon/feat/gallery-tweaks
AUTOMATIC1111 Aug 19, 2023
cd719b0
Merge pull request #12663 from SpenserCai/get_image_from_url
AUTOMATIC1111 Aug 19, 2023
f084e6b
revert xformers back to 0.0.20
AUTOMATIC1111 Aug 19, 2023
5590be7
Merge pull request #12644 from AUTOMATIC1111/fix-model-override-logic
AUTOMATIC1111 Aug 19, 2023
99cd8de
Merge pull request #12645 from catboxanon/css/sticky-column
AUTOMATIC1111 Aug 19, 2023
296c8f6
Merge pull request #12639 from AUTOMATIC1111/more-hash
AUTOMATIC1111 Aug 19, 2023
d75b521
Merge pull request #12638 from Cschlaefli/fix-api-vae-model-refresh
AUTOMATIC1111 Aug 19, 2023
99a64ed
do not assign to vae_dict
AUTOMATIC1111 Aug 19, 2023
58a9082
Merge pull request #12635 from catboxanon/fix/full-page-img
AUTOMATIC1111 Aug 19, 2023
3d81fd7
Merge pull request #12633 from catboxanon/fix/img2img-bg-color
AUTOMATIC1111 Aug 19, 2023
7056fdf
Merge pull request #12630 from catboxanon/fix/nans-mk2
AUTOMATIC1111 Aug 19, 2023
448d6be
Merge pull request #12599 from AUTOMATIC1111/ram_optim
AUTOMATIC1111 Aug 19, 2023
5a59138
Merge pull request #12616 from catboxanon/extra-noise-callback
AUTOMATIC1111 Aug 19, 2023
35db366
possible fix for dictionary changed size during iteration
AUTOMATIC1111 Aug 19, 2023
9d2299e
implement undo hijack for SDXL
AUTOMATIC1111 Aug 19, 2023
8ce613b
switch to PNG when images too large
w-e-w Aug 19, 2023
ae17c77
fix xyz swap axes
w-e-w Aug 20, 2023
042e1d5
Fix SD VAE switch error after model reuse
Uminosachi Aug 20, 2023
a3c8510
Add resize-handler extension
catboxanon Aug 20, 2023
36ecff7
catch error when loading config_states
w-e-w Aug 20, 2023
2571767
Merge pull request #12687 from catboxanon/resize-handle
AUTOMATIC1111 Aug 20, 2023
499cef3
Merge pull request #12684 from AUTOMATIC1111/fix-xyz-swap-axes
AUTOMATIC1111 Aug 20, 2023
e0e64bc
assert key created_at exist in config_states
w-e-w Aug 20, 2023
7ca20ad
no need to use OrderedDict
w-e-w Aug 20, 2023
2c10fda
make it obvious that a config_status is corrupted
w-e-w Aug 20, 2023
a0d721e
make live preview display work independently from progress bar
AUTOMATIC1111 Aug 20, 2023
db5c304
make live previews play nice with window/slider resizes
AUTOMATIC1111 Aug 20, 2023
4a2bf65
make mobile built-in extension actually do something
AUTOMATIC1111 Aug 20, 2023
5159edb
Store base_vae and loaded_vae_file in sd_model
Uminosachi Aug 20, 2023
af5d2e8
Change to access sd_model attribute with dot
Uminosachi Aug 20, 2023
f65d0dc
Merge pull request #12689 from AUTOMATIC1111/patch-config-status
AUTOMATIC1111 Aug 20, 2023
42b72fe
fix for small images in live previews not being scaled up
AUTOMATIC1111 Aug 20, 2023
549b0fc
Change where VAE state are stored in model
Uminosachi Aug 20, 2023
268dc9b
fix potential ssrf attack in #12663
Akegarasu Aug 20, 2023
db6c7ff
Update torch for Navi 31 (7900 XT/XTX)
fraz0815 Aug 20, 2023
be301f2
Fix for consistency with shared.opts.sd_vae of UI
Uminosachi Aug 21, 2023
5a3fe7a
Merge pull request #12685 from Uminosachi/fix-vae-mismatch
AUTOMATIC1111 Aug 21, 2023
d363236
Merge pull request #12704 from fraz0815/master
AUTOMATIC1111 Aug 21, 2023
a7f18b2
Merge pull request #12698 from Akegarasu/fix-ssrf-in-api
AUTOMATIC1111 Aug 21, 2023
76ae101
add settings for http/https URLs in source images in api
AUTOMATIC1111 Aug 21, 2023
d722d6d
Merge pull request #12667 from AUTOMATIC1111/switch-to-PNG-when-image…
AUTOMATIC1111 Aug 21, 2023
b4d21e7
prevent API options from being changed via API
AUTOMATIC1111 Aug 21, 2023
df595ae
make resize handle available to extensions
AUTOMATIC1111 Aug 21, 2023
d02c4da
also prevent changing API options via override_settings
AUTOMATIC1111 Aug 21, 2023
71a0f6e
feat: replace threading.Lock() to FIFOLock
AnyISalIn Aug 21, 2023
dfd6ea3
ditch --always-batch-cond-uncond in favor of an UI setting
AUTOMATIC1111 Aug 21, 2023
a3fdef4
Merge pull request #12707 from AnyISalIn/dev
AUTOMATIC1111 Aug 21, 2023
bd6f070
add citation
AUTOMATIC1111 Aug 21, 2023
18fb522
citation mk2
AUTOMATIC1111 Aug 21, 2023
953c3ea
forbid Full live preview method for medvram and add a setting to undo…
AUTOMATIC1111 Aug 21, 2023
9dce2aa
add RNG source to XYZ
w-e-w Aug 21, 2023
aed52d1
Reset columns on resize handle dblclick
catboxanon Aug 21, 2023
299b809
Make Gradio temp directory if it doesn't exist
brkirch Aug 21, 2023
7da73cb
Merge pull request #12717 from brkirch/make-temp-directory
AUTOMATIC1111 Aug 22, 2023
f83996c
Merge pull request #12714 from catboxanon/resize-handle-reset
AUTOMATIC1111 Aug 22, 2023
7a3a6e3
Merge pull request #12713 from AUTOMATIC1111/XYZ-RNG
AUTOMATIC1111 Aug 22, 2023
79fd17e
remove unneeded example_inputs from gradio config
AUTOMATIC1111 Aug 22, 2023
d7c9c61
attemped solution to the uncommon hanging problem that is seemingly c…
AUTOMATIC1111 Aug 22, 2023
e1b37a0
Fix resize handle overflowing in Safari
MMP0 Aug 22, 2023
70283a9
Expand the hit area of resize handle
MMP0 Aug 22, 2023
a459075
actual solution to the uncommon hanging problem that is seemingly cau…
AUTOMATIC1111 Aug 22, 2023
0998256
Prevent text selection and cursor changes
MMP0 Aug 22, 2023
e8a9d21
dump current stack traces when exiting with SIGINT
AUTOMATIC1111 Aug 22, 2023
7d94e5f
Update README.md with Intel install instructions
ravi9 Aug 22, 2023
f6c52f4
for live previews, only hide gallery after at least one live previews…
AUTOMATIC1111 Aug 22, 2023
96edfb5
Limit mouse detection to primary button only
MMP0 Aug 22, 2023
9e4019c
make it possible to localize tooltips and placeholders
AUTOMATIC1111 Aug 22, 2023
c4b11ec
Replace tabs with spaces
MMP0 Aug 22, 2023
9158d0f
fix broken generate button if not using live previews
AUTOMATIC1111 Aug 22, 2023
0d90064
eslint
AUTOMATIC1111 Aug 22, 2023
ed49c7c
Fix double click event not firing
MMP0 Aug 22, 2023
7fd0ccd
Merge pull request #12723 from MMP0/dev-resize-handle-fix
AUTOMATIC1111 Aug 22, 2023
2e9289b
Merge pull request #12722 from ravi9/intel-readme
AUTOMATIC1111 Aug 22, 2023
54fbdcf
Improve integration, fix for new gradio
daswer123 Aug 22, 2023
9c82b34
Merge pull request #12727 from daswer123/improve_integration
AUTOMATIC1111 Aug 22, 2023
bb7dd7b
use an atomic operation to replace the cache with the new version
AUTOMATIC1111 Aug 22, 2023
016554e
add --medvram-sdxl
AUTOMATIC1111 Aug 22, 2023
3ec5ce9
add type annotations for extra fields of shared.sd_model
AUTOMATIC1111 Aug 22, 2023
04cfcf9
fix endless progress requests
AUTOMATIC1111 Aug 22, 2023
8fd1558
Removed the old code
daswer123 Aug 23, 2023
6a87e35
lint
daswer123 Aug 23, 2023
0232a98
set devices.dtype_unet correctly
AUTOMATIC1111 Aug 23, 2023
f29b4cd
tell RealESRGANer which device to run on, could be cuda, M1, or other…
Aug 23, 2023
bae9185
Merge pull request #12737 from yajunzhng/master
AUTOMATIC1111 Aug 23, 2023
12171ca
fix memory leak when generation fails
AUTOMATIC1111 Jul 31, 2023
250c416
update doggettx cross attention optimization to not use an unreasonab…
AUTOMATIC1111 Aug 2, 2023
31f2be3
update changelog
AUTOMATIC1111 Aug 23, 2023
c9c8485
Merge branch 'release_candidate'
AUTOMATIC1111 Aug 23, 2023
ddf3d1a
draw extra network buttons above description
w-e-w Aug 23, 2023
32e790a
Fixing and improving integration
daswer123 Aug 23, 2023
fa68d66
remove console.log
daswer123 Aug 23, 2023
2c570f6
Merge pull request #12749 from daswer123/improve_integration
AUTOMATIC1111 Aug 24, 2023
06f1818
Merge pull request #12745 from AUTOMATIC1111/draw-extra-network-butto…
AUTOMATIC1111 Aug 24, 2023
0027ce1
Merge pull request #12457 from rubberbaron/shared-hires-prompt-test
AUTOMATIC1111 Aug 24, 2023
b0211ff
bump gradio version
AUTOMATIC1111 Aug 24, 2023
995ff59
add infotext for use_old_scheduling option
AUTOMATIC1111 Aug 24, 2023
b6c0217
update changelog
AUTOMATIC1111 Aug 24, 2023
189229b
Merge branch 'dev' into release_candidate
AUTOMATIC1111 Aug 24, 2023
935d9d8
update info about gradio in changelog file
AUTOMATIC1111 Aug 24, 2023
c39efa6
Zoom and Pan: Resize handler
daswer123 Aug 24, 2023
c8c73ea
fix incorrect save/display of new values in Defaults page in settings
AUTOMATIC1111 Aug 24, 2023
e835e61
Merge pull request #12754 from daswer123/improve_integration
AUTOMATIC1111 Aug 25, 2023
e004384
Merge branch 'dev' into release_candidate
AUTOMATIC1111 Aug 25, 2023
ac1abf3
fix defaults settings page breaking when any of main UI tabs are hidden
AUTOMATIC1111 Aug 26, 2023
3d83683
fix error that causes some extra networks to be disabled if both <lor…
AUTOMATIC1111 Aug 27, 2023
1b46863
update gradio to 3.41.2
AUTOMATIC1111 Aug 27, 2023
9dd0c4a
update changelog
AUTOMATIC1111 Aug 27, 2023
5e30f73
fix for Reload UI function: if you reload UI on one tab, other opened…
AUTOMATIC1111 Aug 27, 2023
783a575
Merge pull request #12795 from catboxanon/prevent-duplicate-resize-ha…
AUTOMATIC1111 Aug 27, 2023
7989765
Merge pull request #12797 from Madrawn/vae_resolve_bug
AUTOMATIC1111 Aug 27, 2023
5359dc0
Merge pull request #12792 from catboxanon/image-cropper-hide
AUTOMATIC1111 Aug 27, 2023
f331821
Merge pull request #12780 from catboxanon/xyz-hide-samplers
AUTOMATIC1111 Aug 27, 2023
6139b14
fix style editing dialog breaking if it's opened in both img2img and …
AUTOMATIC1111 Aug 27, 2023
cb81087
update changelog
AUTOMATIC1111 Aug 27, 2023
66d7630
lint
AUTOMATIC1111 Aug 27, 2023
d63117a
hide --gradio-auth and --api-auth values from /internal/sysinfo report
AUTOMATIC1111 Aug 27, 2023
d0d5075
update changelog
AUTOMATIC1111 Aug 27, 2023
bfc5c08
Merge pull request #12814 from AUTOMATIC1111/non-local-condition
AUTOMATIC1111 Aug 27, 2023
8670846
Merge pull request #12819 from catboxanon/fix/rng-infotext
AUTOMATIC1111 Aug 28, 2023
c0f9821
always show NV as RNG source in infotext
AUTOMATIC1111 Aug 28, 2023
8a7a427
Merge pull request #12842 from dhwz/dev
AUTOMATIC1111 Aug 29, 2023
6558716
Merge pull request #12837 from bluelovers/pr/file-metadata-break-001
AUTOMATIC1111 Aug 29, 2023
738e133
Merge pull request #12818 from catboxanon/sgm
AUTOMATIC1111 Aug 29, 2023
444f102
Merge pull request #12834 from catboxanon/fix/notification-tab-switch
AUTOMATIC1111 Aug 29, 2023
0c9282b
Merge pull request #12832 from catboxanon/fix/skip-install-extensions
AUTOMATIC1111 Aug 29, 2023
00e393c
Merge pull request #12833 from catboxanon/fix/dont-print-blank-stdout
AUTOMATIC1111 Aug 29, 2023
a0af285
revert SGM noise multiplier change for img2img because it breaks hire…
AUTOMATIC1111 Aug 29, 2023
642faa1
Merge pull request #12856 from catboxanon/extra-noise-noisy-latent
AUTOMATIC1111 Aug 30, 2023
323dcad
Merge pull request #12855 from dhwz/dev
AUTOMATIC1111 Aug 30, 2023
46f3ee9
Merge pull request #12854 from catboxanon/fix/quicksettings-dropdown-…
AUTOMATIC1111 Aug 30, 2023
965c728
Merge pull request #12839 from ibrainventures/patch-1
AUTOMATIC1111 Aug 30, 2023
afea99a
get progressbar to display correctly in extensions tab
AUTOMATIC1111 Aug 30, 2023
3989d7e
Merge pull request #12838 from bluelovers/pr/file-metadata-path-001
AUTOMATIC1111 Aug 30, 2023
338d0b6
go back to single path for filenames in extra networks metadata dialog
AUTOMATIC1111 Aug 30, 2023
06bc1f4
Merge pull request #12851 from bluelovers/pr/extension-time-001
AUTOMATIC1111 Aug 30, 2023
9e7de49
update changelog
AUTOMATIC1111 Aug 30, 2023
503bd3f
keep order in list of checkpoints when loading model that doesn't hav…
AUTOMATIC1111 Aug 30, 2023
87a083d
Merge pull request #12864 from AUTOMATIC1111/extension-time-format-ti…
AUTOMATIC1111 Aug 30, 2023
1ac11b3
Merge pull request #12865 from AUTOMATIC1111/another-convert-to-syste…
AUTOMATIC1111 Aug 30, 2023
87cca02
add an option to choose how to combine hires fix and refiner
AUTOMATIC1111 Aug 30, 2023
135b61b
fix inpainting models in txt2img creating black pictures
AUTOMATIC1111 Aug 30, 2023
8d54739
add information about Restore faces and Tiling into the changelog
AUTOMATIC1111 Aug 30, 2023
d0026da
add --dump-sysinfo, a cmd arg to dump limited sysinfo file at startup
AUTOMATIC1111 Aug 30, 2023
0cdbd90
update bug report template to include sysinfo and not include all oth…
AUTOMATIC1111 Aug 30, 2023
d43333f
fix an issue where VAE would remain in fp16 after an auto-switch to fp32
AUTOMATIC1111 Aug 30, 2023
ae7291f
fix an issue where using hires fix with refiner on first pass with me…
AUTOMATIC1111 Aug 30, 2023
e7965a5
Merge pull request #12876 from ljleb/fix-re
AUTOMATIC1111 Aug 31, 2023
5ef669d
Merge branch 'release_candidate'
AUTOMATIC1111 Aug 31, 2023
37e6cfa
Update README.md
anapnoe Oct 31, 2023
a31e4fb
Update README.md
anapnoe Oct 31, 2023
8cd9f8c
anapnoe webui-ux sdxl
anapnoe Oct 31, 2023
d96f1b6
Merge branch 'dev-1.6' of https://github.com/anapnoe/stable-diffusion…
anapnoe Oct 31, 2023
f3adb62
Fix path
anapnoe Oct 31, 2023
77fa31a
Fix eslint indentation
anapnoe Oct 31, 2023
8bd7b92
Fix newline lint error
anapnoe Oct 31, 2023
2fadc2a
Fix default theme group color
anapnoe Oct 31, 2023
f2844bd
update to sdxl
anapnoe Oct 31, 2023
c76438c
update sdxl
anapnoe Oct 31, 2023
659ce4b
Merge branch 'master-sdxl'
anapnoe Oct 31, 2023
d5ef131
Update README.md
anapnoe Oct 31, 2023
05f2389
Update README.md
anapnoe Nov 1, 2023
622cde9
Update README.md
anapnoe Nov 1, 2023
9d24b2c
Update README.md
anapnoe Nov 1, 2023
4d7373f
Update webui-user.bat
anapnoe Nov 1, 2023
0c7391a
Update CITATION.cff
anapnoe Nov 1, 2023
5b076f5
Update README.md
anapnoe Nov 1, 2023
b1644ff
Update anapnoe_sd_uiux_core.js
anapnoe Nov 1, 2023
3012c9c
Merge branch 'master' of https://github.com/anapnoe/stable-diffusion-…
anapnoe Nov 1, 2023
879f639
Option in settings to disable console.log
anapnoe Nov 1, 2023
854e945
Set enable console log default false, added options max res, ticks, n…
anapnoe Nov 1, 2023
8ee48cf
fix LORA card height when no images in the grid
anapnoe Nov 1, 2023
f1ff070
fix Wrong Images Selected in text2img #191
anapnoe Nov 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,11 @@ module.exports = {
modalNextImage: "readonly",
// token-counters.js
setupTokenCounters: "readonly",
// localStorage.js
localSet: "readonly",
localGet: "readonly",
localRemove: "readonly",
// resizeHandle.js
setupResizeHandle: "writable"
}
};
78 changes: 7 additions & 71 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ body:
id: steps
attributes:
label: Steps to reproduce the problem
description: Please provide us with precise step by step information on how to reproduce the bug
description: Please provide us with precise step by step instructions on how to reproduce the bug
value: |
1. Go to ....
2. Press ....
Expand All @@ -37,64 +37,14 @@ body:
id: what-should
attributes:
label: What should have happened?
description: Tell what you think the normal behavior should be
description: Tell us what you think the normal behavior should be
validations:
required: true
- type: input
id: commit
attributes:
label: Version or Commit where the problem happens
description: "Which webui version or commit are you running ? (Do not write *Latest Version/repo/commit*, as this means nothing and will have changed by the time we read your issue. Rather, copy the **Version: v1.2.3** link at the bottom of the UI, or from the cmd/terminal if you can't launch it.)"
validations:
required: true
- type: dropdown
id: py-version
attributes:
label: What Python version are you running on ?
multiple: false
options:
- Python 3.10.x
- Python 3.11.x (above, no supported yet)
- Python 3.9.x (below, no recommended)
- type: dropdown
id: platforms
attributes:
label: What platforms do you use to access the UI ?
multiple: true
options:
- Windows
- Linux
- MacOS
- iOS
- Android
- Other/Cloud
- type: dropdown
id: device
attributes:
label: What device are you running WebUI on?
multiple: true
options:
- Nvidia GPUs (RTX 20 above)
- Nvidia GPUs (GTX 16 below)
- AMD GPUs (RX 6000 above)
- AMD GPUs (RX 5000 below)
- CPU
- Other GPUs
- type: dropdown
id: cross_attention_opt
- type: textarea
id: sysinfo
attributes:
label: Cross attention optimization
description: What cross attention optimization are you using, Settings -> Optimizations -> Cross attention optimization
multiple: false
options:
- Automatic
- xformers
- sdp-no-mem
- sdp
- Doggettx
- V1
- InvokeAI
- "None "
label: Sysinfo
description: System info file, generated by WebUI. You can generate it in settings, on the Sysinfo page. Drag the file into the field to upload it. If you submit your report without including the sysinfo file, the report will be closed. If needed, review the report to make sure it includes no personal information you don't want to share. If you can't start WebUI, you can use --dump-sysinfo commandline argument to generate the file.
validations:
required: true
- type: dropdown
Expand All @@ -108,21 +58,7 @@ body:
- Brave
- Apple Safari
- Microsoft Edge
- type: textarea
id: cmdargs
attributes:
label: Command Line Arguments
description: Are you using any launching parameters/command line arguments (modified webui-user .bat/.sh) ? If yes, please write them below. Write "No" otherwise.
render: Shell
validations:
required: true
- type: textarea
id: extensions
attributes:
label: List of extensions
description: Are you using any extensions other than built-ins? If yes, provide a list, you can copy it at "Extensions" tab. Write "No" otherwise.
validations:
required: true
- Other
- type: textarea
id: logs
attributes:
Expand Down
180 changes: 180 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- given-names: Anapnoe
title: "Stable Diffusion Web UI-UX"
date-released: 2023-11-01
url: "https://github.com/anapnoe/stable-diffusion-webui-ux"
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* @anapnoe
* @AUTOMATIC1111

# if you were managing a localization and were removed from this file, this is because
# the intended way to do localizations now is via extensions. See:
Expand Down
102 changes: 24 additions & 78 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,68 +1,12 @@
# Stable Diffusion web UI-UX
Not just a browser interface based on Gradio library for Stable Diffusion.
A pixel perfect design, mobile friendly, customizable interface that adds accessibility, ease of use and extended functionallity to the stable diffusion web ui.
Enjoy!
# Stable Diffusion web UI-UX
A bespoke, highly adaptable user interface for the Stable Diffusion, utilizing the powerful Gradio library. This cutting-edge browser interface offer an unparalleled level of customization and optimization for users, setting it apart from other web interfaces.

![](screenshot.png)

Default theme

![anapnoe_uiux](https://user-images.githubusercontent.com/124302297/227973574-6003142d-0c7c-41c6-9966-0792a94549e9.png)

## Features of ui-ux
- resizable viewport
- switchable viewports (DoubleClick on the split handler to swap views) option in settings for default position
- mobile navigation
- top header tabs (option setting)
- hidden tabs (option setting) no need to restart this is a different implementation
- drag and drop reordable quick settings offcanvas aside view
- drag and drop images to txt2img and img2img and import generation info parameters along with a preview image
- ignore - remove overrides when import [multiselect] (option setting)
- resizable cards for extra networks and number of rows (option setting)
- lazy loading alternative offcanvas aside view for extra networks (option setting)
- live preview image fit method (option setting)
- generated image fit method (option setting)
- max resolution output for txt2img and img2img (option setting)
- performant dispatch for gradio's range slider and input number field issue: https://github.com/gradio-app/gradio/issues/3204 (option setting) latest update uses only one instance clone to mediate for the release event
- ticks input range sliders (option setting)
- pacman preloader unified colors on reload ui
- frame border animation when generating images
- progress bar on top of the page always visible (when scroll for mobile)
- remix icons
- style theme configurator extension to customize every aspect of theme in real time with cool global functions to change the hue / saturation / brightness or invert the theme colors
- pan and zoom in out functionality for sketch, inpaint, inpaint sketch
- fullscreen support for sketch, inpaint, inpaint sketch
- better lightbox with zoom in-out mobile gestures support etc..

## TODO
- small arrows next to icons sent to inpaint, extras, img2img etc
- component gallery navigate to previous generations inside the txt2img, img2img interface
- and auto load the current generation settings
- credits/about page display all 300+ contributors so far inside the UI

Quick Settings aside off-canvas view - drag and drop to custom sort your settings

![anapnoe_uiux_quicksettings](https://user-images.githubusercontent.com/124302297/227967695-f8bb01b5-5cc9-4238-80dd-06e261378d6e.png)


Extra Networks aside off-canvas view

![anapnoe_uiux_extra_networks](https://user-images.githubusercontent.com/124302297/227968001-20eab8f5-da91-4a11-9fe0-230fec4ba720.png)


Detail img2img sketch view

![anapnoe_uiux_sketch](https://user-images.githubusercontent.com/124302297/227973727-084da8e0-931a-4c62-ab73-39e988fd4523.png)


Theme Configurator - aside off-canvas view

![anapnoe_uiux_theme_config](https://user-images.githubusercontent.com/124302297/227967844-45063edb-eb40-4224-9666-f506d21d7780.png)


Mobile 395px width

![anapnoe_uiux_mobile](https://user-images.githubusercontent.com/124302297/227987709-36231d30-e6da-424a-8930-cc0c55a0b979.png)

## Todo
- Mobile Support
- Fullscreen Gallery Support
- UI-UX Options in Settings


## Features
Expand Down Expand Up @@ -90,7 +34,7 @@ Mobile 395px width
- CodeFormer, face restoration tool as an alternative to GFPGAN
- RealESRGAN, neural network upscaler
- ESRGAN, neural network upscaler with a lot of third party models
- SwinIR and Swin2SR([see here](https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/2092)), neural network upscalers
- SwinIR and Swin2SR ([see here](https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/2092)), neural network upscalers
- LDSR, Latent diffusion super resolution upscaling
- Resizing aspect ratio options
- Sampling method selection
Expand All @@ -108,7 +52,7 @@ Mobile 395px width
- drag and drop an image/text-parameters to promptbox
- Read Generation Parameters Button, loads parameters in promptbox to UI
- Settings page
- Running arbitrary python code from UI (must run with --allow-code to enable)
- Running arbitrary python code from UI (must run with `--allow-code` to enable)
- Mouseover hints for most UI elements
- Possible to change defaults/mix/max/step values for UI elements via text config
- Tiling support, a checkbox to create images that can be tiled like textures
Expand All @@ -131,7 +75,7 @@ Mobile 395px width
- also supports weights for prompts: `a cat :1.2 AND a dog AND a penguin :2.2`
- No token limit for prompts (original stable diffusion lets you use up to 75 tokens)
- DeepDanbooru integration, creates danbooru style tags for anime prompts
- [xformers](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Xformers), major speed increase for select cards: (add --xformers to commandline args)
- [xformers](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Xformers), major speed increase for select cards: (add `--xformers` to commandline args)
- via extension: [History tab](https://github.com/yfszzx/stable-diffusion-webui-images-browser): view, direct and delete images conveniently within the UI
- Generate forever option
- Training tab
Expand All @@ -140,57 +84,58 @@ Mobile 395px width
- Clip skip
- Hypernetworks
- Loras (same as Hypernetworks but more pretty)
- A sparate UI where you can choose, with preview, which embeddings, hypernetworks or Loras to add to your prompt.
- A separate UI where you can choose, with preview, which embeddings, hypernetworks or Loras to add to your prompt
- Can select to load a different VAE from settings screen
- Estimated completion time in progress bar
- API
- Support for dedicated [inpainting model](https://github.com/runwayml/stable-diffusion#inpainting-with-stable-diffusion) by RunwayML.
- Support for dedicated [inpainting model](https://github.com/runwayml/stable-diffusion#inpainting-with-stable-diffusion) by RunwayML
- via extension: [Aesthetic Gradients](https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients), a way to generate images with a specific aesthetic by using clip images embeds (implementation of [https://github.com/vicgalle/stable-diffusion-aesthetic-gradients](https://github.com/vicgalle/stable-diffusion-aesthetic-gradients))
- [Stable Diffusion 2.0](https://github.com/Stability-AI/stablediffusion) support - see [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#stable-diffusion-20) for instructions
- [Alt-Diffusion](https://arxiv.org/abs/2211.06679) support - see [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#alt-diffusion) for instructions
- Now without any bad letters!
- Load checkpoints in safetensors format
- Eased resolution restriction: generated image's domension must be a multiple of 8 rather than 64
- Eased resolution restriction: generated image's dimension must be a multiple of 8 rather than 64
- Now with a license!
- Reorder elements in the UI from settings screen
-

## Installation and Running
Make sure the required [dependencies](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies) are met and follow the instructions available for both [NVidia](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs) (recommended) and [AMD](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs) GPUs.
Make sure the required [dependencies](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies) are met and follow the instructions available for:
- [NVidia](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs) (recommended)
- [AMD](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs) GPUs.
- [Intel CPUs, Intel GPUs (both integrated and discrete)](https://github.com/openvinotoolkit/stable-diffusion-webui/wiki/Installation-on-Intel-Silicon) (external wiki page)

Alternatively, use online services (like Google Colab):

- [List of Online Services](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Online-Services)

### Installation on Windows
### Automatic Installation on Windows
1. Install [Python 3.10.6](https://www.python.org/downloads/release/python-3106/) (Newer version of Python does not support torch), checking "Add Python to PATH".
2. Install [git](https://git-scm.com/download/win).
3. Download the stable-diffusion-webui-ux repository, for example by running `git clone https://github.com/anapnoe/stable-diffusion-webui-ux.git`.
3. Download the stable-diffusion-webui repository, for example by running `git clone https://github.com/anapnoe/stable-diffusion-webui-ux.git`.
4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.

### Installation on Linux
### Automatic Installation on Linux
1. Install the dependencies:
```bash
# Debian-based:
sudo apt install wget git python3 python3-venv
sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0
# Red Hat-based:
sudo dnf install wget git python3
# Arch-based:
sudo pacman -S wget git python3
```
2. Navigate to the directory you would like the webui to be installed and execute the following command:
```bash
bash <(wget -qO- https://raw.githubusercontent.com/anapnoe/stable-diffusion-webui-ux/master/webui.sh)
wget -q https://raw.githubusercontent.com/anapnoe/stable-diffusion-webui-ux/master/webui.sh
```
3. Run `webui.sh`.
4. Check `webui-user.sh` for options.
### Installation on Apple Silicon

Find the instructions [here](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon).
and replace the path in step 3 with `git clone https://github.com/anapnoe/stable-diffusion-webui-ux`

## Contributing
Here's how to add code to the original repo: [Contributing](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing)
Here's how to add code to this repo: [Contributing](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing)

## Documentation

Expand Down Expand Up @@ -227,5 +172,6 @@ Licenses for borrowed code can be found in `Settings -> Licenses` screen, and al
- UniPC sampler - Wenliang Zhao - https://github.com/wl-zhao/UniPC
- TAESD - Ollin Boer Bohan - https://github.com/madebyollin/taesd
- LyCORIS - KohakuBlueleaf
- Restart sampling - lambertae - https://github.com/Newbeeer/diffusion_restart_sampling
- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user.
- (You)
10 changes: 9 additions & 1 deletion extensions-builtin/Lora/extra_networks_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ class ExtraNetworkLora(extra_networks.ExtraNetwork):
def __init__(self):
super().__init__('lora')

self.errors = {}
"""mapping of network names to the number of errors the network had during operation"""

def activate(self, p, params_list):
additional = shared.opts.sd_lora

self.errors.clear()

if additional != "None" and additional in networks.available_networks and not any(x for x in params_list if x.items[0] == additional):
p.all_prompts = [x + f"<lora:{additional}:{shared.opts.extra_networks_default_multiplier}>" for x in p.all_prompts]
params_list.append(extra_networks.ExtraNetworkParams(items=[additional, shared.opts.extra_networks_default_multiplier]))
Expand Down Expand Up @@ -56,4 +61,7 @@ def activate(self, p, params_list):
p.extra_generation_params["Lora hashes"] = ", ".join(network_hashes)

def deactivate(self, p):
pass
if self.errors:
p.comment("Networks with errors: " + ", ".join(f"{k} ({v})" for k, v in self.errors.items()))

self.errors.clear()
31 changes: 31 additions & 0 deletions extensions-builtin/Lora/lora_patches.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import torch

import networks
from modules import patches


class LoraPatches:
def __init__(self):
self.Linear_forward = patches.patch(__name__, torch.nn.Linear, 'forward', networks.network_Linear_forward)
self.Linear_load_state_dict = patches.patch(__name__, torch.nn.Linear, '_load_from_state_dict', networks.network_Linear_load_state_dict)
self.Conv2d_forward = patches.patch(__name__, torch.nn.Conv2d, 'forward', networks.network_Conv2d_forward)
self.Conv2d_load_state_dict = patches.patch(__name__, torch.nn.Conv2d, '_load_from_state_dict', networks.network_Conv2d_load_state_dict)
self.GroupNorm_forward = patches.patch(__name__, torch.nn.GroupNorm, 'forward', networks.network_GroupNorm_forward)
self.GroupNorm_load_state_dict = patches.patch(__name__, torch.nn.GroupNorm, '_load_from_state_dict', networks.network_GroupNorm_load_state_dict)
self.LayerNorm_forward = patches.patch(__name__, torch.nn.LayerNorm, 'forward', networks.network_LayerNorm_forward)
self.LayerNorm_load_state_dict = patches.patch(__name__, torch.nn.LayerNorm, '_load_from_state_dict', networks.network_LayerNorm_load_state_dict)
self.MultiheadAttention_forward = patches.patch(__name__, torch.nn.MultiheadAttention, 'forward', networks.network_MultiheadAttention_forward)
self.MultiheadAttention_load_state_dict = patches.patch(__name__, torch.nn.MultiheadAttention, '_load_from_state_dict', networks.network_MultiheadAttention_load_state_dict)

def undo(self):
self.Linear_forward = patches.undo(__name__, torch.nn.Linear, 'forward')
self.Linear_load_state_dict = patches.undo(__name__, torch.nn.Linear, '_load_from_state_dict')
self.Conv2d_forward = patches.undo(__name__, torch.nn.Conv2d, 'forward')
self.Conv2d_load_state_dict = patches.undo(__name__, torch.nn.Conv2d, '_load_from_state_dict')
self.GroupNorm_forward = patches.undo(__name__, torch.nn.GroupNorm, 'forward')
self.GroupNorm_load_state_dict = patches.undo(__name__, torch.nn.GroupNorm, '_load_from_state_dict')
self.LayerNorm_forward = patches.undo(__name__, torch.nn.LayerNorm, 'forward')
self.LayerNorm_load_state_dict = patches.undo(__name__, torch.nn.LayerNorm, '_load_from_state_dict')
self.MultiheadAttention_forward = patches.undo(__name__, torch.nn.MultiheadAttention, 'forward')
self.MultiheadAttention_load_state_dict = patches.undo(__name__, torch.nn.MultiheadAttention, '_load_from_state_dict')

Loading