Spaces:
Paused
Paused
Update api/ltx/vae_aduc_pipeline.py
Browse files
api/ltx/vae_aduc_pipeline.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# FILE: api/vae_aduc_pipeline.py
|
| 2 |
# DESCRIPTION: A dedicated, "hot" VAE service specialist.
|
| 3 |
# It loads the VAE model onto a dedicated GPU and keeps it in memory
|
| 4 |
# to handle all encoding and decoding requests with minimal latency.
|
|
@@ -14,7 +14,7 @@ import torch
|
|
| 14 |
import numpy as np
|
| 15 |
from PIL import Image
|
| 16 |
|
| 17 |
-
from api.ltx.
|
| 18 |
from managers.gpu_manager import gpu_manager
|
| 19 |
|
| 20 |
|
|
@@ -159,4 +159,4 @@ try:
|
|
| 159 |
vae_ltx_aduc_pipeline = VaeLtxAducPipeline()
|
| 160 |
except Exception as e:
|
| 161 |
logging.critical("CRITICAL: Failed to initialize VaeServer singleton.", exc_info=True)
|
| 162 |
-
|
|
|
|
| 1 |
+
# FILE: api/ltx/vae_aduc_pipeline.py
|
| 2 |
# DESCRIPTION: A dedicated, "hot" VAE service specialist.
|
| 3 |
# It loads the VAE model onto a dedicated GPU and keeps it in memory
|
| 4 |
# to handle all encoding and decoding requests with minimal latency.
|
|
|
|
| 14 |
import numpy as np
|
| 15 |
from PIL import Image
|
| 16 |
|
| 17 |
+
from api.ltx.ltx_aduc_manager import LatentConditioningItem
|
| 18 |
from managers.gpu_manager import gpu_manager
|
| 19 |
|
| 20 |
|
|
|
|
| 159 |
vae_ltx_aduc_pipeline = VaeLtxAducPipeline()
|
| 160 |
except Exception as e:
|
| 161 |
logging.critical("CRITICAL: Failed to initialize VaeServer singleton.", exc_info=True)
|
| 162 |
+
vae_ltx_aduc_pipeline = None
|