2026-07-22 13:11:53 -04:00
|
|
|
from pathlib import Path
|
2026-07-09 09:03:51 -06:00
|
|
|
|
2026-07-22 13:11:53 -04:00
|
|
|
from tests.helpers.tiny_model import build_tiny_from_configs
|
2026-07-09 09:03:51 -06:00
|
|
|
|
2026-07-22 13:11:53 -04:00
|
|
|
TINY_CONFIGS_DIR = Path(__file__).parent / "tiny_configs"
|
2026-07-09 09:03:51 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def tiny_flux2_klein_builder() -> str:
|
2026-07-22 13:11:53 -04:00
|
|
|
"""Build a tiny Flux2Klein model from vendored configs."""
|
|
|
|
|
return build_tiny_from_configs(
|
|
|
|
|
"Flux2KleinPipeline", "black-forest-labs/FLUX.2-klein-4B", TINY_CONFIGS_DIR / "Flux2KleinPipeline"
|
2026-07-09 09:03:51 -06:00
|
|
|
)
|
2026-07-22 13:11:53 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def tiny_ltx2_builder() -> str:
|
|
|
|
|
"""Build a tiny LTX2 model from vendored configs."""
|
|
|
|
|
return build_tiny_from_configs("LTX2Pipeline", "Lightricks/LTX-2", TINY_CONFIGS_DIR / "LTX2Pipeline")
|