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
39e75862
Commit
39e75862
authored
Nov 26, 2023
by
comfyanonymous
Browse files
Fix regression from last commit.
parent
50dc39d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
comfy/ldm/modules/attention.py
comfy/ldm/modules/attention.py
+2
-2
No files found.
comfy/ldm/modules/attention.py
View file @
39e75862
...
@@ -428,8 +428,8 @@ class BasicTransformerBlock(nn.Module):
...
@@ -428,8 +428,8 @@ class BasicTransformerBlock(nn.Module):
def
_forward
(
self
,
x
,
context
=
None
,
transformer_options
=
{}):
def
_forward
(
self
,
x
,
context
=
None
,
transformer_options
=
{}):
extra_options
=
{}
extra_options
=
{}
block
=
None
block
=
transformer_options
.
get
(
"block"
,
None
)
block_index
=
0
block_index
=
transformer_options
.
get
(
"block_index"
,
0
)
transformer_patches
=
{}
transformer_patches
=
{}
transformer_patches_replace
=
{}
transformer_patches_replace
=
{}
...
...
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