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

merge master #8

Merged
merged 733 commits into from
Jun 5, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
733 commits
Select commit Hold shift + click to select a range
55d222a
launch.py: make git_tag() and commit_hash() work even when WEBUI_LAUN…
akx May 11, 2023
451d255
Get rid of check_run + run_python
akx May 11, 2023
b4ad31d
Merge pull request #10318 from brkirch/set-pytorch-201-mac
AUTOMATIC1111 May 12, 2023
9080af5
Merge pull request #10321 from akx/fix-launch-git-get
AUTOMATIC1111 May 12, 2023
b14e235
Redirect Gradio phone home request
catboxanon May 12, 2023
867be74
Define default fonts for Gradio theme
catboxanon May 12, 2023
231562e
update changelog for release
AUTOMATIC1111 May 13, 2023
b08500c
Merge branch 'release_candidate'
AUTOMATIC1111 May 13, 2023
d274b82
fix broken prompts from file
AUTOMATIC1111 May 11, 2023
4135937
update changelog for release
AUTOMATIC1111 May 13, 2023
2b3fc24
Merge branch 'master' into dev
AUTOMATIC1111 May 13, 2023
999a03e
Wait for DOMContentLoaded until checking whether localization should …
akx May 13, 2023
5afc44a
Requested changes
catboxanon May 13, 2023
867c8a1
minor fix
catboxanon May 13, 2023
55e52c8
remove command line option
papuSpartan May 13, 2023
cb5f612
Allow bf16 in safe unpickler
catboxanon May 13, 2023
ac83627
heavily simplify
papuSpartan May 13, 2023
917faa5
move to stable-diffusion tab
papuSpartan May 13, 2023
c2fdb44
fix for img2img
papuSpartan May 13, 2023
1f57b94
Move localization to its own script block and load it first
akx May 13, 2023
cd6990c
Make dump translations work again
akx May 13, 2023
23b62af
Merge pull request #10324 from catboxanon/offline
AUTOMATIC1111 May 13, 2023
cdb1ffb
Merge pull request #10335 from akx/l10n-dis-take-2
AUTOMATIC1111 May 13, 2023
d70c3a8
Merge pull request #10339 from catboxanon/bf16
AUTOMATIC1111 May 13, 2023
4771993
add an option to always refer to lora by filenames
AUTOMATIC1111 May 13, 2023
7e3539d
fix upscalers disappearing after the user reloads UI
AUTOMATIC1111 May 13, 2023
0638487
Merge pull request #10339 from catboxanon/bf16
AUTOMATIC1111 May 13, 2023
12c7813
Merge pull request #10324 from catboxanon/offline
AUTOMATIC1111 May 13, 2023
27f7fbf
update readme
AUTOMATIC1111 May 13, 2023
2053745
Merge branch 'v1.2.0-hotfix' into release_candidate
AUTOMATIC1111 May 13, 2023
e8eea1b
Merge branch 'release_candidate' into dev
AUTOMATIC1111 May 13, 2023
86ff43b
Merge pull request #10335 from akx/l10n-dis-take-2
AUTOMATIC1111 May 13, 2023
d7e9ac2
update readme
AUTOMATIC1111 May 13, 2023
3078001
Add/modify CFG callbacks
catboxanon May 14, 2023
8abfc95
Update script_callbacks.py
Sakura-Luna May 14, 2023
4051d51
Merge pull request #10292 from akx/smol-bump
AUTOMATIC1111 May 14, 2023
cb9a3a7
Merge pull request #10357 from catboxanon/sag
AUTOMATIC1111 May 14, 2023
0058493
remove output_altered flag from AfterCFGCallbackParams
AUTOMATIC1111 May 14, 2023
7f6ef76
Merge pull request #9256 from papuSpartan/tomesd
AUTOMATIC1111 May 14, 2023
2cfaffb
updates for #9256
AUTOMATIC1111 May 14, 2023
e14b586
Add Tiny AE live preview
Sakura-Luna May 14, 2023
bd9b9d4
Add live preview mode check
Sakura-Luna May 14, 2023
ce515b8
set up a system to provide extra info for settings elements in python…
AUTOMATIC1111 May 14, 2023
a423f23
allow jpeg for extra network preview
w-e-w May 14, 2023
a00e425
add a bunch of descriptions and reword a lot of settings (sorry, loca…
AUTOMATIC1111 May 14, 2023
a58ae0b
remove auto live previews format option, fix slow PNG generation
AUTOMATIC1111 May 14, 2023
3ddc763
Merge pull request #10367 from AUTOMATIC1111/jpeg-extra-network-preview
AUTOMATIC1111 May 14, 2023
80adb69
Merge branch 'dev' into find_vae
AUTOMATIC1111 May 14, 2023
5f5435e
Merge pull request #10218 from micky2be/find_vae
AUTOMATIC1111 May 14, 2023
1a43524
fix model loading twice in some situations
AUTOMATIC1111 May 14, 2023
b9abdb5
add a possible fix for 'LatentDiffusion' object has no attribute 'lor…
AUTOMATIC1111 May 14, 2023
dbd13de
update readme for release
AUTOMATIC1111 May 14, 2023
89f9faa
Merge branch 'release_candidate'
AUTOMATIC1111 May 14, 2023
7001e1e
Merge branch 'master' into dev
AUTOMATIC1111 May 14, 2023
efe8162
Add GPU device
Sakura-Luna May 14, 2023
ef046fa
Downgrade Gradio
Sakura-Luna May 14, 2023
f29c41b
Modify pytorch command
Sakura-Luna May 14, 2023
b023940
Update bug_report.yml
Sakura-Luna May 14, 2023
a98ae89
fix xyz checkpoint
w-e-w May 14, 2023
1b7e787
Merge pull request #10382 from AUTOMATIC1111/fix_xyz_checkpoint
AUTOMATIC1111 May 14, 2023
d9968e6
launch.py: Don't involve shell for running Python or Git for output
akx May 14, 2023
d7d378e
Merge pull request #10384 from akx/no-shell
AUTOMATIC1111 May 14, 2023
f6a2a98
Merge pull request #10379 from AUTOMATIC1111/Sakura-Luna-patch-1
AUTOMATIC1111 May 14, 2023
38583be
Revert Gradio version
Sakura-Luna May 14, 2023
9a9557e
Change to extra-index-url
Sakura-Luna May 14, 2023
742da31
Minor changes
Sakura-Luna May 14, 2023
f517838
Fix extra networks save preview image geninfo
u7ko4 May 15, 2023
32af211
Add Python version
Sakura-Luna May 15, 2023
9e90907
xyz token merging
w-e-w May 15, 2023
0d3a80e
Show "Loading..." for extra networks when displaying for the first time
AUTOMATIC1111 May 15, 2023
0d2a4b6
load extensions' git metadata in parallel to loading the main program…
AUTOMATIC1111 May 15, 2023
a47abe1
update extensions table: show branch, show date in separate column, a…
AUTOMATIC1111 May 15, 2023
3d76eab
add visual progress for extension installation from URL
AUTOMATIC1111 May 16, 2023
cdac5ac
suppress ENSD infotext for samplers that don't use it
AUTOMATIC1111 May 16, 2023
a61cbef
add second_order field to sampler config
AUTOMATIC1111 May 16, 2023
6302978
restore nqsp in footer that was lost during linting
AUTOMATIC1111 May 16, 2023
ce38ee8
add info link for Negative Guidance minimum sigma
AUTOMATIC1111 May 16, 2023
4fb2cc0
Minor change
Sakura-Luna May 16, 2023
0d31f20
Use ngrok-py library
bobzilladev May 16, 2023
a4d5fdd
Remove max width for model dropdown
grimatoma May 16, 2023
e378590
Fix remove `textual inversion` prompt
dongweiming May 17, 2023
54f657f
not clear checkpoints cache when config changes
dennissheng May 17, 2023
0003b29
Merge pull request #10452 from dongweiming/fix-neg
AUTOMATIC1111 May 17, 2023
4071fa4
Merge pull request #10451 from dennissheng/master
AUTOMATIC1111 May 17, 2023
4b07f2f
Merge pull request #10440 from grimatoma/increaseModelPickerWidth
AUTOMATIC1111 May 17, 2023
b217ebc
add credits
AUTOMATIC1111 May 17, 2023
56a2672
return live preview defaults to how they were
AUTOMATIC1111 May 17, 2023
85232a5
Merge branch 'dev' into taesd-a
AUTOMATIC1111 May 17, 2023
9ac85b8
Merge pull request #10365 from Sakura-Luna/taesd-a
AUTOMATIC1111 May 17, 2023
85b4f89
Replace state.need_restart with state.server_command + replace poll l…
akx May 11, 2023
875990a
Add option for /_stop route (for graceful shutdown)
akx May 16, 2023
315f109
Copy s_min_uncond to Processed
akx May 17, 2023
b3397c2
Bump pytorch for AMD Users
baptisterajaut May 17, 2023
484948f
Fixing webui.sh
baptisterajaut May 17, 2023
7a13a3f
TAESD fix
Sakura-Luna May 17, 2023
875ccc2
Merge pull request #10467 from Sakura-Luna/taesd-a
AUTOMATIC1111 May 17, 2023
1210548
simplify single_sample_to_image
AUTOMATIC1111 May 17, 2023
b4703b7
Merge pull request #10461 from akx/processed-s-min-uncond
AUTOMATIC1111 May 17, 2023
13f4c62
Add basic ESLint configuration for formatting
akx May 17, 2023
4f11f28
Add ESLint to CI
akx May 17, 2023
9c54b78
Run `eslint --fix` (and normalize tabs to spaces)
akx May 17, 2023
f8ca37b
fix inability to run with --freeze-settings
AUTOMATIC1111 May 17, 2023
95cb492
Fixed: #10460
dongweiming May 17, 2023
36c1483
Merge pull request #10473 from dongweiming/fix-10460
AUTOMATIC1111 May 17, 2023
76ebf75
use a local variable instead of dictionary entry for sd_merge_models …
AUTOMATIC1111 May 17, 2023
3c81d18
Merge pull request #10414 from AUTOMATIC1111/xyz-token-merging
AUTOMATIC1111 May 17, 2023
216b0fa
when adding tooltips, do not scan whole document and instead only sca…
AUTOMATIC1111 May 17, 2023
f6c06e3
Merge pull request #10458 from akx/graceful-stop
AUTOMATIC1111 May 17, 2023
f509216
Fix typo in syntax
Iheuzio May 17, 2023
9fd6c1e
move some settings to the new Optimization page
AUTOMATIC1111 May 17, 2023
987c1f7
Merge pull request #10483 from Iheuzio/syntax-search
AUTOMATIC1111 May 17, 2023
f6a622b
isn't there something you forgot, #10483?
AUTOMATIC1111 May 17, 2023
6b51cc7
Merge pull request #10400 from AUTOMATIC1111/Sakura-Luna-patch-1
AUTOMATIC1111 May 17, 2023
9c91a86
Merge pull request #10395 from wk5ovc/patch-4
AUTOMATIC1111 May 17, 2023
a6b618d
use a single function for saving images with metadata both in extra n…
AUTOMATIC1111 May 17, 2023
8fe9ea7
add options to show/hide hidden files and dirs, and to not list model…
AUTOMATIC1111 May 17, 2023
f6fc791
add /sdapi/v1/script-info api
AUTOMATIC1111 May 17, 2023
ad3a7f2
alternative solution to fix styles load when edited by human #9765 as…
AUTOMATIC1111 May 17, 2023
6a13c41
Merge pull request #10222 from AUTOMATIC1111/readme-simple-installati…
AUTOMATIC1111 May 17, 2023
30410fd
simplify name pattern setting tooltips
AUTOMATIC1111 May 17, 2023
b397f63
add option to reorder tabs
AUTOMATIC1111 May 17, 2023
04b4508
Merge branch 'dev' into improve-frontend-responsiveness
AUTOMATIC1111 May 17, 2023
1d1b5da
Merge pull request #9348 from space-nuko/improve-frontend-responsiveness
AUTOMATIC1111 May 17, 2023
e5dd4b4
remove some code duplication from #9348
AUTOMATIC1111 May 17, 2023
61ee563
option to specify editor height for img2img
AUTOMATIC1111 May 17, 2023
973ae87
Merge remote-tracking branch 'pieresimakp/img2img-detect-image-size' …
AUTOMATIC1111 May 17, 2023
3694379
rework #8863 to work with all img2img tabs
AUTOMATIC1111 May 17, 2023
1ceb82b
Merge pull request #8665 from Vespinian/fix_img2img_scriptrunner_for_gui
AUTOMATIC1111 May 17, 2023
aa6e98e
Error Improvement for install torch
dongweiming May 18, 2023
f88169a
extend eslint config
AUTOMATIC1111 May 18, 2023
57b75f4
eslint related file edits
AUTOMATIC1111 May 18, 2023
c08f229
Merge branch 'eslint' into dev
AUTOMATIC1111 May 18, 2023
bb80eea
eslint the merged code
AUTOMATIC1111 May 18, 2023
983f2c4
Merge pull request #10499 from dongweiming/error-improvement
AUTOMATIC1111 May 18, 2023
182330a
Merge branch 'dev' into ngrok-py
AUTOMATIC1111 May 18, 2023
b4b42de
Merge pull request #10438 from bobzilladev/ngrok-py
AUTOMATIC1111 May 18, 2023
f9be4dc
keep old option for ngrok
AUTOMATIC1111 May 18, 2023
bb431df
python linter fixes
AUTOMATIC1111 May 18, 2023
97e1cf6
Merge branch 'dev' into master
AUTOMATIC1111 May 18, 2023
7fd8095
Merge pull request #10465 from baptisterajaut/master
AUTOMATIC1111 May 18, 2023
ae252cd
add --gradio-allowed-path commandline option
AUTOMATIC1111 May 18, 2023
96cba45
Modify xformers instead of pytorch
Sakura-Luna May 18, 2023
cd8a510
if sd_model is None, do not always try to load it
AUTOMATIC1111 May 18, 2023
44c37f9
add messages about Loras that failed to load to UI
AUTOMATIC1111 May 18, 2023
3885f8a
Merge pull request #10381 from AUTOMATIC1111/minor-fix
AUTOMATIC1111 May 18, 2023
5ec2c29
Merge remote-tracking branch 'InvincibleDude/improved-hr-conflict-tes…
AUTOMATIC1111 May 18, 2023
63c0231
.change -> .release for hires input
catboxanon May 18, 2023
ff0e171
rework hires prompts/sampler code to among other things support diffe…
AUTOMATIC1111 May 18, 2023
92902e1
bump gradio
AUTOMATIC1111 May 18, 2023
57275da
Reorder variable assignment
catboxanon May 18, 2023
b5a0c6d
Revert "Merge pull request #10440 from grimatoma/increaseModelPickerW…
AUTOMATIC1111 May 18, 2023
2e006fa
Merge pull request #10519 from catboxanon/patch/hires-input-release-e…
AUTOMATIC1111 May 18, 2023
36791cb
Fix blinking text of hr and scale res
catboxanon May 18, 2023
2582a0f
make it possible for scripts to add cross attention optimizations
AUTOMATIC1111 May 18, 2023
bd877d7
rework #10519
AUTOMATIC1111 May 18, 2023
6837cf6
Merge pull request #10520 from catboxanon/dev
AUTOMATIC1111 May 18, 2023
3d959f5
Merge remote-tracking branch 'missionfloyd/extra-network-preview-lazy…
AUTOMATIC1111 May 18, 2023
161b294
Use name instead of hash in xyz_grid
kamnxt May 18, 2023
4f42acd
Merge pull request #10524 from kamnxt/fix-xyz-hashes
AUTOMATIC1111 May 18, 2023
a6bbc6a
set Navigate image viewer with gamepad option to false by default, by…
AUTOMATIC1111 May 18, 2023
a375acd
update CHANGELOG
AUTOMATIC1111 May 18, 2023
8a3d232
fix linter issues
AUTOMATIC1111 May 18, 2023
4dd5559
Added the refresh-loras post request
ryankashi May 18, 2023
e373fd0
rewrite uiElementIsVisible
thot-experiment May 18, 2023
e38e7db
Merge pull request #10529 from ryankashi/master
AUTOMATIC1111 May 19, 2023
7569677
Spel chek changelog some
akx May 19, 2023
379fd62
make links to http://<...>.git git extensions work in the extension tab
AUTOMATIC1111 May 19, 2023
df6fffb
change upscalers to download models into user-specified directory (fr…
AUTOMATIC1111 May 19, 2023
8c1148b
Merge pull request #10548 from akx/spel-chek-changelog
AUTOMATIC1111 May 19, 2023
1e5afd4
Apply suggestions from code review
AUTOMATIC1111 May 19, 2023
7b61acb
split visibility method and sort instead
thot-experiment May 19, 2023
fe7bcbe
Merge pull request #10534 from thot-experiment/dev
AUTOMATIC1111 May 19, 2023
994f56c
linter fixes
AUTOMATIC1111 May 19, 2023
2140bd1
make it actually work after suggestions
AUTOMATIC1111 May 19, 2023
330f14d
Add .git-blame-ignore-revs
akx May 19, 2023
2725dfd
Fix ruff lint
akx May 19, 2023
208f066
eslintrc: Sort eslint rules
akx May 19, 2023
958d68f
eslintrc: Use a file-local `global` comment for module
akx May 19, 2023
247f371
eslintrc: mark most globals read-only
akx May 19, 2023
3909c2b
eslintrc: enable no-redeclare but with builtinGlobals: false
akx May 19, 2023
563e88d
Replace args_to_array (and facsimiles) with Array.from
akx May 19, 2023
67d4360
get_tab_index(): use a for loop with early-exit for performance
akx May 19, 2023
de3abc2
Fix typo "intialize"
akx May 19, 2023
21ee46e
Deduplicate default extra network registration
akx May 19, 2023
a000512
Simplify CORS middleware configuration
akx May 19, 2023
4897e52
Make load_scripts create new runners (removes reload_scripts)
akx May 19, 2023
a6bf4aa
Merge pull request #10550 from akx/git-blame-ignore-revs
AUTOMATIC1111 May 19, 2023
d41a31a
Merge pull request #10552 from akx/eslint-moar
AUTOMATIC1111 May 19, 2023
1482c89
Refactor validate_tls_options out, fix typo (keyfile was there twice)
akx May 19, 2023
8200e0c
Refactor configure_sigint_handler out
akx May 19, 2023
8a178e6
Refactor configure opts_onchange out
akx May 19, 2023
674e80c
Note pending PR for app_kwargs
akx May 19, 2023
0f28aee
Refactor gradio auth
akx May 19, 2023
71f4a4a
Deduplicate webui.py initial-load/reload code
akx May 19, 2023
793a491
Overhaul tests to use py.test
akx May 11, 2023
78dd988
simplify PR page
AUTOMATIC1111 May 19, 2023
9a86932
change width/heights slider steps to 64 from 8
AUTOMATIC1111 May 19, 2023
0d84055
Merge pull request #10291 from akx/test-overhaul
AUTOMATIC1111 May 19, 2023
87702fe
allow hiding buttons in ui-config.json
AUTOMATIC1111 May 19, 2023
39ec4f0
calculate hashes for Lora
AUTOMATIC1111 May 19, 2023
3758744
Use Optional[] to preserve Python 3.9 compatability
anonCantCode May 20, 2023
0b6ca8e
preserve declarations
anonCantCode May 20, 2023
bf5e5f4
extensions clone depth 1
w-e-w May 20, 2023
6a676cc
Update keyboard shortcut instructions for MacOS users in text selecti…
shinshin86 May 20, 2023
b2b06ee
Support edit attn shortcut in hires fix prompts
catboxanon May 20, 2023
db1ce5a
Merge pull request #10578 from anonCantCode/dev
AUTOMATIC1111 May 20, 2023
cc6c0fc
Merge pull request #10557 from akx/dedupe-webui-boot
AUTOMATIC1111 May 20, 2023
05e6fc9
Merge branch 'ui-selection-for-cross-attention-optimization' into dev
AUTOMATIC1111 May 20, 2023
373903d
hiresfix prompt: add classes, update css sel
catboxanon May 20, 2023
3605407
Merge pull request #10576 from catboxanon/patch/hires-prompt-edit-attn
AUTOMATIC1111 May 20, 2023
df004be
Add a couple `from __future__ import annotations`es for Py3.9 compat
akx May 20, 2023
31545ab
add DPM-Solver++(2M) SDE from new k-diffusion
AUTOMATIC1111 May 21, 2023
9a44270
Discard penultimate sigma for dpmpp_2m_sde
catboxanon May 21, 2023
40a61f5
Merge pull request #10586 from catboxanon/patch/fix-dpmpp_2m_sde
AUTOMATIC1111 May 21, 2023
cd03317
--filter=blob:none
w-e-w May 21, 2023
8e9188a
Merge pull request #10564 from AUTOMATIC1111/extensions-clone-depth-1
AUTOMATIC1111 May 21, 2023
696f16e
revert git describe --always --tags for extensions because it seems t…
AUTOMATIC1111 May 21, 2023
6fe85e8
Merge pull request #10581 from shinshin86/readme-mac-shortcut
AUTOMATIC1111 May 21, 2023
38a2324
Merge pull request #10580 from akx/add-some-future-annotations
AUTOMATIC1111 May 21, 2023
4b07984
reworking launch.py: rename
AUTOMATIC1111 May 21, 2023
f9fe5e5
reworking launch.py: add references to renamed file
AUTOMATIC1111 May 21, 2023
fe73d64
Revert "change width/heights slider steps to 64 from 8"
AUTOMATIC1111 May 21, 2023
fdaf014
update readme
AUTOMATIC1111 May 21, 2023
1f31829
Merge branch 'dev' into release_candidate
AUTOMATIC1111 May 21, 2023
3f50b7d
fix bad styling for thumbs view in extra networks #10639
AUTOMATIC1111 May 23, 2023
b186045
possible fix for empty list of optimizations #10605
AUTOMATIC1111 May 23, 2023
50906bf
Merge branch 'release_candidate'
AUTOMATIC1111 May 27, 2023
dd37763
update the changelog to mention 1.3.0 version
AUTOMATIC1111 May 27, 2023
6095ade
fix serving images that have already been saved without temp files fu…
AUTOMATIC1111 May 27, 2023
20ae71f
fix linter issue for 1.3.0
AUTOMATIC1111 May 27, 2023
10dbee0
add quoting for infotext values that have a colon in them
AUTOMATIC1111 May 28, 2023
fae8bdf
Merge pull request #10785 from nyqui/fix-hires.fix
AUTOMATIC1111 May 31, 2023
c63d46c
Merge pull request #10804 from AUTOMATIC1111/fix-xyz-clip
AUTOMATIC1111 May 31, 2023
6427ffd
Merge pull request #10808 from AUTOMATIC1111/fix-disable-png-info
AUTOMATIC1111 May 31, 2023
3690e4e
fix [Bug]: LoRA don't apply on dropdown list sd_lora #10880
AUTOMATIC1111 May 31, 2023
8844357
add changelog
AUTOMATIC1111 May 31, 2023
915d1da
assign devices.dtype early because it's needed before the model is lo…
AUTOMATIC1111 Jun 1, 2023
17a6693
update readme
AUTOMATIC1111 Jun 1, 2023
3ee1238
revert default cross attention optimization to Doggettx
AUTOMATIC1111 Jun 1, 2023
8c3e64f
update readme
AUTOMATIC1111 Jun 1, 2023
b6af0a3
Merge branch 'release_candidate'
AUTOMATIC1111 Jun 1, 2023
cbe1799
Merge branch 'master' into release_candidate
AUTOMATIC1111 Jun 1, 2023
eeb685b
bump gradio version to fix tmp filenames for images
AUTOMATIC1111 Jun 2, 2023
cbc38a9
Merge pull request #10905 from AUTOMATIC1111/fix-10896-pnginfo-parame…
AUTOMATIC1111 Jun 1, 2023
eed7b27
add changelog
AUTOMATIC1111 Jun 2, 2023
6f754ab
Merge pull request #10780 from akx/image-emb-fonts
AUTOMATIC1111 May 31, 2023
baf6946
Merge branch 'release_candidate'
AUTOMATIC1111 Jun 5, 2023
a9f774d
merge conflicts
Jun 5, 2023
8688aca
fix
Jun 5, 2023
1da3399
fix
Jun 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add a possible fix for 'LatentDiffusion' object has no attribute 'lor…
…a_layer_mapping'
  • Loading branch information
AUTOMATIC1111 committed May 14, 2023
commit b9abdb50a3684e2f7392bf68736ad1ec025045af
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* allow bf16 in safe unpickler (resolves problems with loading some loras)
* allow web UI to be ran fully offline
* fix localizations not working
* fix error for loras: 'LatentDiffusion' object has no attribute 'lora_layer_mapping'

## 1.2.0

Expand Down
4 changes: 4 additions & 0 deletions extensions-builtin/Lora/lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ def load_lora(name, filename):

sd = sd_models.read_state_dict(filename)

# this should not be needed but is here as an emergency fix for an unknown error people are experiencing in 1.2.0
if not hasattr(shared.sd_model, 'lora_layer_mapping'):
assign_lora_names_to_compvis_modules(shared.sd_model)

keys_failed_to_match = {}
is_sd2 = 'model_transformer_resblocks' in shared.sd_model.lora_layer_mapping

Expand Down