Carlexxx
commited on
Commit
·
e9c605b
1
Parent(s):
a957837
feat: Implement self-contained specialist managers
Browse files
aduc_framework/managers/ltx_pipeline_utils.py
CHANGED
|
@@ -23,20 +23,20 @@ from transformers import (
|
|
| 23 |
)
|
| 24 |
from huggingface_hub import hf_hub_download
|
| 25 |
|
| 26 |
-
from
|
| 27 |
CausalVideoAutoencoder,
|
| 28 |
)
|
| 29 |
-
from
|
| 30 |
-
from
|
| 31 |
-
from
|
| 32 |
ConditioningItem,
|
| 33 |
LTXVideoPipeline,
|
| 34 |
LTXMultiScalePipeline,
|
| 35 |
)
|
| 36 |
-
from
|
| 37 |
-
from
|
| 38 |
-
from
|
| 39 |
-
import
|
| 40 |
|
| 41 |
MAX_HEIGHT = 720
|
| 42 |
MAX_WIDTH = 1280
|
|
|
|
| 23 |
)
|
| 24 |
from huggingface_hub import hf_hub_download
|
| 25 |
|
| 26 |
+
from ltx_video.models.autoencoders.causal_video_autoencoder import (
|
| 27 |
CausalVideoAutoencoder,
|
| 28 |
)
|
| 29 |
+
from ltx_video.models.transformers.symmetric_patchifier import SymmetricPatchifier
|
| 30 |
+
from ltx_video.models.transformers.transformer3d import Transformer3DModel
|
| 31 |
+
from ltx_video.pipelines.pipeline_ltx_video import (
|
| 32 |
ConditioningItem,
|
| 33 |
LTXVideoPipeline,
|
| 34 |
LTXMultiScalePipeline,
|
| 35 |
)
|
| 36 |
+
from ltx_video.schedulers.rf import RectifiedFlowScheduler
|
| 37 |
+
from ltx_video.utils.skip_layer_strategy import SkipLayerStrategy
|
| 38 |
+
from ltx_video.models.autoencoders.latent_upsampler import LatentUpsampler
|
| 39 |
+
import ltx_video.pipelines.crf_compressor as crf_compressor
|
| 40 |
|
| 41 |
MAX_HEIGHT = 720
|
| 42 |
MAX_WIDTH = 1280
|
aduc_framework/managers/vae_manager.py
CHANGED
|
@@ -29,7 +29,7 @@ from typing import Generator
|
|
| 29 |
|
| 30 |
# Import the source of the VAE model and the low-level functions
|
| 31 |
from ..managers.ltx_manager import ltx_manager_singleton
|
| 32 |
-
from
|
| 33 |
|
| 34 |
logger = logging.getLogger(__name__)
|
| 35 |
|
|
|
|
| 29 |
|
| 30 |
# Import the source of the VAE model and the low-level functions
|
| 31 |
from ..managers.ltx_manager import ltx_manager_singleton
|
| 32 |
+
from ltx_video.models.autoencoders.vae_encode import vae_encode, vae_decode
|
| 33 |
|
| 34 |
logger = logging.getLogger(__name__)
|
| 35 |
|