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
42fd67b5
"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "11741ea7f03fc2559c8107bcefa587e8d9d68da3"
Commit
42fd67b5
authored
Apr 06, 2023
by
sALTaccount
Browse files
use precision determined by model management
parent
3d16077e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nodes.py
nodes.py
+1
-1
No files found.
nodes.py
View file @
42fd67b5
...
...
@@ -235,7 +235,7 @@ class DiffusersLoader:
def
load_checkpoint
(
self
,
model_path
,
output_vae
=
True
,
output_clip
=
True
):
model_path
=
os
.
path
.
join
(
folder_paths
.
models_dir
,
'diffusers'
,
model_path
)
return
load_diffusers
(
model_path
,
fp16
=
True
,
output_vae
=
output_vae
,
output_clip
=
output_clip
,
embedding_directory
=
folder_paths
.
get_folder_paths
(
"embeddings"
))
return
load_diffusers
(
model_path
,
fp16
=
model_management
.
should_use_fp16
()
,
output_vae
=
output_vae
,
output_clip
=
output_clip
,
embedding_directory
=
folder_paths
.
get_folder_paths
(
"embeddings"
))
class
unCLIPCheckpointLoader
:
...
...
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