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
15245d9d
Commit
15245d9d
authored
Jun 08, 2024
by
AUTOMATIC1111
Committed by
GitHub
Jun 08, 2024
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15600 from AUTOMATIC1111/fix-corrupt-model-loop
Fix corrupt model initial load loop
parents
5429e4cf
4bc39d23
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
extensions-builtin/Lora/ui_extra_networks_lora.py
extensions-builtin/Lora/ui_extra_networks_lora.py
+12
-11
modules/sd_models.py
modules/sd_models.py
+5
-4
No files found.
extensions-builtin/Lora/ui_extra_networks_lora.py
View file @
15245d9d
...
...
@@ -60,6 +60,7 @@ class ExtraNetworksPageLora(ui_extra_networks.ExtraNetworksPage):
else
:
sd_version
=
lora_on_disk
.
sd_version
if
shared
.
sd_model
is
not
None
:
# still show LoRA in case an error occurs during initial model loading
if
shared
.
opts
.
lora_show_all
or
not
enable_filter
:
pass
elif
sd_version
==
network
.
SdVersion
.
Unknown
:
...
...
modules/sd_models.py
View file @
15245d9d
...
...
@@ -659,6 +659,7 @@ def get_empty_cond(sd_model):
def
send_model_to_cpu
(
m
):
if
m
is
not
None
:
if
m
.
lowvram
:
lowvram
.
send_everything_to_cpu
()
else
:
...
...
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