mirror of
https://github.com/vladmandic/automatic
synced 2026-08-31 09:31:00 +02:00
3368ce95f7
Qwen-Image: diffusers registers a no-op identity lambda for QwenImageTransformer2DModel; from_single_file silently accepted any key naming and loaded with mismatches. QWEN_SPEC sets converter=None to short-circuit the no-op. Custom transformer classes (Lens, Step1X-Edit, VIBE Sana, f-lite): runtime-registered onto diffusers, never in SINGLE_FILE_LOADABLE_CLASSES. Specs land in each arch's existing pipelines/<arch>/__init__.py. NextStep skipped: loader returns None up front.
10 lines
298 B
Python
10 lines
298 B
Python
from pipelines.native_transformer import TransformerSpec
|
|
from .pipeline import FLitePipeline, FLitePipelineOutput, APGConfig
|
|
from .model import DiT
|
|
|
|
|
|
FLITE_SPEC = TransformerSpec(cls=DiT, subfolder='dit_model')
|
|
|
|
|
|
__all__ = ["APGConfig", "DiT", "FLITE_SPEC", "FLitePipeline", "FLitePipelineOutput"]
|