Eueuiaa commited on
Commit
3a5c13f
·
verified ·
1 Parent(s): 23bb57f

Update api/ltx_server.py

Browse files
Files changed (1) hide show
  1. api/ltx_server.py +2 -3
api/ltx_server.py CHANGED
@@ -269,6 +269,7 @@ class VideoService:
269
  self.last_memory_reserved_mb = 0.0
270
  self._tmp_dirs = set(); self._tmp_files = set(); self._last_outputs = []
271
 
 
272
  self.pipeline, self.latent_upsampler = self._load_models()
273
  print(f"[DEBUG] Pipeline e Upsampler carregados. Upsampler ativo? {bool(self.latent_upsampler)}")
274
 
@@ -358,9 +359,7 @@ class VideoService:
358
  logger.info("LTX POOL MANAGER: Todas as instâncias da pipeline foram corrigidas com sucesso.")
359
 
360
 
361
- self._apply_ltx_pipeline_patches()
362
-
363
-
364
 
365
 
366
  def _log_gpu_memory(self, stage_name: str):
 
269
  self.last_memory_reserved_mb = 0.0
270
  self._tmp_dirs = set(); self._tmp_files = set(); self._last_outputs = []
271
 
272
+ self._apply_ltx_pipeline_patches()
273
  self.pipeline, self.latent_upsampler = self._load_models()
274
  print(f"[DEBUG] Pipeline e Upsampler carregados. Upsampler ativo? {bool(self.latent_upsampler)}")
275
 
 
359
  logger.info("LTX POOL MANAGER: Todas as instâncias da pipeline foram corrigidas com sucesso.")
360
 
361
 
362
+
 
 
363
 
364
 
365
  def _log_gpu_memory(self, stage_name: str):