Update api/ltx_server.py
Browse files- api/ltx_server.py +4 -4
api/ltx_server.py
CHANGED
|
@@ -544,11 +544,11 @@ class VideoService:
|
|
| 544 |
output_video_path = os.path.join(temp_dir, f"output_{used_seed}.mp4")
|
| 545 |
final_output_path = None
|
| 546 |
|
| 547 |
-
vae_manager_singleton.
|
| 548 |
-
self.
|
| 549 |
-
|
| 550 |
-
autocast_dtype=self.runtime_autocast_dtype
|
| 551 |
)
|
|
|
|
| 552 |
|
| 553 |
|
| 554 |
print("[DEBUG] Decodificando bloco de latentes com VAE → tensor de pixels...")
|
|
|
|
| 544 |
output_video_path = os.path.join(temp_dir, f"output_{used_seed}.mp4")
|
| 545 |
final_output_path = None
|
| 546 |
|
| 547 |
+
pixel_tensor = vae_manager_singleton.decode(
|
| 548 |
+
latents.to(self.device, non_blocking=True),
|
| 549 |
+
decode_timestep=float(self.config.get("decode_timestep", 0.05))
|
|
|
|
| 550 |
)
|
| 551 |
+
|
| 552 |
|
| 553 |
|
| 554 |
print("[DEBUG] Decodificando bloco de latentes com VAE → tensor de pixels...")
|