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
09f1d76e
"doc/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "9af6ab8f892b970bfe493098b50f461369012cf6"
Commit
09f1d76e
authored
Feb 17, 2023
by
comfyanonymous
Browse files
Fix an OOM issue.
parent
d66415c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
comfy/ldm/modules/diffusionmodules/openaimodel.py
comfy/ldm/modules/diffusionmodules/openaimodel.py
+1
-0
No files found.
comfy/ldm/modules/diffusionmodules/openaimodel.py
View file @
09f1d76e
...
...
@@ -786,6 +786,7 @@ class UNetModel(nn.Module):
if
control
is
not
None
:
hsp
+=
control
.
pop
()
h
=
th
.
cat
([
h
,
hsp
],
dim
=
1
)
del
hsp
h
=
module
(
h
,
emb
,
context
)
h
=
h
.
type
(
x
.
dtype
)
if
self
.
predict_codebook_ids
:
...
...
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