Update api/ltx_server.py
Browse files- api/ltx_server.py +1 -3
api/ltx_server.py
CHANGED
|
@@ -424,7 +424,7 @@ class VideoService:
|
|
| 424 |
print("[DEBUG] Upsampler pronto.")
|
| 425 |
|
| 426 |
print(f"[DEBUG] _load_models() tempo total={time.perf_counter()-t0:.3f}s")
|
| 427 |
-
return pipeline, latent_upsampler
|
| 428 |
|
| 429 |
|
| 430 |
def _load_models_old(self):
|
|
@@ -497,8 +497,6 @@ class VideoService:
|
|
| 497 |
pass
|
| 498 |
print(f"[DEBUG] FP8→BF16: params_promoted={p_cnt}, buffers_promoted={b_cnt}")
|
| 499 |
|
| 500 |
-
|
| 501 |
-
|
| 502 |
@torch.no_grad()
|
| 503 |
def _upsample_latents_internal(self, latents: torch.Tensor) -> torch.Tensor:
|
| 504 |
"""
|
|
|
|
| 424 |
print("[DEBUG] Upsampler pronto.")
|
| 425 |
|
| 426 |
print(f"[DEBUG] _load_models() tempo total={time.perf_counter()-t0:.3f}s")
|
| 427 |
+
return pipeline, latent_upsampler
|
| 428 |
|
| 429 |
|
| 430 |
def _load_models_old(self):
|
|
|
|
| 497 |
pass
|
| 498 |
print(f"[DEBUG] FP8→BF16: params_promoted={p_cnt}, buffers_promoted={b_cnt}")
|
| 499 |
|
|
|
|
|
|
|
| 500 |
@torch.no_grad()
|
| 501 |
def _upsample_latents_internal(self, latents: torch.Tensor) -> torch.Tensor:
|
| 502 |
"""
|