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
3c0a0129
Unverified
Commit
3c0a0129
authored
May 09, 2025
by
James Xu
Committed by
GitHub
May 09, 2025
Browse files
[LTXPipeline] Update latents dtype to match VAE dtype (#11533)
fix: update latents dtype to match vae
parent
2d380895
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/diffusers/pipelines/ltx/pipeline_ltx.py
src/diffusers/pipelines/ltx/pipeline_ltx.py
+1
-0
No files found.
src/diffusers/pipelines/ltx/pipeline_ltx.py
View file @
3c0a0129
...
@@ -789,6 +789,7 @@ class LTXPipeline(DiffusionPipeline, FromSingleFileMixin, LTXVideoLoraLoaderMixi
...
@@ -789,6 +789,7 @@ class LTXPipeline(DiffusionPipeline, FromSingleFileMixin, LTXVideoLoraLoaderMixi
]
]
latents
=
(
1
-
decode_noise_scale
)
*
latents
+
decode_noise_scale
*
noise
latents
=
(
1
-
decode_noise_scale
)
*
latents
+
decode_noise_scale
*
noise
latents
=
latents
.
to
(
self
.
vae
.
dtype
)
video
=
self
.
vae
.
decode
(
latents
,
timestep
,
return_dict
=
False
)[
0
]
video
=
self
.
vae
.
decode
(
latents
,
timestep
,
return_dict
=
False
)[
0
]
video
=
self
.
video_processor
.
postprocess_video
(
video
,
output_type
=
output_type
)
video
=
self
.
video_processor
.
postprocess_video
(
video
,
output_type
=
output_type
)
...
...
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