o
    پi                     @   sL   d dl mZmZ d dlmZmZ eG dd deZeG dd deZdS )    )	dataclassfield)VAEArchConfig	VAEConfigc                   @   s   e Zd ZU dZeed< dZeed< dZeed< dZe	e
df ed< d	Ze	e
df ed
< dZe	edf ed< dZeed< dZe
ed< dZeed< dZeed< dZeed< dZeed< dZeed< dd ZdS )HunyuanVAEArchConfig   in_channelsout_channels   latent_channels)HunyuanVideoDownBlock3Dr   r   r   .down_block_types)HunyuanVideoUpBlock3Dr   r   r   up_block_types)         r   block_out_channels   layers_per_blocksiluact_fn    norm_num_groupsg>I?scaling_factor   spatial_compression_ratio   temporal_compression_ratioTmid_block_add_attentionc                 C   s   dt | jd  | _d S )Nr      )lenr   r   )self r#   h/home/ubuntu/.local/lib/python3.10/site-packages/sglang/multimodal_gen/configs/models/vaes/hunyuanvae.py__post_init__#   s   z"HunyuanVAEArchConfig.__post_init__N)__name__
__module____qualname__r   int__annotations__r	   r   r   tuplestrr   r   r   r   r   r   floatr   r   r   boolr%   r#   r#   r#   r$   r   	   s   
 r   c                   @   s    e Zd ZU eedZeed< dS )HunyuanVAEConfig)default_factoryarch_configN)r&   r'   r(   r   r   r1   r   r*   r#   r#   r#   r$   r/   '   s   
 r/   N)dataclassesr   r   .sglang.multimodal_gen.configs.models.vaes.baser   r   r   r/   r#   r#   r#   r$   <module>   s   