Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
7001e1ed
Commit
7001e1ed
authored
May 14, 2023
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into dev
parents
1a435240
89f9faa6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
CHANGELOG.md
CHANGELOG.md
+3
-1
extensions-builtin/Lora/lora.py
extensions-builtin/Lora/lora.py
+4
-0
No files found.
CHANGELOG.md
View file @
7001e1ed
##
Upcoming
1.2.1
## 1.2.1
### Features:
### Features:
*
add an option to always refer to lora by filenames
*
add an option to always refer to lora by filenames
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
*
fix upscalers disappearing after the user reloads UI
*
fix upscalers disappearing after the user reloads UI
*
allow bf16 in safe unpickler (resolves problems with loading some loras)
*
allow bf16 in safe unpickler (resolves problems with loading some loras)
*
allow web UI to be ran fully offline
*
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
## 1.2.0
...
...
extensions-builtin/Lora/lora.py
View file @
7001e1ed
...
@@ -132,6 +132,10 @@ def load_lora(name, filename):
...
@@ -132,6 +132,10 @@ def load_lora(name, filename):
sd
=
sd_models
.
read_state_dict
(
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
=
{}
keys_failed_to_match
=
{}
is_sd2
=
'model_transformer_resblocks'
in
shared
.
sd_model
.
lora_layer_mapping
is_sd2
=
'model_transformer_resblocks'
in
shared
.
sd_model
.
lora_layer_mapping
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment