cleanup
This commit is contained in:
@@ -166,13 +166,6 @@ def get_pipeline_config_cls_from_name(
|
||||
|
||||
pipeline_config_cls: type[PipelineConfig] | None = None
|
||||
|
||||
# Temporary local mapping for LTX-2 diffusers-style exports.
|
||||
if os.path.exists(pipeline_name_or_path):
|
||||
norm_path = os.path.normpath(pipeline_name_or_path)
|
||||
path_parts = norm_path.split(os.sep)
|
||||
if "ltx2_diffusers" in path_parts:
|
||||
return LTX2T2VConfig
|
||||
|
||||
# First try exact match for specific weights
|
||||
if pipeline_name_or_path in PIPE_NAME_TO_CONFIG:
|
||||
pipeline_config_cls = PIPE_NAME_TO_CONFIG[pipeline_name_or_path]
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
"""
|
||||
Native LTX-2 Audio VAE and Vocoder implementation for FastVideo.
|
||||
This is a standalone implementation that does not depend on ltx_core.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
"""
|
||||
Native LTX-2 transformer implementation (video-only).
|
||||
LTX-2 transformer implementation
|
||||
"""
|
||||
|
||||
from dataclasses import dataclass, replace
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
"""
|
||||
LTX-2 Video VAE implementation for FastVideo.
|
||||
LTX-2 Video VAE implementation
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
"""
|
||||
LTX-2 pipelines for FastVideo.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user