+
    œ°³jÞ  ã                   ó  € R t ^ RIHt ^RIHt ^RIHt ^RIHtH	t	 ]	P                  ! ]4      t]! RR7      ] ! R R]4      4       4       t]! RR7      ] ! R	 R
]4      4       4       t]! RR7      ] ! R R]4      4       4       t. ROtR# )zDia model configuration)Ústrict)ÚPreTrainedConfig)ÚRopeParameters)Úauto_docstringÚloggingznari-labs/Dia-1.6B)Ú
checkpointc                   ó`   a € ] tR t^t o RtRt^tRt^t^t	^€t
RtRtRtRtRtRtV 3R	 ltR
tV tR# )ÚDiaEncoderConfigÚdia_encoderé   i   çñhãˆµøä>é   ÚsiluNç{®Gáz”?c                ó¸   <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[;R&   S[ ;R	&   S[;R
&   S[R,          ;R&   S[;R&   # )é   Úmax_position_embeddingsÚnum_hidden_layersÚhidden_sizeÚnum_attention_headsÚnum_key_value_headsÚhead_dimÚintermediate_sizeÚnorm_epsÚ
vocab_sizeÚ
hidden_actNÚrope_parametersÚinitializer_range)ÚintÚfloatÚstrÚdict)ÚformatÚ__classdict__s   "€Új/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/dia/configuration_dia.pyÚ__annotate__ÚDiaEncoderConfig.__annotate__   s¥   ø‡ ‚ ñ
 !Ñ'ñ ñ Ññ ñ Ññ ñ Ñ!ñ ñ Ñ!ñ ñ Ññ ñ Ñ!ñ ñ Ññ ñ Ññ ñ Ññ ñ ˜D•[Ñ'ñ ñ  Ñ#ò! ó    © )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú
model_typer   r   r   r   r   r   r   r   r   r   r   r   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__©r#   s   @r$   r	   r	      sU   ø‡ € ð €Jà#'ÐØÐØ€KØ!ÐØ!ÐØ€HØ!ÐØ€HØ€JØ€JØ#'€OØ#Ð÷! ƒ r'   r	   c                   óŒ   a € ] tR t^-t o RtRtRt^tRtRt	^t
^t^€t^t^€t^tRtRtRtR	t^	tR
tRtRtRtRtRtRtV 3R ltRtV tR
# )ÚDiaDecoderConfiga  
cross_num_attention_heads (`int`, *optional*, defaults to 16):
    Number of attention heads for each cross-attention layer in the Transformer decoder.
cross_head_dim (`int`, *optional*, defaults to 128):
    Dimensionality of the cross-attention head.
cross_num_key_value_heads (`int`, *optional*, defaults to 16):
    Number of key and value heads for each cross-attention layer in the Transformer decoder.
cross_hidden_size (`int`, *optional*, defaults to 1024):
    Dimensionality of the cross-attention layers.
Údia_decoderi   i   i    r   r   i  r   Nr   Ti  i  c                óŠ  <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R	&   S[ ;R
&   S[ ;R&   S[;R&   S[ ;R&   S[;R&   S[ ;R&   S[S[,          R,          ;R&   S[;R&   S[;R&   S[;R&   S[ R,          ;R&   S[ S[S[ ,          ,          R,          ;R&   S[ R,          ;R&   # )r   r   r   r   r   r   r   r   Úcross_num_attention_headsÚcross_head_dimÚcross_num_key_value_headsÚcross_hidden_sizer   r   r   Únum_channelsNr   r   Ú	use_cacheÚis_encoder_decoderÚpad_token_idÚeos_token_idÚbos_token_id)r   r   r    r   r!   ÚboolÚlist)r"   r#   s   "€r$   r%   ÚDiaDecoderConfig.__annotate__-   sN  ø‡ ‚ ñ  !Ñ'ñ! ñ" Ññ# ñ$ Ññ% ñ& Ñ!ñ' ñ( Ñ!ñ) ñ* Ñ ñ+ ñ, Ññ- ñ.  #Ñ'ñ/ ñ0 Ññ1 ñ2  #Ñ'ñ3 ñ4 Ñ!ñ5 ñ6 Ññ7 ñ8 Ññ9 ñ: Ññ; ñ< Ññ= ñ> $¡dÕ*¨TÕ1Ñ8ñ? ñ@ Ñ#ñA ñB ÑñC ñD Ñ#ñE ñF ˜•*Ñ#ñG ñH ™™S�	•/ DÕ(Ñ/ñI ñJ ˜•*Ñ#òK r'   r(   )r)   r*   r+   r,   Ú__doc__r-   r   r   r   r   r   r   r   r6   r7   r8   r9   r   r   r   r:   r   r   r;   r<   r=   r>   r?   r.   r/   r0   r1   s   @r$   r3   r3   -   s‘   ø‡ € ñ	ð €Jà#'ÐØÐØ€KØ!ÐØ!ÐØ ÐØ€HØ%'ÐØ€NØ%'ÐØ!ÐØ€HØ€JØ€JØ€LØ48€OØ#ÐØ€IØ#ÐØ#€LØ+/€LØ#€L÷K ƒ r'   r3   c                   óŒ   a a€ ] tR t^Ut oRtRtR.tR]R]/t	Rt
RtRtRtRtRtRtRtR	tRtV 3R
 ltR tR tV3R ltRtVtV ;t# )Ú	DiaConfiga  
delay_pattern (`list[int]`, *optional*, defaults to `[0, 8, 9, 10, 11, 12, 13, 14, 15]`):
    The delay pattern for the decoder. The length of this list must match `decoder_config.num_channels`.

Example:

```python
>>> from transformers import DiaConfig, DiaModel

