Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
fb4bf7f5
Commit
fb4bf7f5
authored
Jun 18, 2023
by
comfyanonymous
Browse files
This is not needed anymore and causes issues with alphas_cumprod.
parent
45be2e92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
comfy/sd.py
comfy/sd.py
+0
-3
No files found.
comfy/sd.py
View file @
fb4bf7f5
...
@@ -1159,9 +1159,6 @@ def load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, o
...
@@ -1159,9 +1159,6 @@ def load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, o
else
:
else
:
model
=
model_base
.
BaseModel
(
unet_config
,
v_prediction
=
v_prediction
)
model
=
model_base
.
BaseModel
(
unet_config
,
v_prediction
=
v_prediction
)
if
fp16
:
model
=
model
.
half
()
model
=
load_model_weights
(
model
,
sd
,
verbose
=
False
,
load_state_dict_to
=
load_state_dict_to
)
model
=
load_model_weights
(
model
,
sd
,
verbose
=
False
,
load_state_dict_to
=
load_state_dict_to
)
return
(
ModelPatcher
(
model
),
clip
,
vae
,
clipvision
)
return
(
ModelPatcher
(
model
),
clip
,
vae
,
clipvision
)
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