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
79040635
"tests/vscode:/vscode.git/clone" did not exist on "c73e609aae8052c89d5b3e4c26be3a6c68481ecd"
Commit
79040635
authored
Jul 30, 2024
by
comfyanonymous
Browse files
Remove unnecessary code.
parent
66d35c07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy/ldm/modules/diffusionmodules/openaimodel.py
comfy/ldm/modules/diffusionmodules/openaimodel.py
+1
-1
No files found.
comfy/ldm/modules/diffusionmodules/openaimodel.py
View file @
79040635
...
@@ -809,7 +809,7 @@ class UNetModel(nn.Module):
...
@@ -809,7 +809,7 @@ class UNetModel(nn.Module):
self
.
out
=
nn
.
Sequential
(
self
.
out
=
nn
.
Sequential
(
operations
.
GroupNorm
(
32
,
ch
,
dtype
=
self
.
dtype
,
device
=
device
),
operations
.
GroupNorm
(
32
,
ch
,
dtype
=
self
.
dtype
,
device
=
device
),
nn
.
SiLU
(),
nn
.
SiLU
(),
zero_module
(
operations
.
conv_nd
(
dims
,
model_channels
,
out_channels
,
3
,
padding
=
1
,
dtype
=
self
.
dtype
,
device
=
device
)
)
,
operations
.
conv_nd
(
dims
,
model_channels
,
out_channels
,
3
,
padding
=
1
,
dtype
=
self
.
dtype
,
device
=
device
),
)
)
if
self
.
predict_codebook_ids
:
if
self
.
predict_codebook_ids
:
self
.
id_predictor
=
nn
.
Sequential
(
self
.
id_predictor
=
nn
.
Sequential
(
...
...
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