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
7f323f0f
Unverified
Commit
7f323f0f
authored
Oct 03, 2024
by
Xiangchendong
Committed by
GitHub
Oct 02, 2024
Browse files
fix cogvideox autoencoder decode (#9569)
Co-authored-by:
Aryan
<
aryan@huggingface.co
>
parent
61d37640
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py
...diffusers/models/autoencoders/autoencoder_kl_cogvideox.py
+1
-1
No files found.
src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py
View file @
7f323f0f
...
...
@@ -1234,7 +1234,7 @@ class AutoencoderKLCogVideoX(ModelMixin, ConfigMixin, FromOriginalModelMixin):
return
self
.
tiled_decode
(
z
,
return_dict
=
return_dict
)
frame_batch_size
=
self
.
num_latent_frames_batch_size
num_batches
=
num_frames
//
frame_batch_size
num_batches
=
max
(
num_frames
//
frame_batch_size
,
1
)
conv_cache
=
None
dec
=
[]
...
...
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