>>> # Initializing a DiaConfig with default values
>>> configuration = DiaConfig()

>>> # Initializing a DiaModel (with random weights) from the configuration
>>> model = DiaModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```
ÚdiaÚpast_key_valuesÚencoder_configÚdecoder_configNr   Tr   c                ón  <€ \        V P                  \        4      '       d   \        R/ V P                  B V n        \        V P                  \        4      '       d   \        R/ V P                  B V n        V P                  e   V P                  M	\        4       V n        V P                  e   V P                  M	\        4       V n        V P                  e   V P                  M. ROV n        V P                  e1   \        P                  R4       V P                  V P                  n        V P                  e1   \        P                  R4       V P                  V P                  n
        V P                  e1   \        P                  R4       V P                  V P                  n        \        SV `4  ! R/ VB  R # )NzjPassing `pad_token_id` to `DiaConfig` is deprecated. Please set it directly on `DiaDecoderConfig` instead.zjPassing `eos_token_id` to `DiaConfig` is deprecated. Please set it directly on `DiaDecoderConfig` instead.zjPassing `bos_token_id` to `DiaConfig` is deprecated. Please set it directly on `DiaDecoderConfig` instead.r(   )	é    é   é	   é
   é   é   é   é   é   )Ú
isinstancerH   r!   r	   rI   r3   Údelay_patternr=   ÚloggerÚwarning_oncer>   r?   ÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s   &,€r$   rY   ÚDiaConfig.__post_init__{   sf  ø€ Ü�d×)Ñ)¬4×0Ò0Ü"2Ñ"I°T×5HÑ5HÑ"IˆDÔÜ�d×)Ñ)¬4×0Ò0Ü"2Ñ"I°T×5HÑ5HÑ"IˆDÔà59×5HÑ5HÒ5T˜d×1Ò1ÔZjÓZlˆÔØ59×5HÑ5HÒ5T˜d×1Ò1ÔZjÓZlˆÔà"&×"4Ñ"4Ò"@ˆD×ÒÒFgð 	Ôð
 ×ÑÒ(Ü×ÑðHôð 04×/@Ñ/@ˆD×ÑÔ,à×ÑÒ(Ü×ÑðHôð 04×/@Ñ/@ˆD×ÑÔ,à×ÑÒ(Ü×ÑðHôð 04×/@Ñ/@ˆD×ÑÔ,ä‰ÒÑ' Ô'r'   c                óx   € V P                   P                  \        V P                  4      8w  d   \	        R4      hR# )zOPart of `@strict`-powered validation. Validates the architecture of the config.z3Number of channels must match delay pattern length.N)rI   r:   ÚlenrU   Ú
ValueError)rZ   s   &r$   Úvalidate_architectureÚDiaConfig.validate_architectureŸ   s3   € à×Ñ×+Ñ+¬s°4×3EÑ3EÓ/FÔFÜÐRÓSÐSñ Gr'   c                ó   € V P                   # )z^Defaulting to audio config as it's the decoder in this case which is usually the text backbone)rI   )rZ   Úargsr[   s   &*,r$   Úget_text_configÚDiaConfig.get_text_config¤   s   € à×"Ñ"Ð"r'   c                ó6  <€ V ^8„  d   Qh/ S[ S[,          R,          ;R&   S[S[,          R,          ;R&   S[;R&   S[;R&   S[R,          ;R&   S[S[S[,          ,          R,          ;R&   S[R,          ;R&   S[S[,          R,          ;R	&   S[;R
&   S[;R&   # )r   NrH   rI   r   r<   r=   r>   r?   rU   r   r;   )r	   r!   r3   r   r@   r   rA   )r"   r#   s   "€r$   r%   ÚDiaConfig.__annotate__U   sÃ   ø‡ ‚ ñ6 %¡tÕ+¨dÕ2Ñ9ñ7 ñ8 %¡tÕ+¨dÕ2Ñ9ñ9 ñ: Ññ; ñ< Ñ#ñ= ñ> ˜•*Ñ#ñ? ñ@ ™™S�	•/ DÕ(Ñ/ñA ñB ˜•*Ñ#ñC ñD ™•9˜tÕ#Ñ*ñE ñF Ñ#ñG ñH ÑòI r'   )rI   rU   rH   )r)   r*   r+   r,   rC   r-   Úkeys_to_ignore_at_inferencer	   r3   Úsub_configsrH   rI   r   r<   r=   r>   r?   rU   r   r;   rY   ra   re   r.   r/   r0   Ú__classcell__)r\   r#   s   @@r$   rE   rE   U   sx   ù‡ € ñð( €JØ#4Ð"5ÐØ#Ð%5Ð7GÐIYÐZ€Kà59€NØ59€NØ€HØ#ÐØ#€LØ+/€LØ#€LØ&*€MØ#ÐØ€Iõ"(òHTò
#÷_ … r'   rE   N)rE   r	   r3   )rC   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úmodeling_rope_utilsr   Úutilsr   r   Ú
get_loggerr)   rV   r	   r3   rE   Ú__all__r(   r'   r$   Ú<module>rr      s³   ðñ å .å 3Ý 1ß ,ð 
×	Ò	˜HÓ	%€ñ Ð/Ô0Øô$Ð'ó $ó ó 1ð$ñ" Ð/Ô0Øô#$Ð'ó #$ó ó 1ð#$ñL Ð/Ô0ØôO#Ð ó O#ó ó 1ðO#òd @‚r'   