__init__.py 408 Bytes
Newer Older
1
2
from typing import TYPE_CHECKING

3
from ...utils import DIFFUSERS_SLOW_IMPORT, _LazyModule
Dhruv Nair's avatar
Dhruv Nair committed
4
5


6
_import_structure = {"pipeline_dit": ["DiTPipeline"]}
Dhruv Nair's avatar
Dhruv Nair committed
7

8
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
9
    from .pipeline_dit import DiTPipeline
Dhruv Nair's avatar
Dhruv Nair committed
10

11
12
else:
    import sys
Dhruv Nair's avatar
Dhruv Nair committed
13

14
15
16
17
18
19
    sys.modules[__name__] = _LazyModule(
        __name__,
        globals()["__file__"],
        _import_structure,
        module_spec=__spec__,
    )