Update api/ltx_server.py
Browse files- api/ltx_server.py +3 -3
api/ltx_server.py
CHANGED
|
@@ -579,7 +579,7 @@ class VideoService:
|
|
| 579 |
i=0
|
| 580 |
while i < n_chunks:
|
| 581 |
if i>0:
|
| 582 |
-
dow=
|
| 583 |
else:
|
| 584 |
dow=0
|
| 585 |
start = (num_latente_por_chunk*i)
|
|
@@ -872,7 +872,7 @@ class VideoService:
|
|
| 872 |
except Exception:
|
| 873 |
pass
|
| 874 |
|
| 875 |
-
latents_parts_up = self._dividir_latentes_por_tamanho(latents_cpu_up,40,
|
| 876 |
|
| 877 |
print("\n\n--- INICIANDO ETAPA 3: REFINAMENTO DE TEXTURA (SECOND PASS) ---")
|
| 878 |
|
|
@@ -967,7 +967,7 @@ class VideoService:
|
|
| 967 |
except Exception:
|
| 968 |
pass
|
| 969 |
|
| 970 |
-
latents_parts_vae = self._dividir_latentes_por_tamanho(latents_cpu_vae,4,
|
| 971 |
|
| 972 |
for latents in latents_parts_vae:
|
| 973 |
print(f"[DEBUG] Partição {par}: {tuple(latents.shape)}")
|
|
|
|
| 579 |
i=0
|
| 580 |
while i < n_chunks:
|
| 581 |
if i>0:
|
| 582 |
+
dow=0
|
| 583 |
else:
|
| 584 |
dow=0
|
| 585 |
start = (num_latente_por_chunk*i)
|
|
|
|
| 872 |
except Exception:
|
| 873 |
pass
|
| 874 |
|
| 875 |
+
latents_parts_up = self._dividir_latentes_por_tamanho(latents_cpu_up,40,0)
|
| 876 |
|
| 877 |
print("\n\n--- INICIANDO ETAPA 3: REFINAMENTO DE TEXTURA (SECOND PASS) ---")
|
| 878 |
|
|
|
|
| 967 |
except Exception:
|
| 968 |
pass
|
| 969 |
|
| 970 |
+
latents_parts_vae = self._dividir_latentes_por_tamanho(latents_cpu_vae,4,0)
|
| 971 |
|
| 972 |
for latents in latents_parts_vae:
|
| 973 |
print(f"[DEBUG] Partição {par}: {tuple(latents.shape)}")
|