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
renzhc
diffusers_dcu
Commits
6414d4e4
Unverified
Commit
6414d4e4
authored
Dec 27, 2023
by
Dhruv Nair
Committed by
GitHub
Dec 27, 2023
Browse files
Fix chunking in SVD (#6350)
fix
parent
43672b4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/attention.py
src/diffusers/models/attention.py
+1
-1
No files found.
src/diffusers/models/attention.py
View file @
6414d4e4
...
...
@@ -498,7 +498,7 @@ class TemporalBasicTransformerBlock(nn.Module):
hidden_states
=
self
.
norm_in
(
hidden_states
)
if
self
.
_chunk_size
is
not
None
:
hidden_states
=
_chunked_feed_forward
(
self
.
ff
,
hidden_states
,
self
.
_chunk_dim
,
self
.
_chunk_size
)
hidden_states
=
_chunked_feed_forward
(
self
.
ff
_in
,
hidden_states
,
self
.
_chunk_dim
,
self
.
_chunk_size
)
else
:
hidden_states
=
self
.
ff_in
(
hidden_states
)
...
...
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