o
    Gi<                     @   s  d dl mZ ddlmZmZmZmZmZmZ i Z	i Z
ze r!e s$e W n ey;   ddlmZ e	ee Y nw dge
d< dge
d< d	ge
d
< dge
d< g de
d< esZerze rae sde W n eys   ddlT Y dS w ddlmZ ddlmZ ddlmZ ddlmZ ddlmZmZmZmZ dS d dlZeee d e
edeje< e	  D ]\Z!Z"e#eje e!e" qdS )    )TYPE_CHECKING   )DIFFUSERS_SLOW_IMPORTOptionalDependencyNotAvailable_LazyModuleget_objects_from_moduleis_torch_availableis_transformers_available)$dummy_torch_and_transformers_objects	WanBlocksmodular_blocks_wanWan22Blocksmodular_blocks_wan22Wan22Image2VideoBlocksmodular_blocks_wan22_i2vWanImage2VideoAutoBlocksmodular_blocks_wan_i2v)Wan22Image2VideoModularPipelineWan22ModularPipelineWanImage2VideoModularPipelineWanModularPipelinemodular_pipeline)*   )r   )r   )r   )r   N__file__)module_spec)$typingr   utilsr   r   r   r   r   r	   _dummy_objects_import_structurer
   update*utils.dummy_torch_and_transformers_objectsr   r   r   r   r   r   r   r   r   r   r   r   r   sys__name__globals__spec__modulesitemsnamevaluesetattr r+   r+   \/home/ubuntu/.local/lib/python3.10/site-packages/diffusers/modular_pipelines/wan/__init__.py<module>   sP     




